/* Custom styles for The Best Nest */

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

/* Floating animations for hero cards */
@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(-1deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes float4 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(-1deg); }
}

.animate-float-1 { animation: float1 4s ease-in-out infinite; }
.animate-float-2 { animation: float2 5s ease-in-out infinite; }
.animate-float-3 { animation: float3 4.5s ease-in-out infinite; }
.animate-float-4 { animation: float4 5.5s ease-in-out infinite; }

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .animate-float-1,
    .animate-float-2,
    .animate-float-3,
    .animate-float-4 {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

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

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

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

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

/* Selection color */
::selection {
    background: #a85570;
    color: #faf4f7;
}
