    /* Custom styles for J & S Air and Heating */

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

    /* Selection color */
    ::selection {
        background-color: rgba(201, 168, 76, 0.3);
        color: #f7f5f0;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #0d1f17;
    }
    ::-webkit-scrollbar-thumb {
        background: rgba(201, 168, 76, 0.3);
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: rgba(201, 168, 76, 0.5);
    }

    /* Reveal animations */
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal-left {
        transform: translateX(-30px);
    }
    .reveal-right {
        transform: translateX(30px);
    }
    .reveal-up.visible,
    .reveal-left.visible,
    .reveal-right.visible {
        opacity: 1;
        transform: translate(0, 0);
    }

    /* Navigation active state */
    .nav-link.active {
        color: #c9a84c;
    }

    /* Mobile menu animations */
    .menu-line {
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    #mobile-menu.open .menu-line:first-child {
        transform: rotate(45deg) translate(4px, 4px);
    }
    #mobile-menu.open .menu-line:nth-child(2) {
        opacity: 0;
    }
    #mobile-menu.open .menu-line:last-child {
        width: 20px;
        transform: rotate(-45deg) translate(4px, -4px);
    }

    /* Mobile links animation */
    .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; }

    /* Floating card animation */
    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }
    .floating {
        animation: float 4s ease-in-out infinite;
    }

    /* Pulse dot for live indicator */
    @keyframes pulse-dot {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.5; transform: scale(1.2); }
    }
    .pulse-dot {
        animation: pulse-dot 2s ease-in-out infinite;
    }

    /* Focus visible for accessibility */
    :focus-visible {
        outline: 2px solid #c9a84c;
        outline-offset: 2px;
    }

    /* Reduce motion for accessibility */
    @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;
        }
        .reveal-up, .reveal-left, .reveal-right {
            opacity: 1;
            transform: none;
        }
    }

    /* Print styles */
    @media print {
        body {
            background: white !important;
            color: black !important;
        }
        nav, #mobile-menu, .reveal-up, .reveal-left, .reveal-right {
            display: none !important;
        }
    }
