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

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

body {
    margin: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f7f0;
}
::-webkit-scrollbar-thumb {
    background: #8dc48d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5fa85f;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== NAVBAR ===== */
#navbar {
    background: rgba(253, 252, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 110, 45, 0.08);
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(25, 56, 25, 0.08);
}

/* ===== MOBILE MENU ===== */
#mobileMenu {
    animation: fadeInUp 0.25s ease-out;
}

.mobile-link {
    border-radius: 0.75rem;
}

.mobile-link:hover {
    background-color: rgba(45, 110, 45, 0.06);
}

/* ===== HERO ===== */
#hero {
    min-height: 100vh;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

/* ===== SECTION HEADINGS ===== */
section h2 {
    letter-spacing: -0.02em;
}

/* ===== MENU CARDS ===== */
#menu .bg-white {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#menu .bg-white:hover {
    box-shadow: 0 8px 40px rgba(25, 56, 25, 0.1) !important;
    transform: translateY(-2px);
}

/* ===== REVIEW CARDS ===== */
#reviews .bg-white {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* ===== BUTTONS ===== */
a {
    text-decoration: none;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s 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; }

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