    /* Custom styles for F and H Iron Works */

    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }

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

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

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

    /* Navbar styles */
    #navbar {
        background: transparent;
    }

    #navbar.scrolled {
        background: rgba(253, 252, 248, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(6, 78, 59, 0.08);
    }

    #navbar.scrolled .font-serif,
    #navbar.scrolled .text-emerald-900 {
        color: #064e3b;
    }

    #navbar.scrolled .text-emerald-700 {
        color: #047857;
    }

    /* Custom selection color */
    ::selection {
        background: #064e3b;
        color: #fdfcf8;
    }

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

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

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

    ::-webkit-scrollbar-thumb:hover {
        background: #064e3b;
    }

    /* Form select arrow */
    select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        background-size: 12px;
        padding-right: 2.5rem;
    }

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

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

    /* Hero gradient animation */
    @keyframes gradient-shift {
        0%, 100% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
    }

    /* Ensure images don't cause layout shift */
    img {
        max-width: 100%;
        height: auto;
    }

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