/* Custom styles for AAH Salon */

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

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

::-webkit-scrollbar-track {
    background: #0d0d10;
}

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

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

/* Reveal animation for scroll-triggered elements */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #1c1c20 inset !important;
    -webkit-text-fill-color: #e8e8ea !important;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #ff5c3d;
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Mobile menu transition */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu.closed {
    transform: translateX(100%);
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(13, 13, 16, 0.95);
    backdrop-filter: blur(10px);
}

/* Image hover effects */
img {
    transition: transform 0.7s ease;
}

/* Selection color */
::selection {
    background: #ff5c3d;
    color: #ffffff;
}
