/* Custom Styles for Lily's Beauty Lounge */

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

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

::-webkit-scrollbar-track {
    background: #011c16;
}

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

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

/* Selection Color */
::selection {
    background-color: #D4AF37;
    color: #011c16;
}

/* Hero Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-hero {
    animation: fadeInUp 0.8s ease-out forwards;
}

.reveal-hero:nth-child(2) {
    animation-delay: 0.2s;
}

.reveal-hero:nth-child(3) {
    animation-delay: 0.4s;
}

.reveal-hero:nth-child(4) {
    animation-delay: 0.6s;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .reveal-hero {
        animation: none;
        opacity: 1;
    }
    
    .scroll-reveal {
        transition: none;
    }
}

/* Image Hover Effects */
img {
    max-width: 100%;
    height: auto;
}

/* Button Focus States */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #D4AF37;
    outline-offset: 2px;
}

/* Input Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #D4AF37 !important;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

#mobile-menu.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Navbar Transition */
#navbar {
    transition: background-color 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(1, 28, 22, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
}
