/* Custom styles for Leap of Faith */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fff5f7;
}

::-webkit-scrollbar-thumb {
    background: #d94f6a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1283e;
}

/* Floating card animations */
@keyframes float-1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float-2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes float-3 {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-10px) translateX(5px); }
}

.floating-card-1 {
    animation: float-1 4s ease-in-out infinite;
}

.floating-card-2 {
    animation: float-2 5s ease-in-out infinite;
}

.floating-card-3 {
    animation: float-3 4.5s ease-in-out infinite;
}

/* Reveal animations (progressive enhancement - only active with JS & reduced motion preference) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(161, 40, 62, 0.08);
}

/* Button focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #d94f6a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #fce7eb 0%, #f9d0d9 100%);
}

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