    /* Custom styles for Living Larson Rentals */

    html {
        scroll-behavior: smooth;
    }

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

    /* Scroll reveal animations */
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    @media (prefers-reduced-motion: no-preference) {
        .scroll-reveal {
            opacity: 0;
            transform: translateY(24px);
        }

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

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

    #navbar.scrolled .font-serif {
        color: #0d1529;
    }

    #navbar.scrolled a.text-midnight-700 {
        color: #111d38;
    }

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

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

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

    ::-webkit-scrollbar-thumb:hover {
        background: #86efac;
    }

    /* Focus styles */
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    textarea:focus-visible {
        outline: 2px solid #4ade80;
        outline-offset: 2px;
    }

    /* Mobile menu animation */
    #mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

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

    /* Hero floating cards animation */
    @media (prefers-reduced-motion: no-preference) {
        .absolute.top-8.left-0 {
            animation: float-slow 4s ease-in-out infinite;
        }
        .absolute.bottom-24.right-4 {
            animation: float-medium 3.5s ease-in-out infinite;
        }
        .absolute.bottom-0.left-8 {
            animation: float-fast 3s ease-in-out infinite;
        }
    }

    @keyframes float-slow {
        0%, 100% { transform: translateY(0px) rotate(-3deg); }
        50% { transform: translateY(-10px) rotate(-3deg); }
    }

    @keyframes float-medium {
        0%, 100% { transform: translateY(0px) rotate(2deg); }
        50% { transform: translateY(-8px) rotate(2deg); }
    }

    @keyframes float-fast {
        0%, 100% { transform: translateY(0px) rotate(-1deg); }
        50% { transform: translateY(-6px) rotate(-1deg); }
    }

    /* Selection color */
    ::selection {
        background: #bbf7d0;
        color: #0d1529;
    }
