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

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

body {
    background-color: #0a0a0b;
    color: #ffffff;
    font-family: 'Outfit', system-ui, sans-serif;
    overflow-x: hidden;
}

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

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

/* ─── Navbar ─── */
#navbar {
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ─── Mobile Menu ─── */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.open .mobile-link {
    animation: fadeUp 0.4s ease forwards;
    opacity: 0;
}

#mobileMenu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobileMenu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(5) { animation-delay: 0.25s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.shape-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: #e8634a;
    top: -200px;
    right: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #e8634a;
    bottom: 10%;
    left: -80px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 200px;
    height: 200px;
    background: #e8634a;
    top: 30%;
    right: 5%;
    transform: rotate(45deg);
    animation: spin-slow 30s linear infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid #e8634a;
    top: 15%;
    left: 8%;
    opacity: 0.04;
    animation: float-slow 18s ease-in-out infinite;
}

.shape-ring {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #e8634a;
    bottom: 20%;
    right: 15%;
    opacity: 0.08;
    animation: spin-slow 25s linear infinite reverse;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ─── Floating Stat Cards ─── */
.floating-card {
    position: absolute;
    z-index: 10;
}

.card-float-1 {
    animation: float-card-1 6s ease-in-out infinite;
}

.card-float-2 {
    animation: float-card-2 7s ease-in-out infinite;
}

.card-float-3 {
    animation: float-card-3 8s ease-in-out infinite;
}

@keyframes float-card-1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

@keyframes float-card-2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-1deg); }
}

@keyframes float-card-3 {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-10px) translateX(5px); }
}

/* ─── Marquee ─── */
.marquee-track {
    overflow: hidden;
}

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

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

/* ─── Menu Cards ─── */
.menu-card {
    will-change: transform;
}

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

/* ─── Scroll Reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.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; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ─── Selection ─── */
::selection {
    background: #e8634a;
    color: #ffffff;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0b;
}

::-webkit-scrollbar-thumb {
    background: #3f3f46;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e8634a;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 300px;
        height: 300px;
        top: -100px;
        right: -80px;
    }

    .shape-circle-2 {
        width: 150px;
        height: 150px;
    }

    .shape-square-1 {
        width: 100px;
        height: 100px;
    }

    .shape-triangle {
        border-left: 60px solid transparent;
        border-right: 60px solid transparent;
        border-bottom: 104px solid #e8634a;
    }

    .shape-ring {
        width: 80px;
        height: 80px;
    }

    /* Hide floating cards on mobile to prevent overlap */
    .floating-card {
        display: none;
    }
}
