/* ========================================
   Farmhouse 55 — Custom Styles
   Bold Editorial | Emerald + Cream
   ======================================== */

:root {
    --color-cream-50: #FDFBF7;
    --color-cream-100: #F8F5EE;
    --color-emerald-50: #ECFDF5;
    --color-emerald-100: #D1FAE5;
    --color-emerald-200: #A7F3D0;
    --color-emerald-400: #34D399;
    --color-emerald-700: #059669;
    --color-emerald-800: #065F46;
    --color-emerald-900: #064E3B;
    --color-emerald-950: #022C22;
    --color-stone-50: #FAFAF9;
    --color-stone-100: #F5F5F4;
    --color-stone-400: #A8A29E;
    --color-stone-500: #78716C;
    --color-stone-600: #57534E;
    --color-stone-900: #1C1917;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Outfit', system-ui, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-cream-50);
    color: var(--color-stone-900);
}

/* Typography */
.font-playfair {
    font-family: var(--font-serif);
}

.font-sans {
    font-family: var(--font-sans);
}

/* Navbar */
#navbar {
    background: rgba(253, 251, 247, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
}

#navbar.scrolled {
    box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
}

/* Hero */
.hero-gradient {
    background: linear-gradient(135deg, var(--color-cream-50) 0%, var(--color-emerald-50) 100%);
}

/* Cards */
.menu-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
}

/* Images */
img {
    will-change: transform;
}

/* Scroll animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .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; }
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-cream-50);
}

::-webkit-scrollbar-thumb {
    background: var(--color-emerald-200);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-emerald-400);
}

/* Selection */
::selection {
    background: var(--color-emerald-200);
    color: var(--color-emerald-950);
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-emerald-600);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    #navbar,
    #mobile-menu-btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
