/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: #1a0a0c;
    color: #fce7e7;
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background: rgba(26, 10, 12, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding-top: 0;
    padding-bottom: 0;
}

#navbar.scrolled .mobile-link {
    color: #f9d0d0;
}

/* ===== MOBILE MENU ===== */
.mobile-link {
    display: block;
    text-decoration: none;
}

/* ===== MARQUEE ===== */
.marquee-track {
    animation: marquee 25s linear infinite;
}

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

/* ===== MENU CARDS ===== */
.menu-card {
    will-change: transform;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== HERO ANIMATIONS ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(196, 50, 59, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(196, 50, 59, 0.6);
    }
}

/* ===== BUTTON HOVER EFFECTS ===== */
a:hover {
    transition: all 0.3s ease;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a0a0c;
}

::-webkit-scrollbar-thumb {
    background: #8c1a23;
    border-radius: 4px;
}

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

/* ===== SELECTION ===== */
::selection {
    background: #c4323b;
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .font-display.text-6xl,
    .font-display.text-7xl,
    .font-display.text-8xl,
    .font-display.text-9xl {
        font-size: 3.5rem;
        line-height: 1.1;
    }

    .font-display.text-5xl {
        font-size: 2.5rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .menu-card {
        transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
    }

    .menu-card:hover {
        box-shadow: 0 20px 60px rgba(196, 50, 59, 0.2);
    }
}

@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;
    }
}
