/* Custom Styles for Connect 25 Bar */

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

/* Clip Path for Hero */
.clip-path-slant {
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Animation Utilities */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

/* Scroll Reveal Base State */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Animation applied via JS when in view */
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Animation hidden state (initial) */
.reveal-on-scroll.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Delays for staggered animations */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

#mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Navbar Glass Effect */
.nav-scrolled {
    background: rgba(15, 28, 54, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Custom Selection Color */
::selection {
    background: #d4af37;
    color: #0f1c36;
}

/* Image Hover Zoom Container */
img {
    max-width: 100%;
    height: auto;
}
