    /* Custom styles for Salon St John */

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

    /* Selection color */
    ::selection {
        background-color: #B85C38;
        color: #FDF8F3;
    }

    /* Scrollbar styling */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #F4F4F0;
    }
    ::-webkit-scrollbar-thumb {
        background: #D9B9A5;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #B85C38;
    }

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

    /* Service card hover */
    .service-card {
        transform: translateY(0);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    }
    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }

    /* Gallery item hover */
    .gallery-item {
        position: relative;
        cursor: pointer;
    }

    /* Testimonial card hover */
    .testimonial-card {
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    .testimonial-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 48px rgba(184, 92, 56, 0.12);
    }

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

    /* Hamburger animation */
    #menuBtn.active #menuIcon span:nth-child(1) {
        transform: translateY(3px) rotate(45deg);
    }
    #menuBtn.active #menuIcon span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    #menuBtn.active #menuIcon span:nth-child(3) {
        transform: translateY(-3px) rotate(-45deg);
    }

    /* Mobile link transitions */
    .mobile-link {
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    #mobileMenu.open .mobile-link {
        opacity: 1;
        transform: translateY(0);
    }
    #mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
    #mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
    #mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
    #mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }

    /* Scroll reveal animations - progressive enhancement */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        .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; }
        .reveal-delay-5 { transition-delay: 0.5s; }
    }

    /* Reduce motion preference */
    @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;
        }
    }

    /* Print styles */
    @media print {
        nav, #contactForm, .gallery-item::after {
            display: none !important;
        }
        body {
            background: white !important;
            color: black !important;
        }
    }

    /* Focus visible for accessibility */
    a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
        outline: 2px solid #B85C38;
        outline-offset: 2px;
        border-radius: 4px;
    }

    /* Counter animation */
    .counter {
        display: inline-block;
    }
