/* Custom styles for BB Tee House */

/* Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 20s linear infinite;
}

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

/* Scroll Reveal Elements - progressive enhancement via JS */
.reveal-element {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Navbar styles */
.navbar-scrolled {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 74, 0.1);
}

.navbar-transparent {
    background: transparent !important;
}

/* Mobile menu animations */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.menu-line-open-1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-line-open-2 {
    opacity: 0;
}

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

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

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

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

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

/* Selection color */
::selection {
    background: rgba(255, 107, 74, 0.3);
    color: #ffffff;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-marquee {
        animation: none;
    }
    
    .reveal-element {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Image hover effects */
img {
    transition: transform 0.7s ease;
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #ff6b4a;
    outline-offset: 2px;
}

/* Menu divider lines */
.w-px.h-px {
    background: #4f4f4f;
    width: 100%;
    margin: 0;
    height: 1px;
}

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

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