/* ============================================
   Stafford's Big Burger — Stylesheet
   Charcoal + Coral palette
   ============================================ */

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

:root {
    --charcoal-900: #111827;
    --charcoal-800: #1f2937;
    --charcoal-700: #374151;
    --charcoal-600: #4b5563;
    --charcoal-500: #6b7280;
    --charcoal-100: #f3f4f6;
    --charcoal-50: #f9fafb;

    --coral-600: #ea670a;
    --coral-500: #F97316;
    --coral-400: #fb923c;
    --coral-300: #fdba74;
    --coral-100: #ffedd5;
    --coral-50: #fff7ed;

    --font-display: 'Frauncie', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;

    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;

    --shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.08), 0 1px 2px rgba(17, 24, 39, 0.06);
    --shadow-md: 0 4px 14px rgba(17, 24, 39, 0.1), 0 2px 6px rgba(17, 24, 39, 0.06);
    --shadow-lg: 0 10px 30px rgba(17, 24, 39, 0.12), 0 4px 10px rgba(17, 24, 39, 0.06);
    --shadow-xl: 0 20px 50px rgba(17, 24, 39, 0.15);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--charcoal-800);
    background: var(--charcoal-50);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* ============================================
   NAV
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(17, 24, 39, 0.92);
    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 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.938rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.menu-toggle span {
    display: block;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.938rem;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-coral {
    background: var(--coral-500);
    color: #fff;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-coral:hover {
    background: var(--coral-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

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

.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

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

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--charcoal-900);
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 2px 2px, var(--coral-400) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(249, 115, 22, 0.12);
    color: var(--coral-400);
    font-size: 0.813rem;
    font-weight: 600;
    padding: 0.4rem 0.875rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-title-accent {
    color: var(--coral-400);
}

.hero-sub {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2.25rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Hero card stack */
.hero-cards {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    grid-template-rows: auto auto;
    max-width: 460px;
}

.hero-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-card--photo {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.hero-card--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/5;
}

.hero-card--stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--charcoal-800);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.1rem 1.25rem;
    color: #fff;
}

.hero-card--tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--coral-500);
    color: #fff;
    font-size: 0.813rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-xl);
    grid-column: 2;
    grid-row: 2;
}

.stat-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(249, 115, 22, 0.15);
    color: var(--coral-400);
    flex-shrink: 0;
}

.stat-card--accent .stat-icon {
    background: rgba(249, 115, 22, 0.25);
    color: var(--coral-300);
}

.stat-icon svg {
    width: 20px;
    height: 20px;
}

.stat-number {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.813rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
    background: var(--coral-500);
    overflow: hidden;
    padding: 0.875rem 0;
}

.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marquee 28s linear infinite;
    width: max-content;
}

.marquee span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   SECTION SHARED
   ============================================ */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--charcoal-900);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 1.063rem;
    color: var(--charcoal-500);
    line-height: 1.7;
}

/* ============================================
   MENU
   ============================================ */
.menu {
    padding: 6rem 0;
    background: var(--charcoal-50);
}

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

.menu-card {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.menu-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

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

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

.menu-card-badge {
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    background: var(--charcoal-900);
    color: #fff;
    font-size: 0.688rem;
    font-weight: 700;
    padding: 0.3rem 0.625rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.menu-card-badge--coral {
    background: var(--coral-500);
}

.menu-card-body {
    padding: 1.5rem;
}

.menu-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: 0.5rem;
}

.menu-card-body p {
    font-size: 0.938rem;
    color: var(--charcoal-500);
    line-height: 1.65;
}

.menu-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    font-size: 0.875rem;
    color: var(--charcoal-500);
    text-align: center;
    justify-content: center;
    width: 100%;
}

.menu-note svg {
    flex-shrink: 0;
    color: var(--coral-500);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 6rem 0;
    background: var(--charcoal-900);
    color: #fff;
}

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

.about-img-wrap {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 56/52;
}

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

.about-content .section-tag {
    text-align: left;
}

.about-content .section-title {
    color: #fff;
    text-align: left;
}

.about-content > p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.063rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.about-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem 1.5rem;
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.938rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.about-features svg {
    color: var(--coral-400);
    flex-shrink: 0;
}

/* ============================================
   LOCATION
   ============================================ */
.location {
    padding: 6rem 0;
    background: var(--charcoal-50);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: stretch;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--charcoal-500);
    margin-bottom: 0.25rem;
}

.info-card p, .info-card a {
    font-size: 1rem;
    color: var(--charcoal-800);
    line-height: 1.6;
}

.info-card a:hover {
    color: var(--coral-500);
    text-decoration: underline;
}

.location-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 360px;
}

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 6rem 0;
    background: var(--charcoal-900);
    position: relative;
    overflow: hidden;
}

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

.cta-inner {
    text-align: center;
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}

.cta-emoji {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1.25rem;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.cta-sub {
    font-size: 1.063rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 2.25rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal-900);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3.5rem 0 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.938rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.938rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 2rem;
    font-size: 0.813rem;
}

/* ============================================
   REVEAL ANIMATIONS (progressive enhancement)
   ============================================ */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal.is-hidden {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-cards {
        margin: 0 auto;
        max-width: 380px;
    }

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

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

    .about-content .section-tag,
    .about-content .section-title {
        text-align: center;
    }

    .about-content > p {
        text-align: center;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(17, 24, 39, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.25rem;
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.35s ease, opacity 0.35s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

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

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 7rem 0 4rem;
        min-height: auto;
    }

    .hero-cards {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        max-width: 100%;
    }

    .hero-card--photo {
        grid-column: 1 / -1;
        grid-row: 1;
        aspect-ratio: 16/9;
    }

    .hero-card--photo img {
        aspect-ratio: 16/9;
    }

    .hero-card--stat {
        grid-column: 1;
        grid-row: 2;
    }

    .hero-card--tag {
        grid-column: 2;
        grid-row: 2;
    }

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

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

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

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

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

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

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

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