/* ==========================================
   Big Boss Grill — Custom Styles
   Premium Dark Luxury Theme
   ========================================== */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: #2d5a1e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c9a227;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: rgba(201, 162, 39, 0.3);
    color: #f5f5f5;
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c9a227;
    outline-offset: 4px;
    border-radius: 4px;
}

/* ==========================================
   Scroll Reveal Animations
   Progressive enhancement — content is
   visible by default, JS adds animation.
   ========================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

/* When JS is enabled, hide reveals initially */
.js-enabled .reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Only animate when reduced motion is not preferred */
@media (prefers-reduced-motion: no-preference) {
    .js-enabled .reveal.animated {
        opacity: 1;
        transform: translateY(0);
    }
}

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

#navbar.scrolled {
    background-color: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 162, 39, 0.1);
}

/* ==========================================
   Mobile Menu
   ========================================== */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* ==========================================
   Gold Gradient Text Utility
   ========================================== */
.gold-gradient {
    background: linear-gradient(135deg, #e8d5a3 0%, #c9a227 50%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   Card Hover Effects
   ========================================== */
.glow-hover {
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.glow-hover:hover {
    box-shadow: 0 0 40px rgba(201, 162, 39, 0.15);
    transform: translateY(-4px);
}

/* ==========================================
   Button Ripple Effect
   ========================================== */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-ripple:hover::after {
    opacity: 1;
}

/* ==========================================
   Image Loading Placeholder
   ========================================== */
img {
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
}

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

/* ==========================================
   Tablet & Desktop Adjustments
   ========================================== */
@media (min-width: 768px) {
    .hero-text {
        letter-spacing: -0.02em;
    }
}

/* ==========================================
   Print Styles
   ========================================== */
@media print {
    nav, #gallery, .reveal {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
    }
}
