/* ============================================
   EL FOGON GRILL — Editorial Restaurant Site
   ============================================ */

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

:root {
    --forest: #1B4332;
    --forest-deep: #0D1F17;
    --forest-mid: #2D6A4F;
    --forest-light: #40916C;
    --gold: #D4A84B;
    --gold-light: #E8C97A;
    --cream: #FAF7F0;
    --cream-dark: #F0EBE0;
    --warm-white: #FFFDF8;
    --charcoal: #1A1A1A;
    --text-dark: #1C1C1C;
    --text-mid: #3D3D3D;
    --text-light: #6B6B6B;
    --text-lighter: #999;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-serif-alt: 'Lora', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth), padding 0.4s var(--ease-smooth);
}

.site-header.scrolled {
    background: rgba(27, 67, 50, 0.97);
    box-shadow: 0 2px 40px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    padding-bottom: 24px;
    transition: padding 0.4s var(--ease-smooth);
}

.site-header.scrolled .header-inner {
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
}

.logo-icon {
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.main-nav a {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease-out);
}

.main-nav a:hover {
    color: #fff;
}

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

.nav-cta {
    background: var(--gold) !important;
    color: var(--forest-deep) !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--gold-light) !important;
    transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--forest-deep);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 31, 23, 0.4) 0%,
        rgba(13, 31, 23, 0.6) 50%,
        rgba(13, 31, 23, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-sub {
    font-family: var(--font-serif-alt);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto 44px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 100px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--forest-deep);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 75, 0.35);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--forest);
    border-color: var(--forest);
}

.btn-outline-light:hover {
    background: var(--forest);
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 20px 44px;
    font-size: 0.95rem;
}

/* ---------- SECTION LABELS ---------- */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--forest);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.section-subtitle {
    font-family: var(--font-serif-alt);
    font-size: 1.15rem;
    color: var(--text-mid);
    max-width: 500px;
    line-height: 1.6;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ---------- INTRO / STORY ---------- */
.intro {
    padding: 120px 0;
    background: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-text .section-title {
    margin-bottom: 28px;
}

.intro-text p {
    font-family: var(--font-serif-alt);
    font-size: 1.1rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 20px;
}

.intro-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(27, 67, 50, 0.12);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--forest);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(27, 67, 50, 0.15);
}

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--gold);
    border-radius: 4px;
    z-index: -1;
}

/* ---------- DIVIDER / QUOTE ---------- */
.divider-section {
    padding: 80px 0;
    background: var(--forest);
}

.divider-quote {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.divider-quote svg {
    margin: 0 auto 28px;
    color: var(--gold);
}

.divider-quote blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    margin-bottom: 24px;
}

.divider-quote cite {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ---------- MENU ---------- */
.menu {
    padding: 120px 0;
    background: var(--warm-white);
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.menu-category {
    padding: 40px 32px;
    background: var(--cream);
    border-radius: 4px;
    border: 1px solid rgba(27, 67, 50, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s var(--ease-out);
}

.menu-category:hover {
    box-shadow: 0 12px 40px rgba(27, 67, 50, 0.1);
    transform: translateY(-4px);
}

.category-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-name {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.item-desc {
    font-family: var(--font-serif-alt);
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.menu-note {
    text-align: center;
    font-family: var(--font-serif-alt);
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
}

/* ---------- FEATURES ---------- */
.features {
    padding: 100px 0;
    background: var(--cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 4px;
    transition: transform 0.3s var(--ease-out);
}

.feature-card:hover {
    transform: translateY(-6px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--forest);
    border-radius: 50%;
    color: var(--gold);
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 12px;
}

.feature-card p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: 120px 0;
    background: var(--warm-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.gallery-item--large img {
    height: 100%;
    min-height: 500px;
}

.gallery-item:not(.gallery-item--large) img {
    height: 260px;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
}

.cta-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 31, 23, 0.92), rgba(27, 67, 50, 0.88));
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-text {
    font-family: var(--font-serif-alt);
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- VISIT ---------- */
.visit {
    padding: 120px 0;
    background: var(--cream);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-info .section-title {
    margin-bottom: 40px;
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-item svg {
    flex-shrink: 0;
    color: var(--forest);
    margin-top: 2px;
}

.info-item strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.info-item p {
    font-family: var(--font-serif-alt);
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.info-item a {
    color: var(--forest);
    font-weight: 600;
    transition: color 0.2s ease;
}

.info-item a:hover {
    color: var(--gold);
}

.visit-map {
    border-radius: 4px;
    overflow: hidden;
    min-height: 420px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--forest-deep);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 64px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-family: var(--font-serif-alt);
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    font-family: var(--font-serif-alt);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--gold);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

/* ---------- MOBILE NAV OVERLAY ---------- */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(13, 31, 23, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.mobile-nav-overlay.active {
    display: flex;
}

.mobile-nav-overlay a {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    transition: color 0.2s ease;
}

.mobile-nav-overlay a:hover {
    color: var(--gold);
}

/* ---------- ANIMATIONS (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    }
    
    .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; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-categories .menu-category:last-child {
        grid-column: span 2;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content {
        padding: 100px 20px 60px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .intro-image {
        order: -1;
    }
    
    .intro-image img {
        height: 360px;
    }
    
    .image-accent {
        top: -12px;
        right: -12px;
        width: 80px;
        height: 80px;
    }
    
    .menu-categories {
        grid-template-columns: 1fr;
    }
    
    .menu-categories .menu-category:last-child {
        grid-column: span 1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card {
        display: flex;
        text-align: left;
        gap: 20px;
        padding: 28px 24px;
    }
    
    .feature-icon {
        margin: 0;
        flex-shrink: 0;
        width: 52px;
        height: 52px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item--large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-item--large img {
        min-height: 300px;
    }
    
    .gallery-item:not(.gallery-item--large) img {
        height: 220px;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit-map {
        min-height: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .intro-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-headline {
        font-size: 2.6rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 0.85rem;
    }
    
    .btn-lg {
        padding: 16px 32px;
    }
}
