/* ========================================
   Ma And Pa's Family Diner — Styles
   Palette: Charcoal (#1F2937) + Coral (#F97316)
   Fonts: Playfair Display + Inter
======================================== */

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

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1F2937;
    background-color: #FAFAF9;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #F97316;
    margin-bottom: 12px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: #F97316;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #1F2937;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.0625rem;
    color: #4B5563;
    max-width: 560px;
    line-height: 1.7;
}

.section-header--centered {
    text-align: center;
}

.section-header--centered .section-desc {
    margin: 0 auto;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #F9FAFB;
    transition: color 0.2s ease;
}

.nav-brand:hover {
    color: #F97316;
}

.nav-brand-icon {
    color: #F97316;
}

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

.nav-links a {
    display: block;
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #D1D5DB;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

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

.nav-cta {
    background-color: #F97316 !important;
    color: #1F2937 !important;
    font-weight: 600 !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background-color: #EA580C !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #D1D5DB;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) 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(-7px) rotate(-45deg);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #1F2937;
    padding: 72px 0 80px;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #F97316;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
}

.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    color: #F9FAFB;
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 540px;
}

.hero-headline em {
    color: #F97316;
    font-style: normal;
}

.hero-sub {
    font-size: 1.0625rem;
    color: #9CA3AF;
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

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

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

.hero-stat-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #F97316;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: #6B7280;
    letter-spacing: 0.02em;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: #F97316;
    color: #1F2937;
}

.btn-primary:hover {
    background-color: #EA580C;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #F9FAFB;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: 12px;
}

/* Hero image */
.hero-image {
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
}

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

.hero-img-accent {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.hero-img-float {
    position: absolute;
    bottom: -20px;
    left: -30px;
    z-index: 2;
}

.float-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.float-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 10px;
    color: #F97316;
    flex-shrink: 0;
}

.float-card-label {
    display: block;
    font-size: 0.75rem;
    color: #6B7280;
    font-weight: 500;
}

.float-card-value {
    display: block;
    font-size: 0.9375rem;
    color: #1F2937;
    font-weight: 700;
}

/* --- Menu Section --- */
.menu {
    padding: 100px 0;
    background-color: #FAFAF9;
}

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

.section-header--centered .section-title {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header--centered .section-label {
    justify-content: center;
}

.section-header--centered .section-label::before {
    display: none;
}

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

.menu-category {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #E5E7EB;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.menu-category:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.menu-cat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #F3F4F6;
}

.menu-cat-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 12px;
    color: #F97316;
    flex-shrink: 0;
}

.menu-cat-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1F2937;
}

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

.menu-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 18px;
    border-bottom: 1px solid #F3F4F6;
}

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

.menu-item-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #1F2937;
}

.menu-item-desc {
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.5;
}

.menu-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    font-size: 0.8125rem;
    color: #6B7280;
}

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

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

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

.about-img-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border: 4px solid #F3F4F6;
}

.about-img-secondary img {
    display: block;
}

.about-text-col {
    padding-top: 16px;
}

.about-body {
    font-size: 1.0625rem;
    color: #4B5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.about-value {
    display: flex;
    gap: 16px;
}

.about-value-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1F2937;
    border-radius: 12px;
    color: #F97316;
    flex-shrink: 0;
}

.about-value strong {
    display: block;
    font-size: 0.9375rem;
    color: #1F2937;
    margin-bottom: 2px;
}

.about-value span {
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.5;
}

/* --- Why Us Section --- */
.why-us {
    padding: 100px 0;
    background-color: #1F2937;
}

.why-us .section-title {
    color: #F9FAFB;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.why-card {
    position: relative;
    padding: 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(249, 115, 22, 0.3);
}

.why-card-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.why-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 115, 22, 0.15);
    border-radius: 14px;
    color: #F97316;
    margin-bottom: 20px;
}

.why-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #F9FAFB;
    margin-bottom: 12px;
    line-height: 1.3;
}

.why-card-text {
    font-size: 0.9375rem;
    color: #9CA3AF;
    line-height: 1.7;
}

/* --- Visit Section --- */
.visit {
    padding: 100px 0;
    background-color: #FAFAF9;
}

.visit-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.visit-info {
    padding: 48px;
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
}

.visit-desc {
    font-size: 1.0625rem;
    color: #4B5563;
    line-height: 1.75;
    margin-bottom: 36px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
    flex: 1;
}

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

.visit-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 12px;
    color: #F97316;
    flex-shrink: 0;
}

.visit-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6B7280;
    margin-bottom: 2px;
}

.visit-detail-value {
    display: block;
    font-size: 0.9375rem;
    color: #1F2937;
    font-weight: 500;
    line-height: 1.5;
}

.visit-link {
    color: #F97316;
    font-weight: 600;
    transition: color 0.2s ease;
}

.visit-link:hover {
    color: #EA580C;
}

.visit-map {
    border-radius: 20px;
    overflow: hidden;
    min-height: 420px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

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

/* --- Footer --- */
.footer {
    background-color: #111827;
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #F9FAFB;
    margin-bottom: 16px;
}

.footer-logo-icon {
    color: #F97316;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: #6B7280;
    line-height: 1.7;
    max-width: 300px;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: #9CA3AF;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #F97316;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact p {
    font-size: 0.875rem;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-phone {
    color: #F97316;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-phone:hover {
    color: #FB923C;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
}

.footer-bottom p {
    text-align: center;
    font-size: 0.8125rem;
    color: #4B5563;
}

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

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 40px;
    }

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

    .menu-category:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(31, 41, 55, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px 24px;
        gap: 4px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        padding: 12px 16px;
    }

    .nav-cta {
        margin-left: 0 !important;
        text-align: center;
        margin-top: 8px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-overlay.active {
        display: block;
    }

    .hero {
        padding: 100px 0 60px;
    }

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

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

    .hero-stats {
        gap: 20px;
    }

    .hero-img-float {
        bottom: -12px;
        left: -12px;
    }

    .menu {
        padding: 72px 0;
    }

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

    .menu-category:last-child {
        grid-column: auto;
    }

    .about {
        padding: 72px 0;
    }

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

    .about-img-secondary {
        right: 0;
        bottom: -24px;
    }

    .why-us {
        padding: 72px 0;
    }

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

    .visit {
        padding: 72px 0;
    }

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

    .visit-info {
        padding: 32px;
    }

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

    .visit-map iframe {
        min-height: 300px;
    }

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

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

    .nav-inner {
        padding: 0 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-stat-divider {
        display: none;
    }

    .float-card {
        padding: 12px 16px;
    }

    .menu-category {
        padding: 24px;
    }

    .why-card {
        padding: 28px;
    }

    .visit-info {
        padding: 24px;
    }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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

    .menu-category:hover {
        transform: none;
    }

    .btn-primary:hover {
        transform: none;
    }

    .nav-links {
        transition: none;
    }
}
