    /* Custom styles for The Nail Spot & Spa */
    :root {
        --navy-900: #0a1f35;
        --navy-800: #0f2b4c;
        --gold-500: #c9a84c;
        --gold-400: #d4b85e;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* Navbar scroll state */
    #navbar.scrolled {
        box-shadow: 0 4px 20px rgba(10, 31, 53, 0.3);
    }

    /* Mobile menu animation */
    #mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    #mobile-menu.open {
        max-height: 500px;
    }

    /* Ensure no flash of hidden content */
    .reveal {
        opacity: 1;
        transform: none;
    }

    .js-enabled .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .js-enabled .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Selection color */
    ::selection {
        background: var(--gold-500);
        color: var(--navy-900);
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: var(--navy-900);
    }
    ::-webkit-scrollbar-thumb {
        background: var(--gold-500);
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: var(--gold-400);
    }

    /* Focus visible for accessibility */
    :focus-visible {
        outline: 2px solid var(--gold-500);
        outline-offset: 2px;
    }

    /* Smooth image loading */
    img {
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    /* Reduce motion preference */
    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }
        .reveal,
        .js-enabled .reveal {
            opacity: 1;
            transform: none;
            transition: none;
        }
        img {
            transition: none;
        }
        .group:hover img {
            transform: none;
        }
    }
