    /* Custom styles for Coastal Irrigation */

    :root {
        --font-serif: 'Playfair Display', Georgia, serif;
        --font-sans: 'Inter', system-ui, sans-serif;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: var(--font-sans);
    }

    h1, h2, h3, h4, .font-serif {
        font-family: var(--font-serif);
    }

    /* Navbar scroll effect */
    #navbar.scrolled {
        background-color: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
    }

    #navbar.scrolled .font-serif,
    #navbar.scrolled .text-slate-900 {
        color: #0f172a;
    }

    /* Mobile menu transitions */
    #mobile-menu.open {
        transform: translateX(0);
    }

    /* Subtle fade-in animation */
    .fade-in {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation delays */
    .fade-in-delay-1 { transition-delay: 0.1s; }
    .fade-in-delay-2 { transition-delay: 0.2s; }
    .fade-in-delay-3 { transition-delay: 0.3s; }
    .fade-in-delay-4 { transition-delay: 0.4s; }

    /* Selection color */
    ::selection {
        background-color: rgba(15, 118, 110, 0.15);
        color: #0f766e;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #f5f5f4;
    }
    ::-webkit-scrollbar-thumb {
        background: #94a3b8;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #64748b;
    }

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

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