/* Custom styles to supplement Tailwind */

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden */
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #3f6946; /* forest-600 */
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2a4430; /* forest-800 */
}

/* Typography refinements */
h1, h2, h3, h4 {
    letter-spacing: -0.02em;
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

/* Menu list item hover effect */
li.group:hover p {
    color: #4f8358; /* forest-500 */
    transition: color 0.2s ease;
}
