/* ============================================
   AFTERSHOCK BAR AND GRILL — Custom Styles
   Premium Dark Luxury Theme
   ============================================ */

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

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

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: rgba(114, 47, 55, 0.6);
    color: #F2C4CE;
}

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

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A0A0A;
}
::-webkit-scrollbar-thumb {
    background: #722F37;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8B3A42;
}

/* ---- Navbar Scroll State ---- */
#navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding-top: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

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

#menu-toggle.active #bar1 {
    transform: rotate(45deg) translate(4px, 4px);
}
#menu-toggle.active #bar2 {
    opacity: 0;
}
#menu-toggle.active #bar3 {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 6px;
}

/* ---- Menu Card Hover Glow ---- */
.group:hover .group-hover\:text-ash-gold {
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* ---- Button Focus States ---- */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid rgba(212, 175, 55, 0.5);
    outline-offset: 2px;
}

/* ---- Image Loading ---- */
img {
    background-color: #141414;
}

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

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

/* ---- Utility: Fade In (progressive enhancement) ---- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s 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; }
}

/* ---- Mobile responsive tweaks ---- */
@media (max-width: 767px) {
    #hero h1 {
        font-size: 2.5rem;
    }
    #hero h1 span.text-3xl {
        font-size: 1.25rem;
    }
}
