/* Custom styles beyond Tailwind */
html {
    scroll-behavior: smooth;
}

body {
    /* Prevent content jump on mobile when scrollbars appear */
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #FAF9F6;
}
::-webkit-scrollbar-thumb {
    background: #D97706;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #B45309;
}

/* Accessibility focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #D97706;
    outline-offset: 2px;
}

/* Subtle entry animations for below-fold sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0; /* Hidden by default for progressive enhancement */
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .animate-on-scroll {
        opacity: 1;
        animation: none;
    }
}
