/* ============================================
   King's Deli — Clean Minimalist Café Site
   Palette: Burgundy (#7B2D3B) + Blush (#F5E6E0)
   Fonts: Cormorant Garamond + Inter
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --burgundy: #7B2D3B;
    --burgundy-dark: #5C1F2B;
    --burgundy-light: #9A3D4E;
    --blush: #F5E6E0;
    --blush-light: #FAF3F0;
    --blush-dark: #E8D0C8;
    --cream: #FDF9F7;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-mid: #4A4A4A;
    --text-light: #7A7A7A;
    --text-on-dark: #F5E6E0;
    --nav-height: 72px;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    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;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
    background: rgba(253, 249, 247, 0.97);
    box-shadow: 0 1px 0 rgba(123, 45, 59, 0.08);
}

.nav.scrolled .nav-logo-text,
.nav.scrolled .nav-link,
.nav.scrolled .nav-cta {
    color: var(--text-dark);
}

.nav.scrolled .nav-logo-mark {
    background: var(--burgundy);
    color: var(--blush);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.nav-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--burgundy);
    color: var(--blush);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.02em;
    transition: background 0.3s ease;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--white);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

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

.nav-link {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(245, 230, 224, 0.85);
    transition: color 0.3s ease;
    position: relative;
}

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

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

.nav.scrolled .nav-link::after {
    background: var(--burgundy);
}

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

.nav.scrolled .nav-link:hover {
    color: var(--burgundy);
}

.nav-cta {
    color: var(--white) !important;
    border: 1px solid rgba(245, 230, 224, 0.4);
    padding: 8px 20px;
    letter-spacing: 0.06em;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease !important;
}

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

.nav-cta:hover {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: var(--blush) !important;
}

.nav.scrolled .nav-cta {
    color: var(--burgundy) !important;
    border-color: var(--burgundy);
}

.nav.scrolled .nav-cta:hover {
    background: var(--burgundy);
    color: var(--blush) !important;
}

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

.nav.scrolled .nav-toggle {
    color: var(--text-dark);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    color: var(--text-dark);
    padding: 16px 0;
    display: block;
    transition: color 0.3s ease;
}

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

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.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(
        to bottom,
        rgba(26, 18, 20, 0.55) 0%,
        rgba(26, 18, 20, 0.45) 40%,
        rgba(26, 18, 20, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
    max-width: 720px;
}

.hero-greeting {
    font-family: var(--font-serif);
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 300;
    font-style: italic;
    color: rgba(245, 230, 224, 0.8);
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 300;
    color: var(--white);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: clamp(14px, 2vw, 17px);
    font-weight: 300;
    color: rgba(245, 230, 224, 0.75);
    letter-spacing: 0.04em;
    margin-bottom: 28px;
}

.hero-divider {
    width: 48px;
    height: 1px;
    background: var(--burgundy-light);
    margin: 0 auto 24px;
}

.hero-details {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(245, 230, 224, 0.6);
    margin-bottom: 40px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(245, 230, 224, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 28px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(245, 230, 224, 0.4);
}

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

.btn-directions {
    margin-top: 32px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-lead {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--cream);
}

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

.about-image-wrap {
    overflow: hidden;
}

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.about-text {
    padding: 16px 0;
}

.lead {
    font-size: 17px;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-mid);
    letter-spacing: 0.02em;
}

.feature-item svg {
    color: var(--burgundy);
    flex-shrink: 0;
}

/* ============================================
   DIVIDER
   ============================================ */
.divider {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.divider-icon {
    color: var(--burgundy);
    flex-shrink: 0;
}

/* ============================================
   MENU
   ============================================ */
.menu {
    background: var(--white);
}

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

.menu-category {
    padding: 32px 0;
    border-top: 1px solid var(--blush-dark);
}

.menu-category-icon {
    color: var(--burgundy);
    margin-bottom: 16px;
}

.menu-cat-title {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

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

.menu-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(232, 208, 200, 0.5);
}

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

.menu-item-name {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.menu-item-desc {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-light);
    letter-spacing: 0.01em;
}

.menu-note {
    text-align: center;
    font-size: 13px;
    font-weight: 300;
    color: var(--text-light);
    margin-top: 48px;
    font-style: italic;
    font-family: var(--font-serif);
    font-size: 15px;
}

/* ============================================
   VISIT
   ============================================ */
.visit {
    background: var(--cream);
}

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

.visit-info {
    padding: 16px 0;
}

.visit-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.visit-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.visit-icon {
    color: var(--burgundy);
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.visit-detail-value {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.6;
}

.visit-detail-value a {
    color: var(--burgundy);
    transition: color 0.3s ease;
}

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

.visit-map-wrap {
    overflow: hidden;
    height: 460px;
}

.visit-map-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--burgundy-dark);
    color: var(--text-on-dark);
    padding: 64px 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 48px;
}

.footer-logo-mark {
    width: 40px;
    height: 40px;
    background: rgba(245, 230, 224, 0.12);
    color: var(--blush);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 12px;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--blush);
    display: block;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 13px;
    font-weight: 300;
    color: rgba(245, 230, 224, 0.5);
    letter-spacing: 0.02em;
    max-width: 240px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.footer-links a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245, 230, 224, 0.6);
    transition: color 0.3s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.footer-contact a {
    font-size: 15px;
    font-weight: 400;
    color: var(--blush);
    transition: color 0.3s ease;
}

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

.footer-contact span {
    font-size: 13px;
    font-weight: 300;
    color: rgba(245, 230, 224, 0.5);
    letter-spacing: 0.02em;
}

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

.footer-bottom p {
    font-size: 12px;
    font-weight: 300;
    color: rgba(245, 230, 224, 0.35);
    letter-spacing: 0.04em;
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.visible {
        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: 900px) {
    .about-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrap img {
        height: 400px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

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

    .footer-contact {
        text-align: center;
    }

    .footer-tagline {
        max-width: none;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

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

    .btn {
        width: 100%;
        max-width: 240px;
        justify-content: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .visit-map-wrap {
        height: 300px;
    }

    .section {
        padding: 72px 0;
    }
}

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

    .hero-headline {
        letter-spacing: -0.02em;
    }
}
