/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #080510; }
::-webkit-scrollbar-thumb { background: #831443; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #9d174d; }

/* ── Selection ── */
::selection { background: rgba(131, 20, 67, 0.5); color: #fbbf24; }

/* ── Navbar ── */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
#navbar.scrolled {
    background: rgba(8, 5, 16, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(251, 191, 36, 0.08);
}

/* ── Nav Links ── */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: #fbbf24;
    transition: width 0.3s ease, left 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* ── Mobile Menu ── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}
#mobile-menu.open .mobile-link {
    animation: fadeUp 0.4s ease forwards;
    opacity: 0;
}
#mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(5) { animation-delay: 0.25s; }

/* ── Hamburger ── */
.hamburger-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
#menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}
#menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
#menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
    width: 1.25rem;
}

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

@keyframes scrollDot {
    0% { top: -16px; }
    100% { top: 48px; }
}
.animate-scroll-dot {
    animation: scrollDot 1.5s ease-in-out infinite;
}

/* ── Reveal on Scroll ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    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; }

/* ── Menu Cards ── */
.menu-card {
    transition: transform 0.4s ease;
}
.menu-card:hover {
    transform: translateY(-4px);
}

/* ── Gallery Items ── */
.gallery-item {
    cursor: pointer;
    position: relative;
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 5, 16, 0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gallery-item:hover::after {
    opacity: 1;
}

/* ── Form ── */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.6) sepia(1) saturate(5) hue-rotate(10deg);
    cursor: pointer;
}

select option {
    background: #1a1028;
    color: #fff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 3rem;
    }
    #hero h1 span {
        display: block;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    #hero h1 {
        font-size: 4rem;
    }
}
