/* ============================================
   Eve's Diner — Classic & Elegant Stylesheet
   Burgundy + Blush Palette
   ============================================ */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-deep: #5C1F2B;
    --burgundy-light: #9B3D4E;
    --blush: #F5E6D3;
    --blush-light: #FBF5EE;
    --blush-dark: #E8CDB5;
    --cream: #FDF8F3;
    --charcoal: #2C2424;
    --charcoal-light: #4A3F3F;
    --warm-gray: #6B5E5E;
    --warm-gray-light: #9E8E8E;
    --gold: #C49A6C;
    --gold-light: #D4B08A;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(44, 36, 36, 0.08);
    --shadow-md: 0 4px 20px rgba(44, 36, 36, 0.1);
    --shadow-lg: 0 8px 40px rgba(44, 36, 36, 0.12);
    --shadow-xl: 0 16px 60px rgba(44, 36, 36, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-serif: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Lora', 'Georgia', serif;
    --font-sans: 'Inter', 'Helvetica Neue', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--burgundy);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--burgundy-light);
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--burgundy);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-family: var(--font-sans);
    font-size: 0.875rem;
}

.skip-link:focus {
    top: 16px;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--charcoal);
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--burgundy);
    line-height: 1;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.logo--light .logo-mark {
    color: var(--blush);
}

.logo--light .logo-text {
    color: var(--white);
}

/* ---------- Navigation ---------- */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.main-nav a {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--charcoal);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: all var(--transition);
}

.main-nav a:hover {
    color: var(--burgundy);
    background: rgba(123, 45, 59, 0.06);
}

.btn--nav {
    background: var(--burgundy);
    color: var(--white) !important;
    border-radius: var(--radius-sm);
    padding: 10px 20px !important;
}

.btn--nav:hover {
    background: var(--burgundy-deep);
    color: var(--white) !important;
}

/* ---------- Mobile Nav Toggle ---------- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    left: 0;
    transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

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

.btn--primary:hover {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.btn--full {
    width: 100%;
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(92, 31, 43, 0.88) 0%,
        rgba(123, 45, 59, 0.78) 50%,
        rgba(44, 36, 36, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    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-light);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-title-accent {
    font-style: italic;
    color: var(--blush);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(245, 230, 211, 0.85);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
}

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

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

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

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(123, 45, 59, 0.06);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(123, 45, 59, 0.12);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    border-radius: 50%;
    color: var(--white);
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.feature-card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.8;
}

/* ---------- Section Headers ---------- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 12px;
}

.section-eyebrow--light {
    color: var(--gold-light);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--warm-gray);
    line-height: 1.8;
}

/* ---------- Menu Section ---------- */
.menu-section {
    padding: 100px 0;
    background: var(--blush-light);
}

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

.menu-category {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(123, 45, 59, 0.06);
}

.menu-category-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--blush);
}

.menu-list {
    list-style: none;
}

.menu-list li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(123, 45, 59, 0.06);
}

.menu-list li:last-child {
    border-bottom: none;
}

.menu-item-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.menu-item-desc {
    display: block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

.menu-note {
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--warm-gray-light);
    font-style: italic;
}

/* ---------- About Section ---------- */
.about-section {
    padding: 100px 0;
    background: var(--cream);
}

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

.about-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.about-content .section-eyebrow {
    text-align: left;
}

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

.about-text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--warm-gray);
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-signature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--burgundy);
}

.about-signature svg {
    opacity: 0.4;
}

/* ---------- Gallery ---------- */
.gallery-section {
    padding: 100px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 3/2;
}

.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);
}

/* ---------- Hours Section ---------- */
.hours-section {
    padding: 100px 0;
    background: var(--burgundy-deep);
}

.hours-card {
    background: var(--burgundy);
    border-radius: var(--radius-xl);
    padding: 64px;
    box-shadow: var(--shadow-xl);
}

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

.hours-info h3 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 16px;
}

.hours-info address {
    font-style: normal;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.8;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

.hours-list li span:first-child {
    color: var(--blush);
    font-weight: 500;
}

.hours-list li span:last-child {
    color: var(--white);
}

.hours-list a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color var(--transition);
}

.hours-list a:hover {
    color: var(--gold-light);
}

.hours-list a span:first-child {
    color: var(--blush);
    font-weight: 500;
}

/* ---------- CTA / Contact ---------- */
.cta-section {
    padding: 100px 0;
    background: var(--blush-light);
}

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

.cta-text {
    padding-top: 8px;
}

.cta-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--warm-gray);
    line-height: 1.8;
    margin-top: 16px;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(123, 45, 59, 0.06);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--cream);
    border: 1.5px solid rgba(123, 45, 59, 0.12);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-gray-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    margin-top: 16px;
    padding: 16px;
    background: rgba(123, 45, 59, 0.06);
    border: 1px solid rgba(123, 45, 59, 0.12);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--burgundy);
    text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--charcoal);
    color: var(--blush);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(245, 230, 211, 0.6);
    line-height: 1.8;
    margin-top: 16px;
    max-width: 280px;
}

.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-light);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(245, 230, 211, 0.6);
    transition: color var(--transition);
}

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

.footer-contact address {
    font-style: normal;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(245, 230, 211, 0.7);
    line-height: 1.8;
    margin-bottom: 12px;
}

.footer-contact p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-contact a {
    color: rgba(245, 230, 211, 0.6);
}

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

.footer-bottom {
    border-top: 1px solid rgba(245, 230, 211, 0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: rgba(245, 230, 211, 0.35);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--burgundy);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--burgundy-deep);
    transform: translateY(-2px);
}

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

    .about-grid {
        gap: 40px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        padding: 100px 32px 32px;
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 1000;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .main-nav a {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .btn--nav {
        text-align: center;
        margin-top: 16px;
    }

    .hero-content {
        padding: 100px 24px 60px;
    }

    .features-grid,
    .menu-grid,
    .hours-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .cta-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        order: -1;
    }

    .hours-card {
        padding: 40px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header-inner {
        height: 64px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .menu-category {
        padding: 28px 20px;
    }

    .contact-form {
        padding: 24px;
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .scroll-indicator {
        animation: none;
    }

    .gallery-item img {
        transition: none;
    }

    .gallery-item:hover img {
        transform: none;
    }
}
