/* Custom styles that complement Tailwind */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: #9dc2af;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #71a188;
}

/* Selection color */
::selection {
    background-color: #c7dfd2;
    color: #1c322b;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid #4f8168;
    outline-offset: 2px;
}

/* Animation classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .animate-bounce {
        animation: none;
    }
    
    img, .group:hover img {
        transition: none;
    }
}

/* Print styles */
@media print {
    #navbar, #mobile-menu-btn, .animate-bounce {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .bg-forest-900, .bg-forest-50 {
        background: white !important;
        color: black !important;
    }
}
