/* Custom styles beyond Tailwind */

/* Smooth scroll offset for fixed header */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: #e55a2e;
    color: #ffffff;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9ee;
}
::-webkit-scrollbar-thumb {
    background: #2a5496;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1c3660;
}

/* Image lazy load fade */
img[loading="lazy"] {
    transition: opacity 0.3s ease;
}

/* Print styles */
@media print {
    header, #back-to-top, .reveal { display: none; }
    body { color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
}
