/* Custom styles — overrides and additions beyond Tailwind */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f3ed;
}
::-webkit-scrollbar-thumb {
    background: #a0c28d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #74a361;
}

/* Image object-fit fallback */
img {
    max-width: 100%;
    height: auto;
}

/* Selection color */
::selection {
    background: #548744;
    color: #faf9f6;
}

/* Reduced motion */
@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 {
    nav, #mobile-menu, button {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
