/* --------------------------------------------------------------
   PizzaMahn LAMP Site Styles
   Replicates pizzamahn.com visual design without external frameworks.
-------------------------------------------------------------- */

@font-face {
    font-family: 'WixMadeforText';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    /* Note: Only TTF available for regular weight */
    src: url('../fonts/WixMadeforTextApp-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'WixMadeforText';
    font-weight: 400;
    font-style: italic;
    font-display: swap;
    /* Note: Only TTF available for italic weight */
    src: url('../fonts/WixMadeforTextApp-Italic.ttf') format('truetype');
}

@font-face {
    font-family: 'WixMadeforText';
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/WixMadeforText-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'WixMadeforText';
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url('../fonts/WixMadeforText-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'WixMadeforText';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    /* Note: Only TTF available for bold weight */
    src: url('../fonts/WixMadeforTextApp-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'WixMadeforText';
    font-weight: 700;
    font-style: italic;
    font-display: swap;
    /* Note: Only TTF available for bold italic weight */
    src: url('../fonts/WixMadeforTextApp-BoldItalic.ttf') format('truetype');
}

@font-face {
    font-family: 'WixMadeforText';
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    /* Note: Only TTF available for extra-bold weight */
    src: url('../fonts/WixMadeforTextApp-ExtraBold.ttf') format('truetype');
}

@font-face {
    font-family: 'WixMadeforText';
    font-weight: 800;
    font-style: italic;
    font-display: swap;
    /* Note: Only TTF available for extra-bold italic weight */
    src: url('../fonts/WixMadeforTextApp-ExtraBoldItalic.ttf') format('truetype');
}

:root {
    color-scheme: light;
    --font-base: 'WixMadeforText', 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
    /* Warm color palette matching theme */
    --color-warm-cream: #F9F3E7;
    --color-warm-peach: #FFE5D4;
    --color-orange: #EA580C;
    --color-orange-vibrant: #F97316;
    --color-dark-blue: #1E293B;
    --color-dark-red: #991B1B;
    --color-charcoal: #202020;
    /* Theme colors */
    --color-bg: #F9F3E7;
    --color-surface: #FFFFFF;
    --color-surface-muted: rgba(249, 243, 231, 0.9);
    --color-accent: #EA580C;
    --color-accent-dark: #C2410C;
    --color-accent-soft: rgba(234, 88, 12, 0.15);
    --color-primary: #1E293B;
    --color-primary-dark: #0F172A;
    --color-primary-accent: #F97316;
    --color-danger: #DC2626;
    --color-danger-soft: #FECACA;
    --color-text: #1E293B;
    --color-text-muted: #334155;
    --color-text-soft: #64748B;
    --color-border: #E5E7EB;
    --color-border-strong: #FED7AA;
    --color-shadow: rgba(15, 23, 42, 0.08);
    --color-orange-light: rgba(234, 88, 12, 0.15);
    --color-background-light: #FFF7ED;
    --container-max: 1200px;
}

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

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-base);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
}

body.menu-open {
    overflow: hidden;
}

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

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

/* Global Focus Styles for Accessibility */
*:focus-visible {
    outline: 2px solid var(--color-orange);
    outline-offset: 2px;
}

/* Remove default outline for mouse users, keep for keyboard */
*:focus:not(:focus-visible) {
    outline: none;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    z-index: 999;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 1rem;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.container {
    width: min(100% - 3rem, var(--container-max));
    margin-inline: auto;
}

.hero__nav {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(100% - 2rem, var(--container-max));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 1rem;
    z-index: 10;
}

/* Base: Hide hamburger button on desktop */
.hero__nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.hero__nav-toggle:hover,
.hero__nav-toggle:focus {
    background: rgba(0, 0, 0, 0.05);
    outline: none;
}

.hero__nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 9999px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Mobile menu overlay - must be BEHIND the menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100; /* MUCH lower than menu */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Ensure overlay only covers the RIGHT side (not the menu) */
@media (max-width: 768px) {
    .mobile-menu-overlay.active {
        /* Clip the overlay to not cover the menu area */
        clip-path: inset(0 0 0 50vw);
    }
}

/* --------------------------------------------------------------
   Mobile Menu Morph Animation (Open State)
-------------------------------------------------------------- */

/* Hide the middle bar */
.hero__nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

/* Rotate and position the top bar */
.hero__nav-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

/* Rotate and position the bottom bar */
.hero__nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero__nav-brand {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    color: var(--color-text);
    text-transform: uppercase;
    text-decoration: none;
}

.hero__nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}


.hero__nav-link {
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.hero__nav-link:hover,
.hero__nav-link:focus-visible {
    color: var(--color-orange);
    opacity: 0.9;
    outline: 2px solid var(--color-orange);
    outline-offset: 2px;
    border-radius: 4px;
}

.hero__nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero__nav-btn {
    padding: 0.45rem 1.35rem;
    font-size: 0.9rem;
    border-radius: 999px;
}

.hero__nav-btn.btn--outline {
    border-color: var(--color-orange);
    color: #fff;
    background: var(--color-orange);
}

.hero__nav-btn.btn--outline:hover,
.hero__nav-btn.btn--outline:focus-visible {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    transform: translateY(-1px);
}

/* Desktop: hide mobile navigation */
.hero__nav-links--mobile {
    display: none;
}

@media (max-width: 768px) {
    /* Fixed navigation bar at top of viewport - full width with flexbox */
    .hero__nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        transform: none; /* Remove any desktop centering transform */
        min-height: 60px;
        padding: 10px 15px;
        background-color: rgba(249, 243, 231, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 9999; /* Extremely high z-index */
        /* Flexbox to push brand left and toggle right */
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    /* Push hero content down to account for fixed nav */
    .hero__content {
        padding-top: 80px;
        min-height: 60vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 1.5rem;
    }
    
    /* Improve text contrast and sizes for mobile readability */
    .hero__title {
        font-size: clamp(2.25rem, 5vw + 1rem, 3.5rem);
        font-weight: 800;
        line-height: 1.1;
        color: var(--color-text);
    }
    
    .hero__subtitle {
        font-size: clamp(1.1rem, 2vw + 0.5rem, 1.25rem);
        font-weight: 500;
        line-height: 1.5;
        color: var(--color-text);
    }
    
    .hero__lead {
        font-size: clamp(1rem, 1.5vw + 0.5rem, 1.1rem);
        line-height: 1.6;
        color: var(--color-text);
    }
    
    .hero__cta {
        margin-top: auto;
        padding-top: 2rem;
    }

    /* Push other page content down for fixed nav */
    .hero {
        padding-top: 0;
    }

    /* Hamburger toggle - use static positioning within flex container */
    .hero__nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        position: static; /* Let flexbox handle positioning */
        right: auto;
        left: auto;
        margin: 0;
        order: 3; /* Ensure it's last in flex order */
        z-index: 10000; /* Highest z-index to guarantee clicks */
        opacity: 1;
        visibility: visible;
        pointer-events: auto; /* CRITICAL: Allows clicks */
        cursor: pointer;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        -webkit-tap-highlight-color: transparent;
    }

    /* Ensure brand is pushed to the left */
    .hero__nav-brand {
        margin-right: auto;
        order: 1;
    }

    /* Make hamburger lines clearly visible */
    .hero__nav-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background-color: #1E293B; /* Dark color for visibility */
        border-radius: 2px;
        opacity: 1;
        visibility: visible;
    }

    /* Hide desktop menu and actions on mobile */
    .hero__nav-links--desktop,
    .hero__nav-actions {
        display: none;
    }
    
    /* Mobile menu - use transform for hiding, not display */
    /* The transform: translateX(-100%) handles the hidden state */

    /* Menu slides in from left at 50% width */
    .hero__nav-links.hero__nav-links--mobile {
        position: fixed;
        top: 0;
        left: 0;
        right: auto;
        width: 50vw;
        height: 100vh;
        background: #ffffff;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        align-content: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding: 0;
        padding-top: 60px;
        padding-left: 0;
        text-align: left;
        z-index: 9998;
        overflow-y: auto;
        overflow-x: hidden;
        transform: translateX(-100%);
        transition: transform 0.3s ease-out;
        visibility: visible;
        display: flex;
    }

    .hero__nav-links.hero__nav-links--mobile.mobile-menu-open {
        transform: translateX(0);
    }

    /* Ensure menu content is visible and clickable */
    .hero__nav-links.hero__nav-links--mobile .mobile-menu-content {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 1rem;
        pointer-events: auto;
    }

    .hero__nav-links.hero__nav-links--mobile .mobile-menu-section {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    /* Make all menu links visible and clickable */
    .hero__nav-links.hero__nav-links--mobile a,
    .hero__nav-links.hero__nav-links--mobile .hero__nav-link {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem;
        color: #1E293B;
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        pointer-events: auto;
        cursor: pointer;
        background: transparent;
        border: none;
        text-align: left;
    }

    .hero__nav-links.hero__nav-links--mobile a:hover,
    .hero__nav-links.hero__nav-links--mobile .hero__nav-link:hover {
        background: rgba(234, 88, 12, 0.1);
        color: #EA580C;
    }

    /* Close button - positioned top right of menu panel */
    .mobile-menu-close {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        left: auto;
        background: transparent;
        border: none;
        font-size: 1.5rem;
        line-height: 1;
        color: var(--color-text);
        cursor: pointer;
        padding: 0.5rem;
        width: 2.5rem;
        height: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
        transition: color 0.2s ease, background-color 0.2s ease;
        border-radius: 50%;
    }

    .mobile-menu-close:hover,
    .mobile-menu-close:focus {
        color: var(--color-orange);
        background-color: rgba(234, 88, 12, 0.1);
        outline: none;
    }

    /* Menu content wrapper */
    .mobile-menu-content {
        padding-top: 0;
        padding-bottom: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        pointer-events: auto;
    }

    /* Menu sections */
    .mobile-menu-section {
        margin-top: 1.75rem;
        padding: 0;
        width: 100%;
        text-align: left;
        pointer-events: auto;
    }

    .mobile-menu-section:first-of-type {
        margin-top: 0;
    }

    .mobile-menu-section__header {
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        color: var(--color-text-soft);
        margin-bottom: 0.5rem;
        padding: 0;
        text-align: left;
    }

    /* Force all menu links to be left-aligned and full width */
    .hero__nav-links.hero__nav-links--mobile .hero__nav-link {
        font-size: 1.1rem;
        padding: 0.875rem 1.5rem;
        width: 100%;
        text-align: left;
        border-radius: 0;
        background: transparent;
        border: none;
        display: block;
        margin: 0;
        color: var(--color-text);
        text-decoration: none;
        font-weight: 700;
        transition: background-color 0.2s ease, color 0.2s ease;
        box-shadow: none;
        line-height: 1.4;
        cursor: pointer;
    }

    /* Ensure all links in the mobile menu are styled consistently and clickable */
    .hero__nav-links.hero__nav-links--mobile a {
        display: block;
        width: 100%;
        padding-left: 1.5rem;
        text-align: left;
        cursor: pointer;
        position: relative;
        z-index: 300; /* Higher than menu (200) and overlay (100) */
    }

    /* Home link styling */
    .hero__nav-link--home {
        padding: 1.25rem 1rem;
        margin-bottom: 0.75rem;
        background: linear-gradient(135deg, rgba(234, 88, 12, 0.12) 0%, rgba(249, 115, 22, 0.08) 100%);
        color: var(--color-orange);
        font-weight: 800;
        font-size: 1.2rem;
        border-radius: 0.75rem;
    }

    .hero__nav-link--home:hover,
    .hero__nav-link--home:focus {
        background: linear-gradient(135deg, rgba(234, 88, 12, 0.18) 0%, rgba(249, 115, 22, 0.12) 100%);
        transform: translateX(4px);
    }

    .hero__nav-link:hover,
    .hero__nav-link:focus {
        background: rgba(234, 88, 12, 0.08);
        color: var(--color-orange);
        box-shadow: none;
        transform: translateX(4px);
        outline: none;
    }

    .hero__nav-link:active {
        background: rgba(234, 88, 12, 0.12);
        box-shadow: none;
        transform: translateX(2px);
    }

    /* Hide Sign In/Sign Out button in mobile menu - it should be in nav-actions, not in the menu */
    .hero__nav-links .hero__nav-btn,
    .hero__nav-links .btn {
        display: none;
    }

    .hero__nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        width: auto;
        min-width: auto;
        max-width: none;
        justify-content: center;
        white-space: nowrap;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 48px;
        width: 100%;
        max-width: 100%;
    }
}

.btn--outline {
    background: #fff;
    color: var(--color-orange);
    border: 2px solid var(--color-orange);
    border-color: var(--color-orange);
}

.btn--outline:hover,
.btn--outline:focus-visible {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--color-accent-dark);
    color: var(--color-accent-dark);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2);
    transform: translateY(-1px);
    outline: none;
}

