/* Custom Styles for Duh. Hair Studio */

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

/* Floating Animation for Hero Cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

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

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

/* Navbar Scroll Effect */
.nav-scrolled {
    background: rgba(15, 15, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(50, 50, 54, 0.5);
}

/* Reveal Animation for Scroll Sections */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

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

::-webkit-scrollbar-track {
    background: #1a1a1c;
}

::-webkit-scrollbar-thumb {
    background: #323236;
    border-radius: 5px;
}

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

/* Selection Color */
::selection {
    background: rgba(255, 107, 107, 0.3);
    color: white;
}
