/* Custom styles for Style Barber Lu */

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

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

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

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

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

/* Animation for mobile menu */
#mobile-menu {
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
    transition: max-height 0.3s ease-in;
}

/* Fade in animation for scroll reveals */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #d94063;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    .fixed,
    #navbar {
        position: static;
    }
    
    .bg-burgundy-900,
    .bg-burgundy-700 {
        background: #3d0611 !important;
    }
}
