    /* Custom styles for Hair by Cheryl */

    /* Smooth scroll offset for fixed navbar */
    section[id] {
        scroll-margin-top: 80px;
    }

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

    /* Reduced motion preference */
    @media (prefers-reduced-motion: no-preference) {
        .scroll-reveal {
            opacity: 0;
            transform: translateY(30px);
        }
        .scroll-reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #102a43;
    }
    ::-webkit-scrollbar-thumb {
        background: #3db594;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #6ecfb0;
    }

    /* Selection color */
    ::selection {
        background: #3db594;
        color: #102a43;
    }

    /* Form focus styles */
    input:focus, select:focus, textarea:focus {
        outline: none;
    }

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

    /* Navbar glass effect when scrolled */
    #navbar.scrolled {
        background: rgba(10, 26, 46, 0.95) !important;
        backdrop-filter: blur(20px);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    }

    /* Subtle pattern overlay for sections */
    .bg-pattern {
        background-image: radial-gradient(circle at 1px 1px, rgba(61, 181, 148, 0.03) 1px, transparent 0);
        background-size: 40px 40px;
    }
