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

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

body {
    overflow-x: hidden;
}

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

.shape-circle-1 {
    top: 15%;
    left: 5%;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(20, 83, 45, 0.12);
    border-radius: 50%;
}

.shape-circle-2 {
    top: 60%;
    left: 12%;
    width: 60px;
    height: 60px;
    background: rgba(251, 191, 36, 0.2);
    border-radius: 50%;
}

.shape-circle-3 {
    top: 25%;
    right: 8%;
    width: 80px;
    height: 80px;
    border: 3px solid rgba(20, 83, 45, 0.08);
    border-radius: 50%;
}

.shape-square-1 {
    bottom: 20%;
    right: 15%;
    width: 50px;
    height: 50px;
    background: rgba(249, 112, 102, 0.15);
    border-radius: 12px;
    transform: rotate(45deg);
}

.shape-triangle-1 {
    top: 45%;
    left: 2%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(20, 83, 45, 0.08);
}

.shape-ring-1 {
    top: 70%;
    right: 5%;
    width: 100px;
    height: 100px;
    border: 4px solid rgba(251, 191, 36, 0.2);
    border-radius: 50%;
}

.shape-diamond-1 {
    top: 10%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transform: rotate(45deg);
}

.shape-dot-cluster {
    bottom: 15%;
    left: 5%;
    width: 120px;
    height: 120px;
}

.shape-dot-cluster::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.shape-dot-cluster::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

/* ========== SCROLL REVEAL ========== */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
    }

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

/* ========== SCROLL INDICATOR ========== */
@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.animate-scrollLine {
    animation: scrollLine 1.5s ease-in-out infinite;
}

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

/* ========== MOBILE MENU ========== */
.mobile-link {
    display: block;
}

/* ========== NAV ACTIVE STATE ========== */
.nav-link.active {
    color: #14532d;
    background: rgba(20, 83, 45, 0.06);
}

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

    html {
        scroll-behavior: auto;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}
