/* Custom styles that complement Tailwind — scrollbar, selection, print, etc. */

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #111111;
}
::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff5c2e;
}

/* Selection color */
::selection {
    background: rgba(255, 92, 46, 0.3);
    color: #ffffff;
}

/* Smooth focus outlines for accessibility */
:focus-visible {
    outline: 2px solid #ff5c2e;
    outline-offset: 4px;
}

/* Reduce motion for users who prefer it */
@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;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #menu-toggle, #menu-close {
        display: none !important;
    }
    body {
        background: #fff !important;
        color: #111 !important;
    }
    section {
        page-break-inside: avoid;
    }
}