.btn--outline:active {
    transform: scale(0.98);
    box-shadow: 0 3px 10px rgba(234, 88, 12, 0.15);
}

.btn--primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.28);
    border: 2px solid transparent;
}

.btn--primary:hover,
.btn--primary:focus-visible {
    transform: translateY(-1px);
    background: var(--color-accent-dark);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.4);
    outline: none;
}

.btn--primary:active {
    transform: scale(0.98);
    box-shadow: 0 5px 15px rgba(234, 88, 12, 0.3);
}

.page {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* General content pages with warm theme background */
.page-content,
main.page-content,
main:not(.hero):not(.account-page):not(.page--form) {
    background: linear-gradient(180deg, #F9F3E7 0%, #FFE5D4 100%);
    min-height: 100vh;
}

/* Ensure body has background for content pages */
body.page-content-body,
body:has(main.page-content),
body:has(.page-content) {
    background: linear-gradient(180deg, #F9F3E7 0%, #FFE5D4 100%);
}

.page--form {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(180deg, #F9F3E7 0%, #FFE5D4 100%);
    display: flex;
    flex-direction: column;
    gap: 3rem;
    overflow: hidden;
}

.page--form::before,
.page--form::after {
    content: '';
    position: absolute;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.page--form::before {
    top: 10%;
    left: 5%;
    background: #FFE5D4;
}

.page--form::after {
    bottom: 5%;
    right: 10%;
    background: #FED7AA;
}

.page-header {
    text-align: center;
    padding: 2rem 1.5rem 0;
}

.page-header h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(2rem, 3vw + 1rem, 3.25rem);
}

.page-header p {
    color: var(--color-text-muted);
    margin: 0;
}

.form-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: clamp(2rem, 4vw, 3.5rem);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
    border: 2px solid #D1D5DB;
    max-width: 720px;
    width: min(100% - 3rem, 720px);
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}
.debug-alert {
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    color: #92400E;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.debug-alert ul {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}


.stacked-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.stacked-form .form-field span {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.stacked-form .form-control,
.stacked-form input[type="checkbox"] {
    width: 100%;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.checkbox-field input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--color-orange);
    border: 2px solid #6B7280; /* 3:1 contrast ratio */
    border-radius: 4px;
    cursor: pointer;
}

.checkbox-field input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--color-orange);
    outline-offset: 2px;
}

.form-meta {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin: 0;
}

.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 1.5rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: #6B7280;
}

.social-login-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-button {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    border: 2px solid #6B7280;
    font-weight: 600;
    color: var(--color-text);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-button:hover,
.social-button:focus-visible {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.2);
    transform: translateY(-1px);
    outline: none;
}

.social-button--google {
    background: #fff;
}

.social-button--microsoft {
    background: #f5f5f5;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    box-shadow: 0 0 0px 1000px #fff inset;
    -webkit-text-fill-color: var(--color-text);
    caret-color: var(--color-text);
}


.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #F9F3E7 0%, #FFE5D4 100%);
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(120px);
    opacity: 0.25;
    pointer-events: none;
}

