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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fefdf8;
    color: #103716;
    overflow-x: hidden;
}

/* ===== GEOMETRIC BACKGROUND SHAPES ===== */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    background: #1e6b26;
    border-radius: 50%;
    top: 10%;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 250px;
    height: 250px;
    background: #e6c652;
    border-radius: 50%;
    bottom: 20%;
    left: -60px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid #1e6b26;
    top: 45%;
    right: 5%;
    opacity: 0.04;
    animation: rotate-slow 30s linear infinite;
}

.shape-square {
    width: 180px;
    height: 180px;
    background: #e6c652;
    top: 70%;
    left: 8%;
    opacity: 0.05;
    animation: rotate-slow 25s linear infinite reverse;
    border-radius: 20px;
}

.shape-circle-3 {
    width: 150px;
    height: 150px;
    background: #1e6b26;
    border-radius: 50%;
    top: 5%;
    left: 15%;
    opacity: 0.04;
    animation: float-slow 18s ease-in-out infinite;
}

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

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== HERO DECORATIVE ELEMENTS ===== */
.hero-deco {
    position: absolute;
    pointer-events: none;
}

.hero-circle-1 {
    width: 600px;
    height: 600px;
    border: 2px solid rgba(254, 253, 248, 0.05);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: rotate-slow 40s linear infinite;
}

.hero-circle-2 {
    width: 400px;
    height: 400px;
    border: 2px solid rgba(254, 253, 248, 0.08);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: rotate-slow 30s linear infinite reverse;
}

.hero-circle-3 {
    width: 200px;
    height: 200px;
    background: rgba(230, 198, 82, 0.08);
    border-radius: 50%;
    top: 30%;
    left: 10%;
    animation: float-slow 12s ease-in-out infinite;
}

.hero-stripe-1 {
    width: 300px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(254, 253, 248, 0.1), transparent);
    top: 25%;
    left: -50px;
    transform: rotate(-15deg);
    animation: float-slow 8s ease-in-out infinite;
}

.hero-stripe-2 {
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(79, 168, 78, 0.2), transparent);
    bottom: 30%;
    right: 5%;
    transform: rotate(10deg);
    animation: float-slow 10s ease-in-out infinite reverse;
}

.hero-float-1 {
    top: 20%;
    right: 8%;
    animation: float-slow 6s ease-in-out infinite;
}

.hero-float-2 {
    bottom: 25%;
    left: 5%;
    animation: float-slow 8s ease-in-out infinite reverse;
}

.hero-float-3 {
    top: 60%;
    right: 15%;
    animation: float-slow 7s ease-in-out infinite;
}

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

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(16, 55, 22, 0.08);
}

.nav-logo-text {
    transition: color 0.3s ease;
}

#navbar.scrolled .nav-logo-text {
    color: #103716;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e6c652;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== MOBILE MENU ===== */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-nav-link {
    position: relative;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #e6c652;
    transition: width 0.3s ease;
}

.mobile-nav-link:hover::after {
    width: 80%;
}

.menu-line {
    transition: all 0.3s ease;
}

#mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

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

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

/* 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;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .font-display.text-6xl,
    .font-display.text-7xl {
        font-size: 3.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .font-display.text-6xl,
    .font-display.text-7xl {
        font-size: 5rem;
    }
}
