/* Custom styles to supplement Tailwind */

/* Smooth scroll offset for fixed navbar */
section {
    scroll-margin-top: 80px;
}

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

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

::-webkit-scrollbar-thumb {
    background: #2D3732;
    border-radius: 5px;
}

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

/* Selection color */
::selection {
    background: #D1633B;
    color: #FDFCF8;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

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

/* Reduced 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;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .no-print {
        display: none;
    }
}
