/* Custom styles that extend Tailwind */

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

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #F9F9F7;
}
::-webkit-scrollbar-thumb {
    background: #4d8056;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #396341;
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Subtle hover effect for images */
img {
    transition: transform 0.3s ease;
}

/* Ensure text readability on all backgrounds */
.text-forest-900 {
    color: #1f3623;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Hero text gradient (optional enhancement) */
.gradient-text {
    background: linear-gradient(135deg, #1f3623 0%, #4d8056 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