.hero::before {
    width: 18rem;
    height: 18rem;
    top: 15%;
    left: 10%;
    background: #FFE5D4;
}

.hero::after {
    width: 18rem;
    height: 18rem;
    bottom: 10%;
    right: 15%;
    background: #FED7AA;
}

.hero__content {
    position: relative;
    text-align: center;
    padding: 6rem 1.5rem 6rem;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero__banner {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 1.75rem;
    border: 2px solid rgba(234, 88, 12, 0.5);
    background: rgba(234, 88, 12, 0.15);
    color: var(--color-dark-red);
    font-weight: 700;
    box-shadow: 0 20px 35px rgba(234, 88, 12, 0.25);
    margin-bottom: 2rem;
}

.hero__cap {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(234, 88, 12, 0.5);
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--color-text-muted);
    box-shadow: 0 15px 40px rgba(234, 88, 12, 0.15);
}

.hero__logo {
    margin: 0 auto 2.5rem;
    width: min(20rem, 70vw);
}

.hero__title {
    font-size: clamp(3rem, 5vw + 1rem, 6rem);
    font-weight: 800;
    margin: 0 0 1.5rem;
    color: var(--color-primary);
    line-height: 1.05;
}

.hero__title span {
    color: var(--color-orange-vibrant);
}

