/* Custom styles beyond Tailwind */

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

/* Scroll reveal base - always visible, JS adds animation */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animation class applied by JS */
.scroll-reveal.animated {
    opacity: 0;
    transform: translateY(30px);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .animate-bounce {
        animation: none;
    }
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(250, 245, 247, 0.95);
    backdrop-blur-md;
    box-shadow: 0 1px 20px rgba(86, 38, 53, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5f7;
}
::-webkit-scrollbar-thumb {
    background: #d6a9b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a85772;
}

/* Selection color */
::selection {
    background: #ffc835;
    color: #562635;
}
