/* Custom Styles for Keur Bamba */

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

/* Floating animation for stat cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-card {
    animation: float 3s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    animation-delay: 0.5s;
}

.floating-card:nth-child(3) {
    animation-delay: 1s;
}

/* Service card hover effect */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Gallery item hover effect */
.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

/* Navbar scroll effect */
.nav-scrolled {
    background-color: rgba(253, 251, 247, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(6, 78, 59, 0.1);
}

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

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

::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #064e3b;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .floating-card {
        animation: none;
    }
    
    .gallery-item img {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 300px;
}

/* Button hover effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Focus styles for accessibility */
input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}
