/* Custom styles for White Oaks RV Park */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A1628;
}
::-webkit-scrollbar-thumb {
    background: #1A3656;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2BAF7E;
}

/* Selection color */
::selection {
    background: rgba(43, 175, 126, 0.3);
    color: #F0FBF7;
}

/* Reveal animation - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero image parallax-like subtle zoom */
#hero img {
    transition: transform 8s ease;
}

#hero:hover img {
    transform: scale(1.03);
}

/* Navbar transition */
#navbar.scrolled {
    background: rgba(6, 13, 31, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Map dark mode override */
iframe[title*="Google Maps"] {
    filter: invert(90%) hue-rotate(180deg) brightness(0.9) contrast(1.1);
}

/* Form focus styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(43, 175, 126, 0.1);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Counter animation */
.counter {
    display: inline-block;
}

/* Print styles */
@media print {
    header, #contact-form, iframe {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}
