/* Custom styles for Rockbridge Rock Steady Boxing */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #faf5f9;
}
::-webkit-scrollbar-thumb {
    background: #d6afc8;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #be83a8;
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(250, 245, 249, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(76, 39, 62, 0.1);
}

nav.scrolled .font-display {
    color: #4c273e !important;
}

/* Fade in animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered fade-in for grid items */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* Mobile menu animation */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
}

#mobileMenu.open {
    max-height: 400px;
}

/* Pulse animation for hero badge */
@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.animate-pulse-soft {
    animation: pulse-soft 2s ease-in-out infinite;
}

/* Hero text reveal */
@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-animated {
    animation: slide-up 0.8s ease-out forwards;
}

.hero-delay-1 { animation-delay: 0.2s; opacity: 0; }
.hero-delay-2 { animation-delay: 0.4s; opacity: 0; }
.hero-delay-3 { animation-delay: 0.6s; opacity: 0; }
.hero-delay-4 { animation-delay: 0.8s; opacity: 0; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        letter-spacing: -0.02em;
    }
}
