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

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fafaf9;
}
::-webkit-scrollbar-thumb {
    background: #c22748;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a11938;
}

/* Floating animations for hero stat cards */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
@keyframes float-fast {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.animate-float-slow {
    animation: float-slow 6s ease-in-out infinite;
}
.animate-float-medium {
    animation: float-medium 4.5s ease-in-out infinite;
}
.animate-float-fast {
    animation: float-fast 3.5s ease-in-out infinite;
}

/* Navbar scroll behavior */
#site-header {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
#site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}
#site-header.scrolled .font-display {
    color: #841834 !important;
}
#site-header.scrolled a:not([class*="bg-"]):not([class*="text-white"]) {
    color: #44403c !important;
}

/* Reveal on scroll — progressive enhancement */
.reveal-on-scroll {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: no-preference) {
    .reveal-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Selection color */
::selection {
    background: #fce7eb;
    color: #70172e;
}
