/* ========================================
   Coalfields Diner — Styles
   Emerald green + cream, minimalist
   ======================================== */

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

:root {
    --emerald: #065f46;
    --emerald-deep: #044d38;
    --emerald-light: #047857;
    --cream: #faf6f1;
    --cream-dark: #f0e9df;
    --warm: #d4a574;
    --warm-light: #e8c9a0;
    --text: #1a1a1a;
    --text-light: #4a4a4a;
    --text-muted: #7a7a7a;
    --white: #ffffff;
    --line: rgba(6, 95, 70, 0.12);
    --line-strong: rgba(6, 95, 70, 0.25);
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    
    --fs-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
    --fs-sm: clamp(0.8rem, 0.75rem + 0.3vw, 0.9rem);
    --fs-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
    --fs-md: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
    --fs-lg: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
    --fs-xl: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem);
    --fs-2xl: clamp(2.2rem, 1.6rem + 2.4vw, 4rem);
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    --radius: 2px;
    --radius-lg: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--text);
    background-color: var(--cream);
    overflow-x: hidden;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* --- Line Overlay --- */
.line-overlay {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100vh;
    background: var(--line);
    pointer-events: none;
    z-index: 100;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: var(--fs-2xl);
    color: var(--text);
    margin-bottom: var(--space-lg);
}

.accent {
    color: var(--emerald);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: 400;
    letter-spacing: 0.04em;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--emerald-deep);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(6, 95, 70, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--emerald);
    border: 1px solid var(--line-strong);
}

.btn-outline:hover {
    background: var(--emerald);
    color: var(--white);
    border-color: var(--emerald);
}

.btn-text {
    background: none;
    color: var(--emerald);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-strong);
    border-radius: 0;
}

.btn-text:hover {
    border-bottom-color: var(--emerald);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: var(--fs-base);
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 246, 241, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    color: var(--emerald);
    font-size: var(--fs-md);
    letter-spacing: 0.02em;
}

.logo-mark {
    display: flex;
    align-items: center;
    opacity: 0.8;
}

.logo-text {
    line-height: 1.2;
}

.logo-diner {
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    font-size: var(--fs-sm);
    font-weight: 400;
    letter-spacing: 0.03em;
}

.main-nav a {
    color: var(--text-light);
    transition: color var(--transition);
    position: relative;
}

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

.main-nav a:hover {
    color: var(--emerald);
}

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

.nav-phone {
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: 400;
    color: var(--emerald) !important;
    letter-spacing: 0.02em;
}

.nav-phone::after {
    display: none !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--emerald);
    padding: 0.5rem;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding-block: var(--space-2xl);
}

.hero-eyebrow {
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-size: var(--fs-2xl);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: var(--space-lg);
}

.hero-headline .accent {
    font-style: italic;
    font-weight: 300;
}

.hero-sub {
    font-size: var(--fs-md);
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 480px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-sm);
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--warm);
    display: inline-block;
}

.hero-image {
    position: relative;
}

.image-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 7/9;
}

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

.image-frame:hover img {
    transform: scale(1.02);
}

.hero-accent-line {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, var(--emerald), transparent);
    opacity: 0.3;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--fs-xs);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--line-strong);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--emerald);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* --- Divider --- */
.section-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-block: var(--space-lg);
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--line);
}

.divider-icon {
    color: var(--emerald);
    opacity: 0.5;
    flex-shrink: 0;
}

/* --- Menu Section --- */
.menu-section {
    padding-block: var(--space-3xl);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    margin-bottom: var(--space-2xl);
}

