/* Base & Typography */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #102a43;
    color: #d9e2ec;
}

::selection {
    background-color: rgba(212, 160, 23, 0.3);
    color: #f0f4f8;
}

/* Navbar scroll state */
#navbar.scrolled {
    background-color: rgba(10, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(212, 160, 23, 0.1);
}

#navbar.scrolled a.text-gold-400 {
    color: #d4a017;
}

/* Mobile menu */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

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

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

/* Menu items */
.menu-item {
    border-bottom: 1px solid rgba(100, 125, 152, 0.15);
    padding-bottom: 1rem;
}

.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Gold accent line animation on hover */
.menu-category h3 {
    position: relative;
}

.menu-category h3 span {
    transition: width 0.4s ease;
}

.menu-category:hover h3 span {
    width: 2rem;
}

/* Image hover effects */
img {
    transition: filter 0.3s ease;
}

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

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

::-webkit-scrollbar-thumb {
    background: #334e68;
    border-radius: 4px;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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

    img, .overflow-hidden img {
        transition: none;
    }
}

/* Mobile menu link styles */
.mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

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