/* ===== CUSTOM STYLES ===== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Base font settings */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== NAVIGATION ===== */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 252, 249, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(45, 34, 24, 0.08);
}

/* ===== HERO GEOMETRIC SHAPES ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(196, 97, 58, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -80px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(207, 141, 44, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 120px;
    height: 120px;
    background: rgba(196, 97, 58, 0.06);
    border-radius: 50%;
    top: 40%;
    right: 5%;
    animation: float-medium 12s ease-in-out infinite;
}

.geo-square-1 {
    width: 80px;
    height: 80px;
    background: rgba(207, 141, 44, 0.08);
    border-radius: 20px;
    top: 25%;
    left: 48%;
    transform: rotate(45deg);
    animation: spin-slow 25s linear infinite;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(196, 97, 58, 0.06);
    top: 60%;
    left: 8%;
    animation: float-medium 18s ease-in-out infinite;
}

.geo-dots {
    background-image: radial-gradient(circle, rgba(196, 97, 58, 0.12) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    width: 160px;
    height: 160px;
    bottom: 10%;
    right: 15%;
    opacity: 0.6;
}

/* ===== FLOATING CARDS ===== */
.floating-card {
    animation-duration: 4s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.card-top-right {
    top: 5%;
    right: -10%;
    animation-name: float;
}

.card-bottom-left {
    bottom: 8%;
    left: -8%;
    animation-name: float-delayed;
}

.card-mid-right {
    top: 45%;
    right: -5%;
    animation-name: float-slow;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

/* ===== SERVICE CARDS ===== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(196, 97, 58, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

/* ===== APPROACH STEPS ===== */
.approach-step::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, #C4613A, #dfab4a);
    border-radius: 2px;
    margin: 0 auto;
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(45, 34, 24, 0.1);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* ===== SPIN ANIMATION ===== */
@keyframes spin-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

/* ===== MOBILE MENU ===== */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BUTTON HOVER EFFECTS ===== */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* ===== FORM FOCUS STYLES ===== */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }

    .geo-circle-2 {
        width: 120px;
        height: 120px;
    }

    .geo-square-1 {
        width: 50px;
        height: 50px;
    }

    .geo-triangle-1 {
        border-left: 25px solid transparent;
        border-right: 25px solid transparent;
        border-bottom: 44px solid rgba(196, 97, 58, 0.06);
    }

    .floating-card {
        display: none;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
