/* Custom styles that extend Tailwind */

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9ef;
}
::-webkit-scrollbar-thumb {
    background: #d0af92;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c19a78;
}

/* Selection color */
::selection {
    background: rgba(224, 85, 48, 0.15);
    color: #4a3728;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #e05530;
    outline-offset: 2px;
    border-radius: 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-header, #mobile-menu, .reveal {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
    a {
        color: #000;
    }
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.75rem;
    }
}