.menu-category {
    padding: var(--space-xl) var(--space-lg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.menu-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--emerald);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.menu-category:hover::before {
    transform: scaleX(1);
}

.menu-category:hover {
    border-color: var(--line-strong);
    box-shadow: 0 8px 32px rgba(6, 95, 70, 0.06);
}

.category-label {
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: var(--space-xs);
}

.category-title {
    font-size: var(--fs-xl);
    font-weight: 300;
    margin-bottom: var(--space-xs);
}

.category-desc {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--line);
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.menu-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-name {
    font-family: var(--font-serif);
    font-size: var(--fs-md);
    font-weight: 400;
    color: var(--text);
}

.item-desc {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

.menu-footer {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--line);
}

.menu-footer > p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

/* --- About Section --- */
.about-section {
    padding-block: var(--space-3xl);
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.about-image-group {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 56/70;
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-secondary {
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
    max-width: 55%;
}

.about-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    padding-top: var(--space-lg);
}

.about-divider {
    width: 60px;
    height: 1px;
    background: var(--emerald);
    margin-bottom: var(--space-lg);
}

.about-lead {
    font-family: var(--font-serif);
    font-size: var(--fs-lg);
    font-weight: 400;
    font-style: italic;
    color: var(--emerald);
    line-height: 1.5;
    margin-bottom: var(--space-lg);
}

.about-content p {
    color: var(--text-light);
    margin-bottom: var(--space-md);
    font-size: var(--fs-base);
}

.about-values {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--line);
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: var(--fs-sm);
    color: var(--text-light);
}

.value-icon {
    color: var(--emerald);
    opacity: 0.7;
}

/* --- Info Section --- */
.info-section {
    padding-block: var(--space-3xl);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
}

.info-block {
    padding: var(--space-xl);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.info-block:hover {
    border-color: var(--line-strong);
}

.info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: var(--space-lg);
}

.info-hours {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    font-size: var(--fs-sm);
}

.hour-row .day {
    color: var(--text-light);
}

.hour-row .time {
    color: var(--text);
    font-weight: 400;
}

.info-address {
    font-style: normal;
    font-size: var(--fs-base);
    color: var(--text);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.info-link {
    font-size: var(--fs-sm);
    color: var(--emerald);
    letter-spacing: 0.03em;
    transition: opacity var(--transition);
}

.info-link:hover {
    opacity: 0.7;
}

.info-phone {
    font-family: var(--font-serif);
    font-size: var(--fs-xl);
    font-weight: 400;
    color: var(--text);
    display: block;
    margin-bottom: var(--space-sm);
    transition: color var(--transition);
}

.info-phone:hover {
    color: var(--emerald);
}

.info-note {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Visit / CTA --- */
.visit-section {
    padding-block: var(--space-3xl);
    background: var(--emerald);
    color: var(--white);
}

.visit-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.visit-text .section-eyebrow {
    color: var(--warm-light);
}

.visit-text .section-title {
    color: var(--white);
}

.visit-desc {
    font-size: var(--fs-base);
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    line-height: 1.7;
}

.visit-actions {
    display: flex;
    gap: var(--space-md);
    flex-shrink: 0;
}

.btn-large.btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-large.btn-outline:hover {
    background: var(--white);
    color: var(--emerald);
    border-color: var(--white);
}

.btn-large.btn-primary {
    background: var(--white);
    color: var(--emerald);
}

.btn-large.btn-primary:hover {
    background: var(--cream);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* --- Footer --- */
.site-footer {
    background: var(--cream-dark);
    padding-block: var(--space-xl);
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: var(--fs-lg);
    color: var(--emerald);
    display: block;
    margin-bottom: 0.25rem;
}

.footer-brand p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    font-size: var(--fs-sm);
    color: var(--text-light);
    transition: color var(--transition);
}

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

.footer-contact a {
    font-size: var(--fs-sm);
    color: var(--emerald);
    font-weight: 400;
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--line);
}

.footer-bottom p {
    font-size: var(--fs-xs);
    color: var(--text-muted);
}

/* --- Mobile Nav --- */
.mobile-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 246, 241, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    z-index: 999;
    transform: translateY(-120%);
    transition: transform var(--transition);
}

.mobile-nav.open {
    transform: translateY(0);
}

.mobile-nav a {
    font-size: var(--fs-md);
    color: var(--text-light);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
    transition: color var(--transition);
}

.mobile-nav a:last-child {
    border-bottom: none;
    color: var(--emerald);
}

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

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner {
        gap: clamp(1.5rem, 4vw, 3rem);
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-block:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding-block: var(--space-xl);
    }
    
    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-meta {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-accent-line {
        display: none;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-group {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .about-image-secondary {
        right: 0;
    }
    
    .about-values {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-block:last-child {
        grid-column: auto;
    }
    
    .visit-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .visit-desc {
        margin: 0 auto;
    }
    
    .visit-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .visit-actions .btn {
        justify-content: center;
    }
    
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
    
    .image-frame {
        aspect-ratio: 4/5;
    }
}