.hero__subtitle {
    font-size: clamp(1.25rem, 1.5vw + 1rem, 2rem);
    color: var(--color-text-muted);
    margin: 0 auto 1.5rem;
    max-width: 720px;
}

.hero__details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    color: var(--color-text-soft);
    font-weight: 500;
}

.hero__details span {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    border: 2px solid #6B7280;
}

.hero__lead {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin: 0 auto 2.5rem;
    max-width: 640px;
}

.hero__cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 2rem;
}

.btn--hero-cta {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn--hero-cta.btn--outline {
    background: transparent;
    border: 2px solid var(--color-orange);
    color: var(--color-orange);
}

.btn--hero-cta.btn--outline:hover {
    background: var(--color-orange);
    color: white;
}

.btn--hero-cta:active {
    transform: scale(0.98);
}

@media (min-width: 640px) {
    .hero__cta {
        flex-direction: row;
        width: auto;
    }
    
    .btn--hero-cta {
        width: auto;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .hero__cta .btn {
        width: 100%;
        max-width: 100%;
    }
}

.menu {
    background: var(--color-surface);
    padding: 6rem 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: #FFEDD5;
    color: #9A3412;
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-heading__title {
    font-size: clamp(2.5rem, 2vw + 2rem, 3.5rem);
    margin: 0 0 1rem;
    color: var(--color-text);
    font-weight: 800;
}

.section-heading__text {
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.menu__group-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 2rem;
    color: var(--color-text);
}

.menu__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.menu-card {
    background: var(--color-surface);
    border-radius: 1rem;
    border: 2px solid transparent;
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.08);
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.menu-card:hover,
.menu-card:focus-within {
    border-color: rgba(234, 88, 12, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 30px 40px rgba(234, 88, 12, 0.22);
}

.menu-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.menu-card__icon {
    font-size: 1.75rem;
}

.menu-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-text);
}

.menu-card__price {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-accent);
}

.menu-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.menu-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.menu-card__badge--spicy {
    background: #FEE2E2;
    color: #B91C1C;
    border-color: #FCA5A5;
}

.menu-card__badge--signature {
    background: #FEF3C7;
    color: #B45309;
    border-color: #FCD34D;
}

.menu-card__description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin: 0;
}

