    /* Custom styles for Marnach Outdoor Services */

    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px;
    }

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

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

    #navbar.scrolled .font-display {
        color: #1B4332 !important;
    }

    #navbar.scrolled .font-display + span,
    #navbar.scrolled .block.leading-none {
        color: #2D6A4F !important;
    }

    /* Stat cards animation */
    .stat-card {
        animation: floatCard 6s ease-in-out infinite;
    }

    .stat-card:nth-child(2) { animation-delay: -1.5s; }
    .stat-card:nth-child(3) { animation-delay: -3s; }
    .stat-card:nth-child(4) { animation-delay: -4.5s; }

    @keyframes floatCard {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-6px); }
    }

    /* Service card image hover */
    .service-card .h-48 {
        overflow: hidden;
    }

    /* Gallery item */
    .gallery-item {
        cursor: pointer;
    }

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

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

    /* Scroll reveal animations (below the fold only) */
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

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

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }
        .stat-card {
            animation: none;
        }
        .service-card .h-48 img,
        .gallery-item img {
            transition: none;
        }
    }

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

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #F4F6F2;
    }
    ::-webkit-scrollbar-thumb {
        background: #A5D6A7;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #66BB6A;
    }
