/* ============================================
   THE LINCOLN DINER — Style Sheet
   ============================================ */

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

:root {
    --forest: #1B4332;
    --forest-light: #2D6A4F;
    --forest-dark: #0F2919;
    --cream: #F5F0E8;
    --cream-light: #FAF7F2;
    --cream-dark: #E8DFD0;
    --warm: #D4C5A9;
    --warm-dark: #B8A88A;
    --text: #1A1A1A;
    --text-light: #4A4A4A;
    --text-muted: #7A7A7A;
    --white: #FFFFFF;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'DM Sans', system-ui, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

ul {
    list-style: none;
}

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

/* --- Typography --- */
.section-eyebrow {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest-light);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--forest-dark);
    margin-bottom: 24px;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
    padding: 0;
}

.nav.scrolled {
    background: rgba(27, 67, 50, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition);
    letter-spacing: 0.02em;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-cta {
    background: var(--cream);
    color: var(--forest-dark) !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 700 !important;
    transition: transform var(--transition), box-shadow var(--transition) !important;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--forest-dark) !important;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--forest-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    padding: 8px;
}

.mobile-link {
    font-family: var(--serif);
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 24px;
    transition: color var(--transition);
    display: block;
}

.mobile-link:hover {
    color: var(--white);
}

.mobile-cta {
    margin-top: 16px;
    font-family: var(--sans);
    font-size: 1rem;
    background: var(--cream);
    color: var(--forest-dark);
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 700;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(45, 106, 79, 0.85) 0%, rgba(27, 67, 50, 0.95) 50%, rgba(15, 41, 25, 1) 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 197, 169, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 106, 79, 0.3) 0%, transparent 50%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-eyebrow {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(2.75rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
}

.hero-title em {
    font-style: italic;
    color: var(--warm);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.8s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 100px;
    font-family: var(--sans);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform var(--transition), box-shadow var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--cream);
    color: var(--forest-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
    border-color: var(--white);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, 0.4);
    animation: bounce 2s infinite;
}

/* --- Marquee --- */
.marquee {
    background: var(--forest);
    overflow: hidden;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
    display: flex;
    gap: 48px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-item {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    letter-spacing: 0.05em;
}

/* --- About --- */
.about {
    padding: 120px 0;
    background: var(--cream-light);
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 16px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--forest);
    border-radius: 16px;
    z-index: -1;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--cream-dark);
}

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

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

.stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    background: var(--cream-dark);
    align-self: stretch;
}

/* --- Menu --- */
.menu {
    padding: 120px 0;
    background: var(--forest-dark);
    position: relative;
    overflow: hidden;
}

.menu::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 106, 79, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.menu-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
    position: relative;
    z-index: 1;
}

.menu-header .section-eyebrow {
    color: var(--warm);
}

.menu-header .section-title {
    color: var(--white);
}

.menu-header .menu-intro {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.menu-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 28px;
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.menu-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.menu-card-icon {
    width: 56px;
    height: 56px;
    background: var(--forest-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 24px;
}

.menu-card-title {
    font-family: var(--serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.menu-card-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* --- Gallery --- */
.gallery {
    padding: 120px 0;
    background: var(--cream-light);
}

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

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

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

.gallery-item--wide img {
    height: 100%;
    min-height: 280px;
}

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

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

.visit-desc {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 48px;
}

.visit-detail {
    display: flex;
    gap: 20px;
    margin-bottom: 36px;
}

.visit-detail-icon {
    width: 48px;
    height: 48px;
    background: var(--forest);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.visit-detail-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.visit-detail-value {
    font-size: 1.0625rem;
    color: var(--text);
    line-height: 1.6;
}

.visit-detail-value a {
    color: var(--forest);
    font-weight: 600;
    transition: color var(--transition);
}

.visit-detail-value a:hover {
    color: var(--forest-light);
    text-decoration: underline;
}

.visit-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-link {
    display: block;
    position: relative;
}

.map-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-link-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 67, 50, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    opacity: 0;
    transition: opacity var(--transition);
}

.map-link:hover .map-link-overlay {
    opacity: 1;
}

.map-link:hover img {
    transform: scale(1.03);
}

/* --- Footer --- */
.footer {
    background: var(--forest-dark);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.footer-contact a {
    color: var(--warm);
    font-weight: 600;
    transition: color var(--transition);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8125rem;
}

/* --- Animations --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .visit-grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-inner {
        padding: 16px 20px;
    }
    
    .hero {
        padding: 100px 20px 80px;
        min-height: 100svh;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        max-width: 100%;
    }
    
    .about-stats {
        gap: 24px;
    }
    
    .menu {
        padding: 80px 0;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .menu-card {
        padding: 28px 24px;
    }
    
    .gallery {
        padding: 80px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .gallery-item--large {
        grid-row: span 1;
    }
    
    .gallery-item--large img {
        min-height: 240px;
    }
    
    .gallery-item--wide {
        grid-column: span 1;
    }
    
    .gallery-item--wide img {
        min-height: 200px;
    }
    
    .visit {
        padding: 80px 0;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer {
        padding: 60px 0 32px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 48px;
        height: 1px;
        align-self: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item--wide {
        grid-column: span 1;
    }
}
