    /* Custom styles for Bayview Trailer Court */
    
    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }
    
    /* Selection color */
    ::selection {
        background-color: rgba(45, 96, 60, 0.2);
        color: #1d3f28;
    }
    
    /* Navbar transition */
    #navbar {
        background: transparent;
    }
    
    #navbar.scrolled {
        background: rgba(250, 249, 246, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(29, 63, 40, 0.08);
    }
    
    #navbar.scrolled .nav-logo {
        color: #1d3f28;
    }
    
    #navbar.scrolled .nav-link {
        color: #2d603c;
    }
    
    #navbar.scrolled .nav-link:hover {
        color: #3d7a4e;
    }
    
    /* Hero animations - above the fold, no initial hidden state */
    .hero-eyebrow {
        animation: fadeInDown 0.8s ease-out both;
    }
    
    .hero-headline {
        animation: fadeInUp 0.8s ease-out 0.2s both;
    }
    
    .hero-sub {
        animation: fadeInUp 0.8s ease-out 0.4s both;
    }
    
    .hero-cta {
        animation: fadeInUp 0.8s ease-out 0.6s both;
    }
    
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Scroll reveal - only for below-fold content */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s ease-out, transform 0.7s ease-out;
        }
        
        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Fallback: if JS is disabled, all content is visible */
    @media (prefers-reduced-motion: reduce) {
        .reveal {
            opacity: 1;
            transform: none;
        }
    }
    
    /* Mobile menu */
    #mobile-menu.open {
        transform: translateX(0);
    }
    
    /* Menu icon animation */
    #menu-btn.active .menu-line:nth-child(1) {
        top: 14px;
        transform: rotate(45deg);
    }
    
    #menu-btn.active .menu-line:nth-child(2) {
        top: 14px;
        transform: rotate(-45deg);
    }
    
    /* Mobile links */
    .mobile-link {
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    }
    
    #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; }
    #mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }
    
    /* Image hover effect */
    .aspect-\[4\/5\] img,
    .aspect-\[4\/3\] img {
        will-change: transform;
    }
    
    /* Card hover */
    .group:hover {
        transform: translateY(-2px);
    }
    
    /* Focus styles */
    a:focus-visible,
    button:focus-visible {
        outline: 2px solid #3d7a4e;
        outline-offset: 2px;
        border-radius: 4px;
    }
    
    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    
    ::-webkit-scrollbar-track {
        background: #f5f3ed;
    }
    
    ::-webkit-scrollbar-thumb {
        background: #bdd5c0;
        border-radius: 4px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: #8fba97;
    }
    
    /* Reduced motion */
    @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;
        }
    }
    
    /* Print styles */
    @media print {
        #navbar, #mobile-menu, .reveal {
            display: none !important;
        }
        
        body {
            background: white !important;
            color: black !important;
        }
    }
