/* Custom styles supplementing Tailwind */

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAFAF5;
}
::-webkit-scrollbar-thumb {
    background: #c7dfc7;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9ec49e;
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #294329;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #c7dfc7;
    color: #121e12;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    #navbar, .animate-bounce, button {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
