/* Custom styles that extend Tailwind */

html {
    scroll-behavior: smooth;
}

/* Custom scrollbar for webkit */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f7f5ee;
}

::-webkit-scrollbar-thumb {
    background: #40916c;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d6a4f;
}

/* Animation utilities */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Print styles */
@media print {
    nav, #mobile-menu, button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-forest-900, .bg-forest-800 {
        background: #fff !important;
        color: #000 !important;
    }
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #40916c;
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
