    /* Custom styles for Gels.by.kathleen */

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

    /* Selection color */
    ::selection {
        background-color: rgba(192, 108, 75, 0.3);
        color: #e8d5c4;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #0f1115;
    }
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(to bottom, #c06c4b, #c9a86c);
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(to bottom, #d4896e, #dbb97e);
    }

    /* Reveal animations - progressive enhancement with prefers-reduced-motion */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }
        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Staggered delays for grid items */
        .service-card:nth-child(1) { transition-delay: 0.1s; }
        .service-card:nth-child(2) { transition-delay: 0.2s; }
        .service-card:nth-child(3) { transition-delay: 0.3s; }
        .service-card:nth-child(4) { transition-delay: 0.4s; }
        .service-card:nth-child(5) { transition-delay: 0.5s; }
        .service-card:nth-child(6) { transition-delay: 0.6s; }
        
        .gallery-item:nth-child(1) { transition-delay: 0.05s; }
        .gallery-item:nth-child(2) { transition-delay: 0.1s; }
        .gallery-item:nth-child(3) { transition-delay: 0.15s; }
        .gallery-item:nth-child(4) { transition-delay: 0.2s; }
        .gallery-item:nth-child(5) { transition-delay: 0.25s; }
        .gallery-item:nth-child(6) { transition-delay: 0.3s; }
        .gallery-item:nth-child(7) { transition-delay: 0.35s; }
        .gallery-item:nth-child(8) { transition-delay: 0.4s; }
    }

    /* Navbar scroll state */
    #navbar.scrolled {
        background: rgba(15, 17, 21, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(201, 168, 108, 0.1);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    }

    /* Mobile menu animations */
    #mobile-menu.open {
        opacity: 1;
        pointer-events: all;
    }
    
    #mobile-menu .mobile-link {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
    }
    
    #mobile-menu.open .mobile-link {
        opacity: 1;
        transform: translateY(0);
    }
    
    #mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
    #mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
    #mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
    #mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }

    /* Menu button animation */
    .menu-line {
        transition: all 0.3s ease;
    }
    
    #menu-btn.active .menu-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    #menu-btn.active .menu-line:nth-child(2) {
        opacity: 0;
    }
    #menu-btn.active .menu-line:nth-child(3) {
        width: 24px;
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Service card hover effects */
    .service-card {
        transition: transform 0.5s ease, box-shadow 0.5s ease;
    }
    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    }

    /* Glow effect on focus */
    input:focus, textarea:focus, select:focus {
        box-shadow: 0 0 0 3px rgba(201, 168, 108, 0.15);
    }

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

    /* Gallery item hover */
    .gallery-item {
        cursor: pointer;
    }
    .gallery-item::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(15, 17, 21, 0);
        transition: background 0.4s ease;
        border-radius: inherit;
    }
    .gallery-item:hover::after {
        background: rgba(15, 17, 21, 0.3);
    }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
        }
        html {
            scroll-behavior: auto;
        }
        .reveal {
            opacity: 1 !important;
            transform: none !important;
        }
    }

    /* Print styles */
    @media print {
        nav, #back-to-top, .reveal {
            display: none !important;
        }
        body {
            background: white !important;
            color: black !important;
        }
    }
