    /* Custom styles beyond Tailwind */

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

    /* Selection color */
    ::selection {
        background-color: #FF6B6B;
        color: #1a1a2e;
    }

    /* Service card hover lift */
    .service-card {
        will-change: transform;
    }

    .service-card:hover {
        transform: translateY(-4px);
    }

    /* Navbar scroll state */
    #navbar.scrolled {
        background-color: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(10px);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }

    #navbar.scrolled .font-serif,
    #navbar.scrolled a:not(.bg-charcoal-900):not(.bg-coral-500) {
        color: #2d2d44;
    }

    /* Gallery item transition */
    .gallery-item {
        will-change: transform;
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: no-preference) {
        .service-card {
            transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), background-color 0.4s ease, color 0.4s ease;
        }

        .gallery-item {
            transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .service-card,
        .gallery-item,
        #navbar {
            transition: none;
        }
    }

    /* Mobile menu animation */
    #mobileMenu {
        animation: slideDown 0.3s ease forwards;
    }

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

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

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

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

    ::-webkit-scrollbar-thumb:hover {
        background: #4a4a62;
    }

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

    /* Back to top button */
    #backToTop.visible {
        opacity: 1;
        pointer-events: auto;
    }

    /* Hero image composition */
    @media (min-width: 1024px) {
        .lg\:order-1 {
            z-index: 1;
        }
    }

    /* Print styles */
    @media print {
        nav, #backToTop, button {
            display: none !important;
        }
        
        body {
            color: #000;
            background: #fff;
        }
    }
