/* Custom styles for Shake Party Chicago */

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

/* Scroll reveal animations — progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

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

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
    padding-top: 0;
}

/* Navbar scroll state */
.nav-header.scrolled {
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.1);
}

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

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-3deg); }
}

.hero-shape-1 { animation: float 6s ease-in-out infinite; }
.hero-shape-2 { animation: float-slow 8s ease-in-out infinite; }
.hero-shape-3 { animation: float 7s ease-in-out infinite reverse; }

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fefdf8;
}
::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #047857;
}
