/* Custom styles for Mane Elegance */

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Scroll reveal base — content always visible */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Navbar glass effect on scroll */
.nav-scrolled {
    background: rgba(45, 82, 43, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f5ee;
}
::-webkit-scrollbar-thumb {
    background: #8fba82;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4d8043;
}

/* Selection color */
::selection {
    background: #b8d4b0;
    color: #21371e;
}
