/* Custom styles for Salem Nail Bar */

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

/* Scroll reveal base - content always visible by default */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only apply hidden state when JS adds the class */
.scroll-reveal.revealed {
    opacity: 0;
    transform: translateY(24px);
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

nav.scrolled .nav-logo-text {
    color: #1a1d24;
}

nav.scrolled a:not(.bg-coral-500):not(.bg-coral-600) {
    color: #4b5563;
}

nav.scrolled a:not(.bg-coral-500):not(.bg-coral-600):hover {
    color: #f05a21;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Mobile nav links spacing */
.mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
}

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

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