/* ===== CUSTOM STYLES ===== */

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

/* Scroll animation base — content always visible by default */
.scroll-animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animation applied only when JS is active and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .scroll-animate.is-hidden {
        opacity: 0;
        transform: translateY(24px);
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 1px 20px rgba(159, 38, 61, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf2f4;
}
::-webkit-scrollbar-thumb {
    background: #f4a9b8;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #dc4d68;
}

/* Selection color */
::selection {
    background: #f9d0d9;
    color: #6c1c2e;
}
