/* Custom Styles for Maid To Clean By Alycia */

html {
    scroll-behavior: smooth;
}

body {
    /* Ensures text is readable before JS loads */
    opacity: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f9f5f8;
}
::-webkit-scrollbar-thumb {
    background: #d6b3c8;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a86590;
}

/* Animation Utilities */
.reveal-on-scroll {
    /* Default state: visible. JS will toggle hidden if needed, 
       but for progressive enhancement we keep it visible by default 
       or let JS add the class. Here we use a simple CSS approach 
       combined with JS intersection observer. */
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

/* When JS adds this class, it triggers the animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
}

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

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

/* Navbar Glassmorphism when scrolled */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