.reservation {
    padding: 6rem 0;
    background: linear-gradient(180deg, #F9F3E7 0%, #FFE5D4 100%);
}

.reservation-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 1.5rem;
    border: 2px solid rgba(234, 88, 12, 0.4);
    box-shadow: 0 35px 70px rgba(234, 88, 12, 0.15);
    padding: clamp(2rem, 3vw + 1.5rem, 4rem);
}

.reservation__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.reservation__icon {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 999px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-vibrant));
    display: grid;
    place-items: center;
}

.reservation__title {
    font-size: clamp(2.5rem, 3vw + 1.5rem, 3.75rem);
    margin: 0 0 1rem;
    font-weight: 800;
    color: var(--color-text);
}

.alert {
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 2px solid transparent;
}

.alert--danger {
    background: #FEE2E2;
    border-color: #FCA5A5;
    color: #B91C1C;
}

.alert--success {
    background: #DCFCE7;
    border-color: #86EFAC;
    color: #166534;
}

.reservation__description {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 620px;
    margin: 0 auto 1.5rem;
}

.reservation__highlight {
    background: linear-gradient(135deg, rgba(255, 237, 213, 0.9), rgba(254, 215, 170, 0.9));
    border: 2px solid rgba(234, 88, 12, 0.5);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.reservation-form {
    display: grid;
    gap: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.form-field label {
    font-weight: 600;
    color: var(--color-text);
    font-size: 1.05rem;
}

.form-row {
    display: grid;
    gap: 1.5rem;
}

.form-row--split {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width: 768px) {
    .form-row--split {
        grid-template-columns: 1fr;
    }
}

.form-control {
    width: 100%;
    border: 2px solid #6B7280; /* Darker gray for 3:1 contrast ratio */
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
}

@media (max-width: 768px) {
    .form-control {
        padding: 1rem 1.25rem;
        font-size: 16px;
        min-height: 48px;
        border-radius: 0.75rem;
    }

    input[type="date"],
    input[type="time"],
    input[type="email"],
    input[type="tel"],
    input[type="text"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px;
    }
}

.form-control:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.4);
    outline: none;
}

.form-control.has-error,
.form-control.has-error:focus {
    border-color: var(--color-danger);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.4);
}

.form-error {
    color: var(--color-danger);
    font-size: 0.9rem;
}

.reservation__footnote {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #6B7280;
    text-align: center;
    color: var(--color-text-soft);
    font-size: 0.95rem;
}

.contact {
    background: #111827;
    color: #fff;
    padding: 5rem 0 4rem;
}

.contact__content {
    text-align: center;
}

.contact__title {
    font-size: 2rem;
    margin: 0 0 0.75rem;
    font-weight: 700;
}

.contact__subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.contact__grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    align-items: center;
    font-size: 1.1rem;
}

.contact__link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.contact__link:hover,
.contact__link:focus-visible {
    color: #F97316;
    transform: translateY(-2px);
    outline: none;
}

.contact__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #F97316;
    color: #fff;
}

.contact__meta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

.contact__meta p {
    margin: 0;
}

.contact__tagline {
    margin-top: 0.5rem;
}

