/* Custom styles for Camp Fickes Shooting Range */

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

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

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

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

.animate-float-delayed {
    animation: float-delayed 3.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Scroll reveal styles - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

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

#mobile-menu.open {
    max-height: 300px;
}

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

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

::-webkit-scrollbar-thumb {
    background: #1e431e;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2f632f;
}

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

/* Ensure all text is readable */
.text-forest-50 {
    color: #f2f7f2;
}

.text-forest-100 {
    color: #e3efe3;
}

.text-forest-200 {
    color: #c6dfc6;
}

.text-forest-300 {
    color: #9dc49d;
}

.text-forest-400 {
    color: #6fa86f;
}

.text-forest-500 {
    color: #4d8f4d;
}

.bg-dark-950 {
    background-color: #040804;
}

.bg-dark-900 {
    background-color: #080f08;
}

.bg-dark-850 {
    background-color: #0d1a0d;
}
