    /* Custom styles for Desert Liquidation */

    html {
        scroll-behavior: smooth;
    }

    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* Navbar transition */
    #navbar.scrolled {
        background: rgba(254, 249, 240, 0.97);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
    }

    #navbar.scrolled .nav-logo {
        color: #064e3b;
    }

    #navbar.scrolled nav a:not(.bg-emerald-800) {
        color: #065f46;
    }

    #navbar.scrolled nav a:not(.bg-emerald-800):hover {
        color: #059669;
    }

    /* Hero pattern animation */
    @keyframes drift {
        0%, 100% { transform: translate(0, 0); }
        50% { transform: translate(10px, -10px); }
    }

    /* Scroll reveal - progressive enhancement, only active with JS */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 1;
            transform: translateY(0);
            transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

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

    /* Mobile menu animation */
    #mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    #mobile-menu.open {
        max-height: 500px;
    }

    /* Subtle image hover */
    img {
        transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

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

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

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

    ::-webkit-scrollbar-thumb:hover {
        background: #047857;
    }

    /* Selection color */
    ::selection {
        background: #065f46;
        color: #fef9f0;
    }
