/* Custom styles for Exxotic Pink Foxx Salon */

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

/* Navbar transition states */
.nav-scrolled .nav-text {
    color: #1a1a1a;
}

.nav-scrolled .nav-subtext {
    color: #ff6b35;
}

.nav-scrolled .nav-link {
    color: #1a1a1a;
}

.nav-scrolled .nav-border {
    border-color: #1a1a1a;
}

.nav-scrolled .nav-bar {
    background-color: #1a1a1a;
}

/* Mobile menu active state */
.menu-open #bar1 {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: #1a1a1a !important;
}

.menu-open #bar2 {
    opacity: 0;
}

.menu-open #bar3 {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: #1a1a1a !important;
}

/* Reveal animations (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }

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

    .reveal.delay-1 { transition-delay: 0.1s; }
    .reveal.delay-2 { transition-delay: 0.2s; }
    .reveal.delay-3 { transition-delay: 0.3s; }
    .reveal.delay-4 { transition-delay: 0.4s; }
}

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

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

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

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

/* Selection color */
::selection {
    background: #ff6b35;
    color: white;
}

/* Image loading placeholder */
img {
    background-color: #f5f5f5;
}

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

/* Prevent layout shift for select */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

/* Mobile menu animation */
#mobileMenu {
    backdrop-filter: blur(10px);
}