.site-footer {
    background: #0B1220;
    color: rgba(255, 255, 255, 0.7);
    padding: 2.5rem 0;
    text-align: center;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.footer-tagline {
    margin: 0 0 0.75rem;
}

.footer-meta {
    font-size: 0.9rem;
    margin: 0;
}

.flash-message {
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    border: 2px solid transparent;
    font-weight: 600;
}

.flash-message--error {
    background: #FEE2E2;
    border-color: #FCA5A5;
    color: #B91C1C;
}

.flash-message--success {
    background: #DCFCE7;
    border-color: #86EFAC;
    color: #166534;
}

/* Account page background - multiple selectors for maximum compatibility */
main.account-page,
#main-content.account-page,
.page.account-page,
.account-page {
    background: linear-gradient(180deg, #F9F3E7 0%, #FFE5D4 100%);
    min-height: 100vh;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

/* Body background for account page */
body.account-page-body {
    background: linear-gradient(180deg, #F9F3E7 0%, #FFE5D4 100%);
}

/* Fallback for browsers that support :has() */
body:has(main.account-page),
body:has(#main-content.account-page) {
    background: linear-gradient(180deg, #F9F3E7 0%, #FFE5D4 100%);
}

.account-nav {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 2px solid #D1D5DB;
    padding: 1rem 0;
    margin-bottom: 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.account-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-nav__brand {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--color-text);
    text-transform: uppercase;
    text-decoration: none;
}

.account-nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    pointer-events: none;
}

.account-nav__toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.account-nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.account-nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.account-nav__links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.account-nav__links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-weight: 500;
    transition: color 0.2s ease;
}

.account-nav__links a:hover {
    color: var(--color-orange);
}

@media (max-width: 768px) {
    .account-nav .container {
        flex-wrap: wrap;
    }

    .account-nav__toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        order: 2;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
        z-index: 1001;
    }

    .account-nav__toggle span {
        background: var(--color-text);
        width: 24px;
        height: 2px;
        display: block;
        border-radius: 9999px;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    }

    /* Account nav morph animation */
    .account-nav__toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .account-nav__toggle.is-open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .account-nav__toggle.is-open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .account-nav__brand {
        order: 1;
        flex: 1;
    }

    .account-nav__links:not(.mobile-menu-open) {
        display: none;
    }

    .account-nav__links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding: 0;
        padding-top: 4rem;
        z-index: 1000;
        overflow-y: auto;
    }

    .account-nav__links.mobile-menu-open {
        display: flex;
    }

    .account-nav__links a {
        font-size: 1.125rem;
        padding: 1rem 1.5rem;
        width: 100%;
        text-align: left;
        border-radius: 0;
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        display: block;
        color: var(--color-text);
        text-decoration: none;
        font-weight: 500;
        transition: background-color 0.2s ease;
    }

    .account-nav__links a:hover,
    .account-nav__links a:focus {
        background: rgba(0, 0, 0, 0.04);
        color: var(--color-text);
    }

    .account-nav__links a:active {
        background: rgba(0, 0, 0, 0.08);
    }
}

.account-page .page-header {
    text-align: center;
    padding: 2rem 1.5rem 1rem;
}

.account-page .page-header h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(2rem, 3vw + 1rem, 3.25rem);
    color: var(--color-primary);
}

.account-page .page-header p {
    color: var(--color-text-muted);
    margin: 0;
}

.account-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .account-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.account-panel {
    background: #fff;
    border-radius: 1.5rem;
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
    border: 2px solid #D1D5DB;
}

.account-panel h2 {
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.account-panel fieldset {
    border: 2px solid #D1D5DB;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.account-panel legend {
    font-weight: 600;
    color: var(--color-text);
    padding: 0 0.75rem;
}

.preference-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.preference-option:last-child {
    margin-bottom: 0;
}

.preference-option span {
    font-weight: 500;
    color: var(--color-text);
}

.preference-option input[type="text"],
.preference-option select {
    flex: 1;
    max-width: 200px;
    border: 2px solid #6B7280; /* Darker gray for 3:1 contrast ratio */
    border-radius: 0.65rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
}

.preference-option input[type="text"]:focus,
.preference-option select:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.4);
    outline: none;
}

.responsive-table {
    overflow-x: auto;
    margin-top: 1.5rem;
}

.responsive-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.responsive-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--color-text);
    border-bottom: 2px solid #6B7280;
}

.responsive-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #E5E7EB;
    color: var(--color-text-muted);
}

.responsive-table tbody tr:hover {
    background: rgba(234, 88, 12, 0.05);
}

.responsive-table a {
    color: var(--color-orange);
    text-decoration: underline;
}

.responsive-table a:hover {
    color: var(--color-accent-dark);
}

@media (max-width: 768px) {
    .hero::before,
    .hero::after {
        width: 12rem;
        height: 12rem;
        filter: blur(90px);
    }

    .reservation-card {
        padding: 2rem;
    }

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

/* --------------------------------------------------------------
   Events Section - Mobile-First Card Grid
-------------------------------------------------------------- */
.events-section {
    background: var(--color-surface);
    padding: 4rem 0;
}

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.event-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    text-decoration: none;
    color: inherit;
    min-height: 80px;
    /* CRITICAL: Add a strong shadow for depth */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 0 0 4px var(--color-orange-light);
    /* Use a left border as a visual accent */
    border-left: 6px solid var(--color-orange);
    border-top: none;
    border-right: none;
    border-bottom: none;
    /* Subtle animation on tap to acknowledge touch */
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.event-card:hover {
    border-color: var(--color-orange);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.15), 0 0 0 4px var(--color-orange-light);
    transform: translateY(-2px);
}

