/* Custom styles and animations */
:root {
    --midnight: #0f172a;
    --mint: #34d399;
    --mint-light: #d1fae5;
    --mint-dark: #059669;
}

html {
    scroll-behavior: smooth;
}

/* Smooth scroll for anchor links */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        animation: floatIn 0.6s ease-out forwards;
        opacity: 0;
        transform: translateY(20px);
    }
    
    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    .service-card:nth-child(4) { animation-delay: 0.4s; }
    .service-card:nth-child(5) { animation-delay: 0.5s; }
    .service-card:nth-child(6) { animation-delay: 0.6s; }
}

@keyframes floatIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(12deg); }
    50% { transform: translateY(-20px) rotate(12deg); }
}

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

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

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

/* Gallery hover effects */
.gallery-item {
    cursor: pointer;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--mint);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--mint-dark);
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--mint);
    outline-offset: 2px;
}

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

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