/* Custom styles for White Cactus Salon Suites */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF8F3;
}
::-webkit-scrollbar-thumb {
    background: #E8D5B0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4B896;
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(168, 46, 28, 0.06);
}

/* Selection color */
::selection {
    background: #F9C4B5;
    color: #72231A;
}

/* Mobile menu transitions */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Scroll reveal animations (progressive enhancement) */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.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; }

/* Print styles */
@media print {
    #navbar, #mobileMenu, .reveal {
        display: none !important;
    }
    body {
        background: white !important;
        color: #3D3832 !important;
    }
}
