/* ─────────────────────────────────────────────
   Momma Imelda Food Truck — Styles
   ───────────────────────────────────────────── */

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

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

body {
    line-height: 1.7;
    color: #44131b;
    background-color: #FDF8F6;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

/* ── Utility ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

/* ── Section Base ── */
.section {
    padding: 100px 0;
}

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

.section-eyebrow {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7B2431;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    line-height: 1.15;
    color: #44131b;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: #7B2431;
    opacity: 0.8;
}

/* ── Divider ── */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0;
}

.divider-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #7B2431;
    flex-shrink: 0;
}

.divider-line {
    width: 80px;
    height: 1px;
    background-color: #f9c5d1;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--primary {
    background-color: #7B2431;
    color: #FDF8F6;
    border-color: #7B2431;
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background-color: #5e1b26;
    border-color: #5e1b26;
    transform: translateY(-1px);
}

.btn--ghost {
    background-color: transparent;
    color: #FDF8F6;
    border-color: rgba(253, 248, 246, 0.5);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    background-color: rgba(253, 248, 246, 0.1);
    border-color: #FDF8F6;
}

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

/* ── Links ── */
.link-underline {
    position: relative;
    text-decoration: none;
    border-bottom: 1px solid rgba(123, 36, 49, 0.3);
    transition: border-color 0.25s ease;
}

.link-underline:hover {
    border-bottom-color: #7B2431;
}

/* ─────────────────────────────────────────────
   Navigation
   ───────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
    background-color: transparent;
}

.nav.scrolled {
    background-color: rgba(253, 248, 246, 0.97);
    box-shadow: 0 1px 0 rgba(123, 36, 49, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    color: #FDF8F6;
    transition: color 0.3s ease;
    z-index: 1001;
}

.nav.scrolled .nav-logo {
    color: #44131b;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 300;
}

.nav-logo-text {
    font-style: italic;
}

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

.nav-link {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(253, 248, 246, 0.85);
    transition: color 0.25s ease;
    position: relative;
}

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

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

.nav.scrolled .nav-link {
    color: #7B2431;
}

.nav-link--cta {
    padding: 8px 20px;
    border: 1px solid rgba(253, 248, 246, 0.4);
    border-radius: 3px;
    transition: all 0.25s ease;
}

.nav-link--cta:hover {
    background-color: rgba(253, 248, 246, 0.1);
    border-color: rgba(253, 248, 246, 0.8);
}

.nav.scrolled .nav-link--cta {
    border-color: #7B2431;
    color: #7B2431;
}

.nav.scrolled .nav-link--cta:hover {
    background-color: #7B2431;
    color: #FDF8F6;
}

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

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: #FDF8F6;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav.scrolled .nav-toggle-line {
    background-color: #44131b;
}

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

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

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

/* ─────────────────────────────────────────────
   Hero
   ───────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #44131b;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(68, 19, 27, 0.7) 0%,
        rgba(68, 19, 27, 0.5) 50%,
        rgba(68, 19, 27, 0.8) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-eyebrow {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(253, 248, 246, 0.7);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 300;
    line-height: 1.1;
    color: #FDF8F6;
    margin-bottom: 28px;
}

.hero-headline em {
    font-style: italic;
    font-weight: 300;
    color: #f9c5d1;
}

.hero-sub {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(253, 248, 246, 0.8);
    max-width: 520px;
    margin: 0 auto 40px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(253, 248, 246, 0.5);
}

.hero-scroll span {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

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

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

/* ─────────────────────────────────────────────
   Menu
   ───────────────────────────────────────────── */
.menu-section {
    background-color: #FDF8F6;
}

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

.menu-card {
    background-color: #FAF5F2;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(123, 36, 49, 0.08);
}

.menu-card-img {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.05);
}

.menu-card-body {
    padding: 24px;
}

.menu-card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    color: #44131b;
    margin-bottom: 8px;
}

.menu-card-desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    color: #7B2431;
    opacity: 0.75;
}

.menu-note {
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    color: #7B2431;
    opacity: 0.7;
}

/* ─────────────────────────────────────────────
   About
   ───────────────────────────────────────────── */
.about-section {
    background-color: #fdf0f3;
}

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

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

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

.about-image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 1px solid rgba(123, 36, 49, 0.15);
    border-radius: 8px;
    z-index: -1;
}

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

.about-body {
    margin-bottom: 40px;
}

