    /* Custom styles for Alabaster Box Salon */

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

    /* Selection color */
    ::selection {
        background-color: rgba(233, 106, 69, 0.3);
        color: #f6f6f7;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #1a1b21;
    }
    ::-webkit-scrollbar-thumb {
        background: #3a3c44;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #e96a45;
    }

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

    /* Only apply hidden state when JS is not blocking - use media query for progressive enhancement */
    @media (prefers-reduced-motion: no-preference) {
        .scroll-reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Navbar styles */
    #navbar {
        background: transparent;
        transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
    }

    #navbar.scrolled {
        background: rgba(15, 16, 20, 0.92);
        backdrop-filter: blur(16px);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    /* Mobile menu animation */
    #mobile-menu.open {
        opacity: 1;
        pointer-events: all;
    }

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

    /* Image hover effects */
    .overflow-hidden img {
        transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

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

    /* Subtle grain texture overlay for hero */
    #hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
        pointer-events: none;
        z-index: 1;
    }

    #hero > * {
        position: relative;
        z-index: 2;
    }
