/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Nunito', system-ui, sans-serif; color: #1B4332; background: #fefcf8; -webkit-font-smoothing: antialiased; }

/* ===== NAVBAR ===== */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(254, 252, 248, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: box-shadow 0.3s ease;
}
.nav-fixed.scrolled { box-shadow: 0 4px 30px rgba(27, 67, 50, 0.1); }
.nav-link { transition: background 0.2s ease, color 0.2s ease; }
.nav-link:hover { background: rgba(27, 67, 50, 0.08); }

/* ===== MOBILE MENU ===== */
#mobile-menu.open { opacity: 1; pointer-events: all; }
#mobile-menu.closed { opacity: 0; pointer-events: none; }
.mobile-link { transition: background 0.2s ease; }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background: #1B4332;
}
.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(15, 38, 28, 0.88) 0%,
        rgba(27, 67, 50, 0.78) 50%,
        rgba(22, 54, 41, 0.85) 100%
    );
}
.hero-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.05) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(212,165,116,0.08) 0%, transparent 50%);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ===== CARDS ===== */
.card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 0;
    box-shadow: 0 4px 24px rgba(27, 67, 50, 0.06);
    border: 1px solid rgba(27, 67, 50, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27, 67, 50, 0.12);
}

/* ===== CONTACT CARDS ===== */
.contact-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 24px rgba(27, 67, 50, 0.06);
    border: 1px solid rgba(27, 67, 50, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(27, 67, 50, 0.1);
}

/* ===== ABOUT PATTERN ===== */
.about-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ===== CTA PATTERN ===== */
.cta-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.3' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
}

/* ===== REVEAL ANIMATIONS ===== */
/* Default: always visible (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal:nth-child(2) { transition-delay: 0.08s; }
    .reveal:nth-child(3) { transition-delay: 0.16s; }
    .reveal:nth-child(4) { transition-delay: 0.24s; }
    .reveal:nth-child(5) { transition-delay: 0.32s; }
    .reveal:nth-child(6) { transition-delay: 0.40s; }
}

/* ===== CUSTOM SELECT ARROW ===== */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231B4332' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    appearance: none;
}
