/* Custom styles for Mash Fork Campground */

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f1923;
}
::-webkit-scrollbar-thumb {
    background: #1a2332;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c49a3e;
}

/* Selection */
::selection {
    background: #c49a3e;
    color: #0f1923;
}

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

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(8, 15, 24, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Mobile menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Reduced motion */
@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;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    img {
        transition: none !important;
    }

    .group:hover img {
        transform: none !important;
    }
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

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

/* Print styles */
@media print {
    nav, button, #mobile-menu, .animate-bounce {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
}
