/* Custom styles for Holder's BBQ & Old Fashion Burgers */

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #060b18;
}
::-webkit-scrollbar-thumb {
    background: #115e59;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Scroll reveal animations - progressive enhancement */
.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);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll line animation */
@media (prefers-reduced-motion: no-preference) {
    .animate-scroll-line {
        animation: scrollLine 2s ease-in-out infinite;
    }
    @keyframes scrollLine {
        0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
        50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
        51% { transform-origin: bottom; }
        100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(6, 11, 24, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(17, 94, 89, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Gold accent shimmer */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.text-gold-shimmer {
    background: linear-gradient(90deg, #fbbf24, #fcd34d, #fbbf24);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Button hover glow */
.btn-glow:hover {
    box-shadow: 0 0 30px rgba(20, 184, 166, 0.3);
}

/* Image hover zoom for gallery */
.gallery-item {
    overflow: hidden;
}
.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Hero text subtle float */
@media (prefers-reduced-motion: no-preference) {
    .hero-float {
        animation: heroFloat 6s ease-in-out infinite;
    }
    @keyframes heroFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #2dd4bf;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: rgba(13, 148, 136, 0.3);
    color: #f0fdfa;
}
