    /* Custom styles for Meg's Barbershop */

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

    /* Selection color */
    ::selection {
        background-color: #ccfbf1;
        color: #134e4a;
    }

    /* Scrollbar styling */
    ::-webkit-scrollbar {
        width: 8px;
    }

    ::-webkit-scrollbar-track {
        background: #f8fafc;
    }

    ::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

    /* Navbar scroll state */
    #navbar.scrolled {
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 4px 20px rgba(0, 0, 0, 0.04);
    }

    /* Service card hover effect */
    .service-card {
        opacity: 1;
    }

    @media (prefers-reduced-motion: no-preference) {
        .service-card {
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
        }
    }

    /* Gallery items */
    .gallery-item {
        cursor: pointer;
    }

    .gallery-item img {
        transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .gallery-item:hover img {
        transform: scale(1.05);
    }

    /* Testimonial cards */
    .testimonial-card {
        opacity: 1;
    }

    @media (prefers-reduced-motion: no-preference) {
        .testimonial-card {
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
        }
    }

    /* Scroll reveal animations (progressive enhancement) */
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }

    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Staggered reveal delays */
    .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; }
    .reveal-delay-6 { transition-delay: 0.6s; }

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

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

    /* Mobile links */
    .mobile-link {
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid #f1f5f9;
        transition: color 0.2s ease;
    }

    .mobile-link:last-child {
        border-bottom: none;
    }

    .mobile-link:hover {
        color: #0d9488;
    }

    /* Focus visible styles */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible {
        outline: 2px solid #14b8a6;
        outline-offset: 2px;
        border-radius: 4px;
    }

    /* Print styles */
    @media print {
        #navbar,
        #contact-form,
        .gallery-item img {
            display: none;
        }
    }
