    /* Custom styles that extend Tailwind */
    
    html {
        scroll-behavior: smooth;
    }

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

    /* Scroll animations - progressive enhancement, only active with JS */
    .scroll-animate {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    @media (prefers-reduced-motion: no-preference) {
        .scroll-animate {
            opacity: 0;
            transform: translateY(24px);
        }
        .scroll-animate.is-visible {
            opacity: 1;
            transform: translateY(0);
        }
        .scroll-animate:nth-child(2) { transition-delay: 0.1s; }
        .scroll-animate:nth-child(3) { transition-delay: 0.2s; }
        .scroll-animate:nth-child(4) { transition-delay: 0.3s; }
    }

    /* Navbar scroll state */
    .navbar-scrolled {
        box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
    }

    /* Custom selection color */
    ::selection {
        background-color: #2e4d2b;
        color: #fafaf7;
    }

    /* Focus visible for accessibility */
    a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
        outline: 2px solid #4d7d46;
        outline-offset: 2px;
        border-radius: 4px;
    }

    /* Smooth image loading */
    img {
        opacity: 1;
        transition: opacity 0.3s ease;
    }

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

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

    /* Form focus states */
    input:focus, select:focus, textarea:focus {
        box-shadow: 0 0 0 3px rgba(46, 77, 43, 0.1);
    }

    /* Button press effect */
    button:active, a:active {
        transform: scale(0.98);
    }
