/* Custom Styles for Circle L RV Park */

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

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

::-webkit-scrollbar-track {
    background: #022c22;
}

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

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

/* Reveal Animation Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Gradient Text Utility */
.gradient-text {
    background: linear-gradient(135deg, #d4af37 0%, #fcd34d 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gold Button Hover Effect */
.bg-gold-500:hover {
    background-color: #fcd34d !important;
    box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.5);
}

/* Map Invert Filter for Dark Theme */
/* The iframe already has filter applied, but this ensures consistency */
iframe[src*="google.com/maps"] {
    filter: invert(90%) hue-rotate(180deg);
}

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

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

/* Navbar Scrolled State */
.navbar-scrolled {
    background-color: rgba(2, 44, 34, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Image Hover Zoom */
img:hover {
    transition: transform 0.5s ease;
}

/* Focus Styles for Accessibility */
a:focus, button:focus {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* 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;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* Loading State */
.loading {
    opacity: 0.5;
    pointer-events: none;
}
