/* Custom animations and utilities */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

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

.animate-float-delayed {
    animation: float-delayed 3.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

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

/* Mobile menu animations */
.menu-line-1 {
    transition: transform 0.3s ease;
}

.menu-line-2 {
    transition: opacity 0.3s ease;
}

.menu-line-3 {
    transition: all 0.3s ease;
}

#mobile-menu-btn.active .menu-line-1 {
    transform: translateY(7px) rotate(45deg);
}

#mobile-menu-btn.active .menu-line-2 {
    opacity: 0;
}

#mobile-menu-btn.active .menu-line-3 {
    transform: translateY(-7px) rotate(-45deg);
    width: 1.5rem;
}

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

/* Gallery item hover */
.gallery-item {
    position: relative;
}

/* Focus styles for accessibility */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #86efac;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #22c55e;
}
