/* Custom styles for Miles TX RV Park */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #2d2f36;
}
::-webkit-scrollbar-thumb {
    background: #ff6b3f;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f04e1c;
}

/* Float animation for hero cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

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

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

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

/* Navbar glass effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-link {
    color: #3a3d45 !important;
}

.nav-scrolled .nav-link:hover {
    color: #ff6b3f !important;
    background: #fff5f2 !important;
}

.nav-scrolled .font-heading {
    color: #1e2026 !important;
}

/* Amenity card hover */
.amenity-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Testimonial card hover */
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile menu animation */
.mobile-menu-open {
    max-height: 400px !important;
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #ff6b3f;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #ff6b3f;
    color: white;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-float-delayed {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
    * {
        transition-duration: 0.01ms !important;
    }
}

/* Custom Tailwind utility for charcoal-750 */
.bg-charcoal-750 {
    background-color: rgb(52, 54, 61);
}

/* Reveal animations for below-fold sections */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-hidden {
        opacity: 0;
        transform: translateY(24px);
    }
}
