    /* Custom styles for Dr. Boggs website */

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

    /* Selection color */
    ::selection {
        background-color: rgba(184, 101, 74, 0.4);
        color: #f5efe6;
    }

    /* Scrollbar styling */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #1a1410;
    }
    ::-webkit-scrollbar-thumb {
        background: #3d322a;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #c9a84c;
    }

    /* Reveal on scroll — progressive enhancement */
    .reveal-on-scroll {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    @media (prefers-reduced-motion: no-preference) {
        .reveal-on-scroll {
            opacity: 0;
            transform: translateY(28px);
        }
        .reveal-on-scroll.is-visible {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Mobile menu link hover */
    .mobile-link {
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(212, 184, 150, 0.08);
    }
    .mobile-link:last-child {
        border-bottom: none;
    }

    /* Navbar glass effect when scrolled */
    #navbar.scrolled {
        background-color: rgba(26, 20, 16, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 1px 0 rgba(212, 184, 150, 0.06);
    }

    /* Input autofill styling */
    input:-webkit-autofill,
    textarea:-webkit-autofill {
        -webkit-box-shadow: 0 0 0 30px #1a1410 inset !important;
        -webkit-text-fill-color: #f5efe6 !important;
    }

    /* Subtle hover lift for cards */
    .group:hover {
        transform: translateY(-2px);
    }

    /* Gold shimmer animation for special elements */
    @keyframes shimmer {
        0% { background-position: -200% center; }
        100% { background-position: 200% center; }
    }

    /* Focus visible for accessibility */
    :focus-visible {
        outline: 2px solid #c9a84c;
        outline-offset: 2px;
    }

    /* Reduce motion preference */
    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }
        .reveal-on-scroll {
            opacity: 1;
            transform: none;
            transition: none;
        }
        * {
            transition-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
        }
    }
