/* ============================================
   82 Cafe — Paris, TX
   Clean minimalist · Midnight blue + Mint
   ============================================ */

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

:root {
    --midnight:    #0A1628;
    --midnight-lt: #132240;
    --midnight-mid:#1E3A5F;
    --mint:        #A8E6CF;
    --mint-lt:     #D4F5E6;
    --mint-dk:     #6BC4A0;
    --cream:       #F8FAF9;
    --white:       #FFFFFF;
    --text-dark:   #0A1628;
    --text-muted:  #4A6274;
    --text-light:  #8FA3B3;
    --line:        rgba(10, 22, 40, 0.08);
    --line-dark:   rgba(168, 230, 207, 0.15);
    --font-body:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif:  'Playfair Display', Georgia, serif;
    --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--cream);
    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;
}

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

.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mint-dk);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-dark);
    margin-bottom: 24px;
}

.section-title em {
    font-style: italic;
    color: var(--mint-dk);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 480px;
    line-height: 1.6;
}

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

.site-header.scrolled {
    background: rgba(248, 250, 249, 0.97);
    box-shadow: 0 1px 0 var(--line);
}

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

.logo {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-family: var(--font-serif);
}

.logo-mark {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--midnight);
    letter-spacing: -0.02em;
}

.logo-word {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
    font-style: italic;
}

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

.nav-link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.3s var(--ease);
    position: relative;
}

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

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--midnight);
}

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

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--mint-dk) !important;
}

.nav-phone:hover {
    color: var(--midnight) !important;
}

.nav-icon {
    width: 14px;
    height: 14px;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: relative;
    padding: 0;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 20px;
    height: 1px;
    background: var(--midnight);
    transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--midnight);
    transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

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

.nav-toggle[aria-expanded="true"] .hamburger {
    transform: translate(-50%, -50%) rotate(45deg);
}

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

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

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--midnight);
    overflow: hidden;
    padding: 120px 24px 80px;
}

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

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(
            180deg,
            rgba(10, 22, 40, 0.7) 0%,
            rgba(10, 22, 40, 0.85) 50%,
            rgba(10, 22, 40, 0.95) 100%
        );
}

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

.hero-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 32px;
}

.hero-headline {
    font-size: clamp(2.5rem, 7vw, 5rem);
    color: var(--white);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 32px;
}

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

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto 48px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 36px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    border-radius: 0;
}

.btn-primary {
    background: var(--mint);
    color: var(--midnight);
}

.btn-primary:hover {
    background: var(--mint-lt);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    border-color: var(--mint);
    color: var(--mint);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.hero-scroll span {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(168, 230, 207, 0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50%       { opacity: 1;   transform: scaleY(1); }
}

/* ---------- Divider ---------- */
.divider {
    padding: 0 24px;
}

.divider-line {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: var(--line);
}

/* ---------- About ---------- */
.about {
    padding: 120px 0;
}

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

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

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

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

.about-content {
    padding: 20px 0;
}

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

.about-features {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-line {
    width: 40px;
    height: 1px;
    background: var(--mint-dk);
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark);
    font-weight: 400;
}

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

.menu .container {
    text-align: center;
}

.menu .section-subtitle {
    margin: 0 auto 64px;
}

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

.menu-card {
    background: var(--cream);
    padding: 48px 36px;
    text-align: left;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(10, 22, 40, 0.06);
}

.menu-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.menu-card-icon {
    width: 24px;
    height: 24px;
    color: var(--mint-dk);
    flex-shrink: 0;
}

.menu-card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
}

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

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

.menu-item-name {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.menu-item-desc {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

.menu-note {
    font-size: 0.82rem;
    color: var(--text-light);
    font-style: italic;
}

/* ---------- Hours ---------- */
.hours {
    padding: 120px 0;
}

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

.hours-content {
    order: 1;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 32px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.hours-row:first-child {
    border-top: 1px solid var(--line);
}

.hours-day {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.hours-time {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
}

.hours-note {
    font-size: 0.82rem;
    color: var(--text-light);
    font-style: italic;
}

.hours-image {
    order: 2;
}

.hours-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

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

.visit .container {
    max-width: 1000px;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-top: 64px;
}

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.visit-block {
    display: flex;
    gap: 20px;
}

.visit-icon {
    width: 24px;
    height: 24px;
    color: var(--mint-dk);
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}

.visit-block p,
.visit-block a {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.visit-block a:hover {
    color: var(--mint-dk);
}

.visit-map {
    position: relative;
    overflow: hidden;
}

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

.map-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

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

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: background 0.4s var(--ease);
}

.map-link:hover .map-overlay {
    background: rgba(10, 22, 40, 0.4);
}

.map-overlay-text {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
}

.map-arrow {
    width: 20px;
    height: 20px;
    color: var(--mint);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--midnight);
    padding: 80px 0 48px;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line-dark);
}

.footer-top .logo-mark {
    color: var(--white);
}

.footer-top .logo-word {
    color: var(--mint);
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    max-width: 280px;
    line-height: 1.7;
    text-align: right;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-address {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-address a {
    color: rgba(168, 230, 207, 0.5);
    transition: color 0.3s var(--ease);
}

.footer-address a:hover {
    color: var(--mint);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .about-grid,
    .hours .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hours-image { order: 0; }
    .about-content { order: 1; }
    .about-image-wrap { order: 0; }

    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-top {
        flex-direction: column;
        gap: 24px;
    }

    .footer-tagline {
        text-align: left;
    }
}

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

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(248, 250, 249, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--line);
        padding: 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease), visibility 0.4s;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .nav-phone {
        display: none;
    }

    .hero {
        padding: 140px 24px 80px;
    }

    .hero-headline {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .about,
    .menu,
    .hours,
    .visit {
        padding: 80px 0;
    }

    .about-image-wrap img,
    .hours-image img {
        height: 360px;
    }

    .menu-card {
        padding: 36px 28px;
    }

    .site-footer {
        padding: 64px 0 40px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

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

    .hero-headline {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}
