/* Custom styles for Gotham Surgical */

html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #065f46;
}

/* Animation for mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Apply float animation to stat cards */
.relative.min-h-\[480px\] > div {
    animation: float 6s ease-in-out infinite;
}

.relative.min-h-\[480px\] > div:nth-child(1) {
    --rotation: 2deg;
    animation-delay: 0s;
}

.relative.min-h-\[480px\] > div:nth-child(2) {
    --rotation: -1deg;
    animation-delay: 1s;
}

.relative.min-h-\[480px\] > div:nth-child(3) {
    --rotation: 1deg;
    animation-delay: 2s;
}

.relative.min-h-\[480px\] > div:nth-child(4) {
    --rotation: -2deg;
    animation-delay: 3s;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .relative.min-h-\[480px\] > div {
        animation: none;
    }
}
