/* Custom styles for Fireworks Express of NEA */

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

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

::-webkit-scrollbar-track {
    background: #0a1120;
}

::-webkit-scrollbar-thumb {
    background: #1a2b4a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

/* Hero animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(var(--rotate, 0deg)); }
    50% { transform: translateY(-20px) rotate(var(--rotate, 0deg)); }
}

/* Apply float animation to cards with staggered delays */
.lg\:block .absolute {
    animation: float 6s ease-in-out infinite;
}

.absolute.top-0.left-0 {
    --rotate: -3deg;
    animation-delay: 0s;
}

.absolute.top-24.right-0 {
    --rotate: 3deg;
    animation-delay: 1s;
}

.absolute.bottom-0.left-8 {
    --rotate: 2deg;
    animation-delay: 2s;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .absolute {
        animation: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background-color: #14b8a6;
    color: #0a1120;
}

/* Aspect ratio utility */
.aspect-w-4 {
    position: relative;
    padding-bottom: 75%;
}

.aspect-w-4 > * {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Subtle glow effect for cards */
.hover\:shadow-mint-500\/10:hover {
    box-shadow: 0 25px 50px -12px rgba(20, 184, 166, 0.1);
}

/* Ensure map overlay is interactive */
iframe {
    pointer-events: auto;
}
