/* Custom styles for Irvine & Jamboree */

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

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

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

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

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

/* Marquee animation */
@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* Menu tab active state */
.menu-tab.active {
    background-color: rgb(4, 120, 87);
    color: white;
}

.menu-tab:not(.active) {
    background-color: white;
    color: rgb(6, 78, 59);
    opacity: 0.6;
}

.menu-tab:not(.active):hover {
    opacity: 1;
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Default state: all content visible (no JS required) */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgb(16, 185, 129);
    outline-offset: 2px;
}

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

::-webkit-scrollbar-track {
    background: rgb(254, 253, 248);
}

::-webkit-scrollbar-thumb {
    background: rgb(16, 185, 129);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(5, 150, 105);
}

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

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

/* Geometric accent shapes */
.geo-square {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgb(16, 185, 129);
    opacity: 0.1;
    border-radius: 12px;
    transform: rotate(45deg);
}

.geo-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgb(16, 185, 129);
    opacity: 0.1;
    border-radius: 50%;
}