.about-body p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.9;
    color: #5e1b26;
    margin-bottom: 16px;
}

.about-body p:last-child {
    margin-bottom: 0;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 32px;
    font-weight: 300;
    color: #7B2431;
    line-height: 1;
}

.stat-label {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7B2431;
    opacity: 0.6;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(123, 36, 49, 0.2);
}

/* ─────────────────────────────────────────────
   Gallery
   ───────────────────────────────────────────── */
.gallery-section {
    background-color: #FDF8F6;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
}

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

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

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

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

.gallery-item:not(.gallery-item--tall):not(.gallery-item--wide) {
    grid-column: span 4;
}

/* ─────────────────────────────────────────────
   Visit
   ───────────────────────────────────────────── */
.visit-section {
    background-color: #fdf0f3;
}

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

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

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

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

.visit-detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(123, 36, 49, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7B2431;
}

.visit-detail-label {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7B2431;
    opacity: 0.6;
    margin-bottom: 4px;
}

.visit-detail-text {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: #44131b;
}

.visit-map {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    min-height: 360px;
    box-shadow: 0 20px 60px rgba(123, 36, 49, 0.08);
}

/* ─────────────────────────────────────────────
   Contact
   ───────────────────────────────────────────── */
.contact-section {
    background-color: #FDF8F6;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: start;
}

.contact-intro {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: #7B2431;
    opacity: 0.8;
    margin-bottom: 40px;
}

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

.form-label {
    display: block;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7B2431;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 0;
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #44131b;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(123, 36, 49, 0.2);
    outline: none;
    transition: border-color 0.25s ease;
    resize: none;
}

.form-input::placeholder {
    color: rgba(68, 19, 27, 0.3);
}

.form-input:focus {
    border-bottom-color: #7B2431;
}

.form-textarea {
    line-height: 1.7;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background-color: #fdf0f3;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    color: #7B2431;
}

.form-success svg {
    flex-shrink: 0;
    color: #7B2431;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 16px;
}

.contact-info-card {
    padding: 32px;
    background-color: #fdf0f3;
    border-radius: 8px;
}

.contact-info-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    color: #44131b;
    margin-bottom: 20px;
}

.contact-info-text {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: #7B2431;
    opacity: 0.85;
    margin-bottom: 16px;
}

.contact-info-text:last-child {
    margin-bottom: 0;
}

.contact-quote {
    position: relative;
    padding: 32px;
    border-left: 2px solid rgba(123, 36, 49, 0.2);
}

.contact-quote-mark {
    width: 32px;
    height: 32px;
    color: rgba(123, 36, 49, 0.15);
    margin-bottom: 16px;
}

.contact-quote p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: #5e1b26;
    margin-bottom: 12px;
}

.contact-quote span {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7B2431;
    opacity: 0.6;
}

/* ─────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────── */
.footer {
    background-color: #44131b;
    color: rgba(253, 248, 246, 0.7);
    padding: 64px 0 40px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(253, 248, 246, 0.1);
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(253, 248, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    font-weight: 300;
    color: #FDF8F6;
}

.footer-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    color: #FDF8F6;
}

.footer-tagline {
    font-size: 14px;
    font-weight: 300;
    color: rgba(253, 248, 246, 0.5);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    font-weight: 300;
    color: rgba(253, 248, 246, 0.4);
}

.footer-bottom a {
    color: rgba(253, 248, 246, 0.6);
    transition: color 0.25s ease;
}

.footer-bottom a:hover {
    color: #FDF8F6;
}

/* ─────────────────────────────────────────────
   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.revealed {
        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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

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

    .about-grid {
        gap: 48px;
    }

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

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

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

    .gallery-item:not(.gallery-item--tall):not(.gallery-item--wide) {
        grid-column: span 1;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        background-color: rgba(253, 248, 246, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-links.open .nav-link {
        color: #44131b;
        font-size: 13px;
    }

    .nav-links.open .nav-link--cta {
        border-color: #7B2431;
        color: #7B2431;
    }

    .nav-toggle {
        display: flex;
    }

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

    .hero-headline {
        font-size: clamp(36px, 10vw, 56px);
    }

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

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

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

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

    .about-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

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

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

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

    .visit-map {
        min-height: 260px;
    }

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

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

    .section {
        padding: 56px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .about-stats {
        flex-wrap: wrap;
    }
}
