    /* Custom styles for Black Sheep Tattoo Studio */

    html {
        scroll-behavior: smooth;
    }

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

    /* Scroll reveal base state - content is always visible by default */
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    /* Only apply animation when JS is active and user prefers motion */
    @media (prefers-reduced-motion: no-preference) {
        .scroll-reveal.animate {
            opacity: 0;
            transform: translateY(30px);
        }

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

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

    ::-webkit-scrollbar-track {
        background: #0a1628;
    }

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

    ::-webkit-scrollbar-thumb:hover {
        background: #d4a853;
    }

    /* Selection color */
    ::selection {
        background: #c9982e;
        color: #0a1628;
    }

    /* Navbar transition */
    #navbar {
        backdrop-filter: blur(0px);
    }

    #navbar.scrolled {
        background: rgba(10, 22, 40, 0.95);
        backdrop-filter: blur(20px);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    /* Smooth image loading */
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    /* Form select arrow override for Firefox */
    select option {
        background: #111d35;
        color: #ffffff;
    }

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

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

    /* Gold accent line animation */
    .gold-divider {
        position: relative;
    }

    .gold-divider::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 60px;
        height: 2px;
        background: linear-gradient(90deg, #c9982e, transparent);
    }

    /* Hover card lift effect */
    .group:hover {
        transform: translateY(-2px);
    }

    /* Reduce motion preference */
    @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;
        }
    }
