/* Custom styles for Shot Tower Brew Works */

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

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

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

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

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

/* Selection color */
::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #faf8f4;
}

/* Reveal animations - progressive enhancement via JS */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    img, .group-hover\:scale-105 {
        transition: none;
    }
}

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

/* Hamburger animation */
#mobileMenu.menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobileMenu.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

#mobileMenu.menu-open .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navbar glass effect */
#navbar.scrolled {
    background: rgba(10, 15, 13, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 83, 0.1);
}

/* Gold shimmer on hover for CTA buttons */
.bg-gold-400:hover {
    box-shadow: 0 0 30px rgba(212, 168, 83, 0.3);
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #111c16 0%, #162019 100%);
}

/* Subtle gold gradient text */
.text-gold-gradient {
    background: linear-gradient(135deg, #f0d890 0%, #d4a853 50%, #c49a3c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover lift */
.group {
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.group:hover {
    transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
    .group {
        transform: none;
    }
    
    .group:hover {
        transform: none;
    }
}

/* Mobile link hover */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #d4a853;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}
