/* Custom styles for Lake Claiborne Mobile Home & RV Park */

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

/* Floating animation for hero decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(12deg); }
    50% { transform: translateY(-20px) rotate(12deg); }
}

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

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

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

/* Scroll reveal - progressive enhancement, hidden by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Navbar styles */
.nav-scrolled {
    background: rgba(255, 251, 240, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(4, 120, 87, 0.1);
}

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

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

::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #065f46;
}

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

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

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-float-delayed,
    .reveal {
        animation: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Form focus styles */
input:focus,
textarea:focus {
    outline: none;
}

/* Ensure all text is readable */
.text-emerald-100 {
    color: #d1fae5;
}

.text-emerald-200 {
    color: #a7f3d0;
}

.text-cream-200 {
    color: #fdf5d1;
}
