/* ============================================
   THE SPOT — Custom Styles
   Charcoal + Coral | Vibrant Modern
   ============================================ */

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

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

body {
    background-color: #0f0f16;
    color: #e3e3e8;
}

::selection {
    background: #FF6B52;
    color: #0f0f16;
}

/* ---------- Geometric Background Shapes ---------- */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.04;
}

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

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

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid #FF6B52;
    top: 45%;
    right: 5%;
    opacity: 0.03;
}

.geo-square-rotated {
    width: 200px;
    height: 200px;
    background: #FF6B52;
    top: 60%;
    left: 8%;
    transform: rotate(45deg);
    opacity: 0.03;
}

.geo-ring {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 40px solid #FF6B52;
    top: 30%;
    left: 50%;
    opacity: 0.02;
}

/* ---------- Floating Stat Cards ---------- */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.card-stat-1 {
    animation-delay: 0s;
}

.card-stat-2 {
    animation-delay: -1.5s;
}

.card-stat-3 {
    animation-delay: -3s;
}

.card-stat-4 {
    animation-delay: -4.5s;
}

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

/* ---------- Menu Cards ---------- */
.menu-card {
    position: relative;
}

.menu-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 107, 82, 0), rgba(255, 107, 82, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: background 0.4s ease;
}

.menu-card:hover::before {
    background: linear-gradient(135deg, rgba(255, 107, 82, 0.3), rgba(255, 107, 82, 0.05));
}

/* ---------- Gallery Items ---------- */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 15, 22, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

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

.animate-marquee {
    animation: marquee 20s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(15, 15, 22, 0.8);
    letter-spacing: 0.02em;
}

/* ---------- Navbar ---------- */
#navbar.scrolled {
    background: rgba(15, 15, 22, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #FF6B52;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---------- Mobile Menu ---------- */
#mobile-menu.open {
    max-height: 400px;
}

.mobile-nav-link {
    display: block;
    border-radius: 0.75rem;
}

/* ---------- Focus Styles ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #FF6B52;
    outline-offset: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }

    .geo-circle-2 {
        width: 200px;
        height: 200px;
    }

    .geo-triangle {
        display: none;
    }

    .geo-square-rotated {
        width: 100px;
        height: 100px;
    }

    .geo-ring {
        width: 150px;
        height: 150px;
        border-width: 20px;
    }

    .floating-card {
        display: none;
    }

    /* Show floating cards on touch devices via JS, or keep hidden on small screens */
    @media (min-width: 769px) {
        .floating-card {
            display: block;
        }
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

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