/* Custom styles for Walnut Valley RV Park */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #a11534;
}

/* Selection color */
::selection {
    background: #f9d0d9;
    color: #3f0a14;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .hover\\:scale-105:hover,
    .hover\\:scale-110:hover {
        transform: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(255, 251, 240, 0.95);
    backdrop-blur-md;
    box-shadow: 0 4px 20px rgba(63, 10, 20, 0.08);
}

#navbar.scrolled .font-serif {
    color: #3f0a14;
}

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

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

/* Focus visible for accessibility */
:focus-visible {
    outline: 3px solid #f5a623;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    #navbar,
    .animate-bounce {
        display: none;
    }
    
    body {
        background: white;
    }
    
    section {
        page-break-inside: avoid;
    }
}
