/* ============================================
   The Neighborhood Cafe — Stylesheet
   Charcoal + Coral · Classic & Elegant
   ============================================ */

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

:root {
    --charcoal-900: #111827;
    --charcoal-800: #1F2937;
    --charcoal-700: #374151;
    --charcoal-600: #4B5563;
    --charcoal-500: #6B7280;
    --charcoal-100: #F3F4F6;
    --charcoal-50:  #F9FAFB;

    --coral-600: #C2410C;
    --coral-500: #EA580C;
    --coral-400: #F97316;
    --coral-300: #FB923C;
    --coral-200: #FDBA74;
    --coral-100: #FFEDD5;
    --coral-50:  #FFF7ED;

    --serif: 'Lora', Georgia, 'Times New Roman', serif;
    --sans:  'Raleway', system-ui, -apple-system, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--sans);
    color: var(--charcoal-800);
    background: var(--charcoal-50);
    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;
}

ul {
    list-style: none;
}

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

/* ---------- Typography ---------- */
h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.2;
}

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

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--charcoal-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--charcoal-600);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.8125rem 1.75rem;
    border-radius: 6px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s var(--ease-smooth);
    white-space: nowrap;
}

.btn-primary {
    background: var(--coral-500);
    color: #fff;
    border-color: var(--coral-500);
}

.btn-primary:hover {
    background: var(--coral-600);
    border-color: var(--coral-600);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    transition: all 0.35s var(--ease-smooth);
}

.nav.scrolled {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.625rem 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: #fff;
}

.nav-logo-icon {
    color: var(--coral-400);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    padding: 0.5rem 0.875rem;
    border-radius: 5px;
    transition: color 0.2s, background 0.2s;
}

.nav-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
    background: var(--coral-500) !important;
    color: #fff !important;
    margin-left: 0.5rem;
    border-radius: 5px;
}

.nav-cta:hover {
    background: var(--coral-600) !important;
}

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

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--charcoal-900);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease-smooth);
}

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

.mobile-menu-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.25rem;
    transition: color 0.2s;
}

.mobile-menu-close:hover {
    color: #fff;
}

.mobile-menu ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-menu-link {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.mobile-menu-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-hours {
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    line-height: 1.8;
}

.mobile-menu-hours strong {
    color: var(--coral-400);
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

.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(17, 24, 39, 0.65) 0%,
        rgba(17, 24, 39, 0.55) 50%,
        rgba(17, 24, 39, 0.80) 100%
    );
}

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

.hero-greeting {
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral-400);
    margin-bottom: 1.25rem;
}

.hero-headline {
    font-family: var(--serif);
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

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

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 0.875rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ---------- Divider ---------- */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    color: var(--coral-400);
    opacity: 0.5;
}

/* ---------- Sections ---------- */
.section {
    padding: 5rem 0;
}

/* ---------- Menu ---------- */
.menu-section {
    background: var(--charcoal-50);
}

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

.menu-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid var(--charcoal-100);
    transition: box-shadow 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
}

.menu-card:hover {
    box-shadow: 0 8px 32px rgba(31, 41, 55, 0.08);
    transform: translateY(-2px);
}

.menu-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--coral-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-500);
    margin-bottom: 1.25rem;
}

.menu-card-title {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--charcoal-900);
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.menu-items li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--charcoal-100);
}

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

.menu-item-name {
    font-family: var(--serif);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--charcoal-800);
}

.menu-item-desc {
    font-size: 0.8125rem;
    color: var(--charcoal-500);
    text-align: right;
    flex-shrink: 0;
}

.menu-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--charcoal-500);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ---------- About ---------- */
.about-section {
    background: var(--charcoal-800);
    color: #fff;
}

.about-section .section-eyebrow {
    color: var(--coral-400);
}

.about-section .section-title {
    color: #fff;
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 55%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--charcoal-800);
}

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

.about-img-accent {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 80px;
    height: 80px;
    background: var(--coral-500);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.3;
}

.about-content {
    padding: 1rem 0;
}

.about-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.75;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--coral-400);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* ---------- Gallery ---------- */
.gallery-section {
    background: var(--charcoal-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 5 / 4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-smooth);
}

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

/* ---------- Visit ---------- */
.visit-section {
    background: #fff;
}

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

.visit-info {
    padding: 1rem 0;
}

.visit-intro {
    color: var(--charcoal-600);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.visit-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.visit-detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--coral-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral-500);
    flex-shrink: 0;
}

.visit-detail strong {
    display: block;
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal-900);
    margin-bottom: 0.25rem;
}

.visit-detail p {
    font-size: 0.9375rem;
    color: var(--charcoal-600);
    line-height: 1.6;
}

.visit-detail a {
    color: var(--coral-500);
    transition: color 0.2s;
}

.visit-detail a:hover {
    color: var(--coral-600);
}

.map-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(31, 41, 55, 0.1);
    aspect-ratio: 4 / 3;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--charcoal-900);
    color: rgba(255, 255, 255, 0.6);
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--serif);
    font-size: 1.0625rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.75rem;
}

.footer-logo svg {
    color: var(--coral-400);
}

.footer p {
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer strong {
    display: block;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.75rem;
}

.footer-hours p,
.footer-links li {
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .gallery-item img {
        transition: none;
    }
    .gallery-item:hover img {
        transform: none;
    }
}

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

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

    .nav-toggle {
        display: flex;
    }

    .hero-headline {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

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

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

    .about-images {
        max-width: 480px;
    }

    .about-img-secondary {
        right: 0;
        bottom: -1rem;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .section {
        padding: 3.5rem 0;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .stat-divider {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
