/* Custom styles that extend beyond Tailwind */

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fefdf8;
}
::-webkit-scrollbar-thumb {
    background: #166534;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #14532d;
}

/* Selection color */
::selection {
    background: #166534;
    color: #fefdf8;
}

/* Reduced motion preference */
@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;
    }
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #16a34a;
    outline-offset: 2px;
}

/* Subtle pattern overlay for sections */
.pattern-dots {
    background-image: radial-gradient(circle, rgba(22, 101, 52, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, #166534, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