/* Add touch feedback for mobile users */
.event-card:active {
    transform: scale(0.98);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), 0 0 0 2px var(--color-orange);
}

.event-card:focus-visible {
    outline: 2px solid var(--color-orange);
    outline-offset: 2px;
}

.event-card__date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Use a contrasting background for the date itself */
    background-color: var(--color-orange);
    color: white;
    border-radius: 8px;
    padding: 0.5rem;
    width: 80px;
    min-width: 80px;
    height: 80px;
    flex-shrink: 0;
    float: left;
    margin-right: 1.25rem;
}

.event-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-orange) 0%, #DC2626 100%);
    border-radius: 0.75rem;
    color: #fff;
    flex-shrink: 0;
}

.event-card__date--past {
    background: linear-gradient(135deg, #64748B 0%, #475569 100%);
}

.event-card__month {
    font-size: 0.8rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.event-card__day {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    margin: 0;
}

.event-card__content {
    flex: 1;
    min-width: 0;
}

.event-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 0.25rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.event-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.event-card__meta span {
    display: inline-flex;
    align-items: center;
}

.event-card__meta span::before {
    content: "•";
    margin-right: 0.5rem;
    color: var(--color-orange);
}

.event-card__meta span:first-child::before {
    display: none;
}

.event-card__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
}

.event-card__badge--soldout {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
}

.event-card__badge--limited {
    background: rgba(234, 88, 12, 0.1);
    color: var(--color-orange);
}

.event-card__badge--gallery {
    background: rgba(100, 116, 139, 0.1);
    color: #64748B;
}

.event-card__arrow {
    color: var(--color-text-muted);
    flex-shrink: 0;
    transition: transform 0.2s, color 0.2s;
}

.event-card:hover .event-card__arrow {
    color: var(--color-orange);
    transform: translateX(4px);
}

/* Past Events Section */
.events-past {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #E5E7EB;
}

.events-past__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 0.25rem;
}

.events-past__text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin: 0 0 1.5rem;
}

.events-past__grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Extra emphasis for the NEXT upcoming event */
.event-card--next {
    /* Use a slightly darker background to make it stand out from the others */
    background-color: var(--color-background-light);
    /* Use a glowing effect for the next event */
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.4), 0 0 0 5px var(--color-orange);
    /* Make the entire card slightly larger to command attention */
    transform: scale(1.02);
}

.event-card--next:hover {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 18px 45px rgba(255, 140, 0, 0.5), 0 0 0 5px var(--color-orange);
}

.event-card--past {
    background: #F9FAFB;
    border-color: #E5E7EB;
}

.event-card--past:hover {
    border-color: #64748B;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.event-card--past .event-card__title {
    font-size: 0.95rem;
}

/* Mobile: Event Cards */
@media (max-width: 767px) {
    .event-card__date-block {
        width: 70px;
        min-width: 70px;
        height: 70px;
        margin-right: 1rem;
        padding: 0.4rem;
    }
    
    .event-card__month {
        font-size: 0.75rem;
    }
    
    .event-card__day {
        font-size: 1.75rem;
    }
    
    .event-card--next {
        transform: scale(1.01);
    }
}

/* Desktop: Event Cards Grid */
@media (min-width: 768px) {
    .events-section {
        padding: 5rem 0;
    }
    
    .events-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .event-card {
        padding: 1.25rem;
    }
    
    .event-card__date-block {
        width: 90px;
        min-width: 90px;
        height: 90px;
        margin-right: 1.5rem;
        padding: 0.6rem;
    }
    
    .event-card__month {
        font-size: 0.85rem;
    }
    
    .event-card__day {
        font-size: 2.25rem;
    }
    
    .event-card__date {
        min-width: 64px;
        height: 64px;
    }
    
    .event-card__title {
        font-size: 1.1rem;
        white-space: normal;
    }
    
    .events-past__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .events-past__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Event Bar Component */
.event-bar {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.1) 0%, rgba(251, 146, 60, 0.1) 100%);
    border-top: 2px solid rgba(234, 88, 12, 0.2);
    border-bottom: 2px solid rgba(234, 88, 12, 0.2);
    padding: 1.5rem 0;
    margin-top: 2rem;
}

.event-bar__content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.event-bar__icon {
    font-size: 1.5rem;
    line-height: 1;
}

