/* Custom styles that complement Tailwind */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf8f4;
}
::-webkit-scrollbar-thumb {
    background: #d49a3a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4502e;
}

/* Selection color */
::selection {
    background: #d4502e;
    color: #faf8f4;
}

/* Image loading optimization */
img {
    background-color: #f0ebe4;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .img-zoom img {
        transition: none;
    }
    .nav-link::after {
        transition: none;
    }
}

/* Print styles */
@media print {
    header, footer, .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .img-zoom img {
        transition: none;
    }
}
