/* Custom styles for Xanadu Salon */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
    background: #ff5722;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff7a4d;
}

/* Service card hover glow */
.service-card:hover {
    box-shadow: 0 20px 60px rgba(255, 87, 34, 0.15);
}

/* Gallery hover effect */
.gallery-item {
    position: relative;
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 87, 34, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 0.5rem;
    pointer-events: none;
}
.gallery-item:hover::after {
    opacity: 1;
}

/* Reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion - always show content */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Mobile menu transitions */
#mobile-menu.menu-open {
    opacity: 1;
    pointer-events: all;
}

/* Navbar scrolled state */
nav.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-blur-xl;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Button focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #ff7a4d;
    outline-offset: 2px;
}

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