/* ===== Peppersauce Campground — Custom Styles ===== */

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

/* Subtle gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, #7E3FEB, #F4A261);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F9F5FF;
}
::-webkit-scrollbar-thumb {
    background: #D4BFFF;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #B894FF;
}

/* Selection color */
::selection {
    background: #E9DBFF;
    color: #3B1772;
}

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

/* ===== Scroll-reveal animations (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Reduced motion: ensure everything is visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
}
