/* ========================================
   THE EXPRESS MARKET — Custom Styles
   Deep Navy + Warm Gold | Geometric Modern
   ======================================== */

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

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

body {
    margin: 0;
    position: relative;
}

/* --- Geometric Background Shapes --- */
.geo-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    opacity: 0.04;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: #D4A017;
    top: -200px;
    right: -150px;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #0A1628;
    bottom: 20%;
    left: -100px;
}

.geo-rect-1 {
    width: 200px;
    height: 200px;
    background: #D4A017;
    top: 50%;
    right: 10%;
    transform: rotate(45deg);
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #0A1628;
    top: 30%;
    left: 5%;
    opacity: 0.03;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(254, 252, 248, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10, 22, 40, 0.06);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 4px 30px rgba(10, 22, 40, 0.08);
}

.nav-inner {
    position: relative;
    z-index: 10;
}

.nav-logo-mark {
    font-size: 1.2rem;
}

.nav-links {
    position: relative;
    z-index: 10;
}

.nav-link {
    position: relative;
}

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

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

.nav-cta {
    box-shadow: 0 2px 10px rgba(212, 160, 23, 0.3);
}

.nav-cta:hover {
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.4);
    transform: translateY(-1px);
}

.nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #0A1628;
}

/* Mobile menu */
.mobile-menu {
    background: rgba(254, 252, 248, 0.98);
    backdrop-filter: blur(12px);
}

.mobile-menu.open {
    max-height: 400px;
}

.mobile-menu.closed {
    max-height: 0;
}

.mobile-menu-link {
    display: block;
    text-decoration: none;
    border-bottom: 1px solid rgba(10, 22, 40, 0.06);
}

.mobile-menu-link:last-child {
    border-bottom: none;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background: linear-gradient(135deg, #FEFCF8 0%, #FAF0D8 50%, #FDF8EE 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-geo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-circle-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.12) 0%, transparent 70%);
    top: -100px;
    right: 10%;
}

.hero-circle-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 22, 40, 0.06) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
}

.hero-rect-1 {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(212, 160, 23, 0.08);
    top: 20%;
    left: 45%;
    transform: rotate(30deg);
    border-radius: 16px;
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-badge {
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.hero-float-card {
    animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-gold-accent {
    position: absolute;
    width: 80px;
    height: 80px;
    background: #D4A017;
    border-radius: 20px;
    bottom: 20%;
    right: -20px;
    z-index: -1;
    opacity: 0.3;
}

.hero-stats {
    border-top: 1px solid rgba(10, 22, 40, 0.1);
    padding-top: 1.5rem;
}

/* --- Marquee --- */
.marquee-strip {
    position: relative;
    z-index: 1;
}

.marquee-track {
    animation: marqueeScroll 30s linear infinite;
}

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

/* --- Section Styles --- */
.section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.section-label {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #D4A017;
    background: rgba(212, 160, 23, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 100px;
}

.section-label-light {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #E8B82E;
    background: rgba(232, 184, 46, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 100px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    color: #0A1628;
    line-height: 1.1;
}

.section-title-light {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #4A5568;
    line-height: 1.7;
}

.section-subtitle-light {
    font-size: 1.125rem;
    color: #A0AEC0;
    line-height: 1.7;
}

/* --- Menu Cards --- */
.menu-grid {
    position: relative;
    z-index: 1;
}

.menu-card {
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
}

.menu-card:hover .menu-card-accent {
    transform: scale(1.3);
}

.menu-card-icon {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* --- About Section --- */
.about-section {
    background: linear-gradient(180deg, #FEFCF8 0%, #FAF0D8 100%);
}

.about-images {
    position: relative;
}

.about-img-secondary {
    border: 4px solid #FEFCF8;
}

/* --- Experience / Gallery --- */
.gallery-grid {
    position: relative;
    z-index: 1;
}

.gallery-item {
    cursor: pointer;
}

.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, #FAF0D8 0%, #FEFCF8 50%, #FDF8EE 100%);
}

.cta-geo-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-circle-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.cta-circle-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 22, 40, 0.05) 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
}

.cta-rect-1 {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(212, 160, 23, 0.06);
    top: 30%;
    right: 15%;
    transform: rotate(45deg);
    border-radius: 12px;
}

/* --- Buttons --- */
.btn-primary {
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.35);
}

.btn-secondary {
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10, 22, 40, 0.1);
}

/* --- Location --- */
.location-icon {
    box-shadow: 0 4px 12px rgba(212, 160, 23, 0.25);
}

/* --- Reveal Animations (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    /* Stagger children */
    .menu-grid .menu-card:nth-child(1) { transition-delay: 0s; }
    .menu-grid .menu-card:nth-child(2) { transition-delay: 0.1s; }
    .menu-grid .menu-card:nth-child(3) { transition-delay: 0.2s; }
    .menu-grid .menu-card:nth-child(4) { transition-delay: 0.3s; }

    .gallery-grid .gallery-item:nth-child(1) { transition-delay: 0s; }
    .gallery-grid .gallery-item:nth-child(2) { transition-delay: 0.1s; }
    .gallery-grid .gallery-item:nth-child(3) { transition-delay: 0.15s; }
    .gallery-grid .gallery-item:nth-child(4) { transition-delay: 0.2s; }
    .gallery-grid .gallery-item:nth-child(5) { transition-delay: 0.25s; }
}

/* Content is always visible by default — animation is progressive enhancement */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        padding-top: 72px;
    }

    .hero-inner {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
        max-width: 100%;
    }

    .hero-img-wrapper {
        aspect-ratio: 4/3 !important;
    }

    .hero-float-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .about-img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        height: 200px;
        margin-top: 1rem;
    }

    .about-gold-block {
        display: none;
    }

    .gallery-item:first-child {
        grid-column: span 1;
        grid-row: span 1;
    }

    .location-grid {
        gap: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-inner {
        gap: 3rem;
    }

    .hero-image {
        max-width: 50%;
    }
}

/* --- Focus styles for accessibility --- */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #D4A017;
    outline-offset: 2px;
    border-radius: 4px;
}

/* --- Selection color --- */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #0A1628;
}
