/* ============================================
   Chicago Dumpling — Styles
   Clean minimalist · Teal + Slate Grey
   ============================================ */

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

:root {
    --teal-50:  #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --nav-height: 72px;
    --container-max: 1200px;
    --transition: 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--slate-800);
    background: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    color: var(--slate-900);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--slate-500);
    max-width: 540px;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

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

.lead {
    font-size: 1.15rem;
    color: var(--slate-600);
    line-height: 1.85;
    margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    padding: 14px 28px;
    border-radius: 6px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--teal-700);
    color: #ffffff;
    border-color: var(--teal-700);
}

.btn-primary:hover {
    background: var(--teal-800);
    border-color: var(--teal-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.25);
}

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 0.9375rem;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--slate-200);
}

.nav.scrolled .nav-logo,
.nav.scrolled .nav-links a {
    color: var(--slate-800);
}

.nav.scrolled .nav-cta {
    background: var(--teal-700);
    color: #ffffff;
}

.nav-inner {
    max-width: var(--container-max);
    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;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.nav-logo-icon {
    display: flex;
    align-items: center;
    opacity: 0.85;
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
    transition: color var(--transition);
    position: relative;
}

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

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

.nav-links a:hover {
    color: #ffffff;
}

.nav-cta {
    padding: 8px 20px !important;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    transition: all var(--transition) !important;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #ffffff;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    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(2, 6, 23, 0.55) 0%,
        rgba(2, 6, 23, 0.65) 50%,
        rgba(2, 6, 23, 0.80) 100%
    );
}

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

.hero-eyebrow {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-300);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

/* ---------- Divider ---------- */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

/* ---------- About ---------- */
.about {
    padding: 100px 0;
    background: #ffffff;
}

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

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

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.about-image-wrap::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--teal-200);
    border-radius: 8px;
    z-index: -1;
}

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

.about-content p {
    color: var(--slate-600);
    margin-bottom: 16px;
    line-height: 1.85;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--slate-200);
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--teal-700);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--slate-500);
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--slate-200);
}

/* ---------- Menu ---------- */
.menu {
    padding: 100px 0;
    background: var(--slate-50);
}

.menu-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.menu-category-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--slate-200);
}

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

.menu-item {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--slate-100);
}

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

.menu-item-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}

.menu-item-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--slate-800);
    white-space: nowrap;
}

.menu-item-line {
    flex: 1;
    height: 1px;
    background: var(--slate-200);
}

.menu-item-desc {
    font-size: 0.875rem;
    color: var(--slate-500);
    line-height: 1.65;
}

.menu-note {
    text-align: center;
    padding: 24px;
    background: var(--teal-50);
    border-radius: 8px;
    border: 1px solid var(--teal-100);
}

.menu-note p {
    font-size: 0.9375rem;
    color: var(--slate-600);
}

.menu-note a {
    color: var(--teal-700);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--teal-200);
    text-underline-offset: 3px;
    transition: all var(--transition);
}

.menu-note a:hover {
    text-decoration-color: var(--teal-700);
}

/* ---------- Gallery ---------- */
.gallery {
    padding: 100px 0;
    background: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 16px;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.6), transparent);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-item--tall {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
}

.gallery-item--tall img {
    height: 100%;
    min-height: 500px;
}

.gallery-item:nth-child(2) {
    grid-column: 5 / 9;
}

.gallery-item:nth-child(3) {
    grid-column: 9 / 13;
}

.gallery-item:nth-child(2) img,
.gallery-item:nth-child(3) img {
    height: 240px;
}

.gallery-item--wide {
    grid-column: 1 / 13;
    grid-row: 3 / 4;
}

.gallery-item--wide img {
    height: 280px;
}

/* ---------- Visit ---------- */
.visit {
    padding: 100px 0;
    background: var(--slate-900);
    color: #ffffff;
}

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

.visit .section-eyebrow {
    color: var(--teal-400);
}

.visit .section-title {
    color: #ffffff;
    margin-bottom: 40px;
}

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

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

.visit-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--teal-400);
}

.visit-detail-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 4px;
}

.visit-detail-value {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.visit-detail-value a {
    color: var(--teal-400);
    transition: color var(--transition);
}

.visit-detail-value a:hover {
    color: var(--teal-300);
}

.visit-map {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    min-height: 360px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.visit-map iframe {
    width: 100%;
    height: 100%;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--slate-950);
    color: rgba(255, 255, 255, 0.6);
    padding: 56px 0 32px;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 260px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
    flex-wrap: wrap;
    gap: 8px;
}

/* ---------- Mobile Menu ---------- */
.nav-links.open {
    display: flex;
}

.nav-toggle.open svg line:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open svg line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open svg line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }

    .menu-categories {
        gap: 36px;
    }

    .gallery-item--tall {
        grid-column: 1 / 7;
    }

    .gallery-item:nth-child(2) {
        grid-column: 7 / 13;
    }

    .gallery-item:nth-child(3) {
        grid-column: 1 / 7;
    }

    .gallery-item--wide {
        grid-column: 7 / 13;
    }
}

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

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background: var(--slate-900);
        padding: 40px 24px;
        gap: 24px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        overflow-y: auto;
    }

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

    .nav-links a {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .nav-cta {
        background: var(--teal-700) !important;
        border-color: var(--teal-700) !important;
        color: #ffffff !important;
        text-align: center;
        width: 100%;
        justify-content: center;
    }

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

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

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

    .about {
        padding: 72px 0;
    }

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

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

    .about-image-wrap::before {
        display: none;
    }

    .menu {
        padding: 72px 0;
    }

    .menu-categories {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gallery {
        padding: 72px 0;
    }

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

    .gallery-item--tall {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .gallery-item--tall img {
        min-height: 300px;
    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3) {
        grid-column: auto;
    }

    .gallery-item:nth-child(2) img,
    .gallery-item:nth-child(3) img {
        height: 200px;
    }

    .gallery-item--wide {
        grid-column: 1 / -1;
    }

    .gallery-item--wide img {
        height: 200px;
    }

    .gallery-caption {
        opacity: 1;
    }

    .visit {
        padding: 72px 0;
    }

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

    .visit-map {
        aspect-ratio: 16 / 9;
        min-height: 240px;
    }

    .footer-top {
        flex-direction: column;
    }

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

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

    .hero {
        min-height: 580px;
    }

    .about-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

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

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3) {
        grid-column: 1 / -1;
    }

    .gallery-item--wide {
        grid-column: 1 / -1;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

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

    html {
        scroll-behavior: auto;
    }

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

    .gallery-caption {
        opacity: 1;
    }
}
