/* Custom styles for Smokehouse BBQ */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0b0b;
}
::-webkit-scrollbar-thumb {
    background: #711a33;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d97706;
}

/* Selection color */
::selection {
    background: #d97706;
    color: #0d0b0b;
}

/* Scroll reveal base - content always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only apply animation states when JS is active and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .js-ready .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .js-ready .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar glass effect */
#navbar.scrolled {
    background: rgba(7, 5, 5, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(113, 26, 51, 0.3);
}

/* Gold text gradient */
.text-amber-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(rgba(217, 119, 6, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Image hover shine effect */
.group:hover .group-hover\:shine {
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
}

/* Flame animation for decorative elements */
@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.flame {
    animation: flicker 2s ease-in-out infinite;
}

/* Smoke float animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float {
    animation: float 4s ease-in-out infinite;
}

/* Pulse glow for amber elements */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(217, 119, 6, 0.3); }
    50% { box-shadow: 0 0 40px rgba(217, 119, 6, 0.6); }
}

.pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}
