/* Custom styles for Gators VIII Bar & Grill */

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

/* Hero pattern */
.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(45, 228, 209, 0.15) 1px, transparent 0);
    background-size: 40px 40px;
}

/* CTA pattern */
.cta-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(10, 31, 60, 0.3) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Floating animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes float-delay {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-2deg); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

.animate-float-delay {
    animation: float-delay 8s ease-in-out infinite;
}

.animate-float-slow {
    animation: float-slow 10s ease-in-out infinite;
}

/* Scroll reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Stagger children */
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.4s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.5s; }

/* Navbar glass effect */
.navbar-scrolled {
    background: rgba(6, 20, 38, 0.85) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.mobile-menu-closed {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Menu toggle icon swap */
#menuIconOpen.hidden {
    display: none;
}

#menuIconClose.hidden {
    display: none;
}

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

::-webkit-scrollbar-track {
    background: #061426;
}

::-webkit-scrollbar-thumb {
    background: rgba(45, 228, 209, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 228, 209, 0.5);
}

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

/* Selection */
::selection {
    background: rgba(45, 228, 209, 0.3);
    color: #fff;
}
