/* ========== BASE & RESET ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

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

.geo-circle-1 {
    top: 10%;
    left: -8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45, 106, 79, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.geo-circle-2 {
    top: 40%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.geo-square-1 {
    bottom: 15%;
    left: 5%;
    width: 120px;
    height: 120px;
    background: rgba(45, 106, 79, 0.05);
    border-radius: 24px;
    transform: rotate(45deg);
}

.geo-triangle-1 {
    top: 25%;
    right: 15%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(193, 105, 79, 0.07);
}

.geo-dots {
    top: 60%;
    left: 45%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(45, 106, 79, 0.12) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.6;
}

/* ========== SERVICE CARDS ========== */
.service-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* ========== AREA CARDS ========== */
.area-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 31, 25, 0.6) 0%, transparent 50%);
    border-radius: 24px;
    pointer-events: none;
}

.area-card:hover img {
    transform: scale(1.1);
}

/* ========== TESTIMONIAL CARDS ========== */
.testimonial-card {
    border: 1px solid rgba(45, 106, 79, 0.08);
}

/* ========== NAVBAR SCROLL STATE ========== */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(13, 31, 25, 0.08);
}

/* ========== MOBILE MENU TRANSITION ========== */
#mobile-menu {
    animation: slideDown 0.25s ease-out;
}

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

/* ========== 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; }
}

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

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

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

    .geo-triangle-1 {
        border-left-width: 40px;
        border-right-width: 40px;
        border-bottom-width: 69px;
    }
}