.event-bar__events {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.event-bar__label {
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
}

.event-bar__list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.event-bar__event-text {
    color: var(--color-text);
    font-size: 0.95rem;
}

.event-bar__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.event-bar__menu-link {
    color: var(--color-orange);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
    white-space: nowrap;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-bar__menu-link:hover,
.event-bar__menu-link:focus-visible {
    background: rgba(234, 88, 12, 0.1);
}

.event-bar__cta {
    background: var(--color-orange);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s, transform 0.1s;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-bar__cta:hover,
.event-bar__cta:focus-visible {
    background: var(--color-orange-dark);
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .event-bar__content {
        flex-direction: column;
        text-align: center;
    }
    
    .event-bar__events {
        flex-direction: column;
        width: 100%;
    }
    
    .event-bar__list {
        justify-content: center;
        text-align: center;
    }
    
    .event-bar__event-text {
        font-size: 0.9rem;
    }
    
    .event-bar__actions {
        width: 100%;
        flex-direction: column;
    }
    
    .event-bar__menu-link,
    .event-bar__cta {
        width: 100%;
        max-width: 300px;
    }
}

/* Countdown Timer Styles */
.event-reservation__countdown {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(234, 88, 12, 0.1);
    border: 2px solid rgba(234, 88, 12, 0.3);
    border-radius: 0.5rem;
    text-align: center;
}

.countdown-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.countdown-display {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-orange);
}

.countdown-expired .countdown-display {
    color: #DC2626;
}

@media (max-width: 767px) {
    .event-reservation__countdown {
        padding: 0.75rem;
    }
    
    .countdown-display {
        font-size: 1.1rem;
    }
}

/* Mobile Spacing Fixes */
@media (max-width: 767px) {
    /* Paragraph spacing */
    p {
        margin-bottom: 1rem;
        line-height: 1.6;
    }
    
    /* Logo sizing */
    .hero__logo {
        max-width: 120px;
        height: auto;
    }
    
    /* Footer padding */
    .site-footer {
        padding: 2rem 1.5rem;
    }
    
    .site-footer .container {
        padding: 0;
    }
    
    /* Section spacing */
    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Form field spacing */
    .form-field {
        margin-bottom: 1.25rem;
    }
    
    /* Touch target sizes - ensure minimum 44x44px */
    .btn,
    .hero__nav-link,
    .event-bar__cta,
    a.btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Menu section spacing */
    .menu {
        padding: 3rem 0;
    }
    
    /* Story section spacing */
    .story-section {
        padding: 3rem 1rem;
    }
    
    .story-content p {
        margin-bottom: 1.25rem;
    }
    
    /* Merchandise section spacing */
    .merchandise-section {
        padding: 3rem 1rem;
    }
    
    /* Club section spacing */
    .pizzamahn-club {
        padding: 3rem 1rem;
    }
    
    /* Event reservation form - ensure visible above fold */
    .event-reservation {
        margin-top: 1rem;
        padding: 1.5rem;
    }
    
    .event-reservation__header {
        margin-bottom: 1.5rem;
    }
    
    /* Form inputs larger on mobile */
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.875rem;
        min-height: 48px;
    }
    
    /* Ensure menu button is prominent */
    .hero__nav-link[href*="#menu"] {
        font-weight: 600;
    }
    
    /* Add padding to body to account for bottom nav */
    body {
        padding-bottom: 80px;
    }
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 767px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--color-surface, #fff);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 10000;
        padding-bottom: env(safe-area-inset-bottom);
        padding-top: 0.5rem;
        justify-content: space-around;
        align-items: center;
    }
    
    .mobile-bottom-nav__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        padding: 0.75rem 1rem;
        text-decoration: none;
        color: var(--color-text-muted);
        font-size: 0.75rem;
        font-weight: 600;
        min-width: 60px;
        min-height: 60px;
        transition: color 0.2s, transform 0.1s;
        -webkit-tap-highlight-color: transparent;
    }
    
    .mobile-bottom-nav__item svg {
        width: 24px;
        height: 24px;
    }
    
    .mobile-bottom-nav__item:active {
        transform: scale(0.95);
    }
    
    .mobile-bottom-nav__item:focus-visible {
        outline: 2px solid var(--color-orange);
        outline-offset: -2px;
        border-radius: 0.5rem;
    }
    
    /* Highlight active item based on current section */
    .mobile-bottom-nav__item[href="#menu"]:hover,
    .mobile-bottom-nav__item[href="#events"]:hover,
    .mobile-bottom-nav__item[href^="tel"]:hover {
        color: var(--color-orange);
    }
}

/* Event Calendar and Maps Links */
.event-calendar-link,
.event-maps-link {
    transition: opacity 0.2s, transform 0.1s;
}

.event-calendar-link:hover,
.event-calendar-link:focus-visible,
.event-maps-link:hover,
.event-maps-link:focus-visible {
    opacity: 0.8;
    transform: translateY(-1px);
    text-decoration: underline;
}

@media (max-width: 767px) {
    .event-calendar-link span,
    .event-maps-link span {
        font-size: 0.8rem;
    }
}

