/* Custom Scrollbar Hide */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.slide-up {
    transform: translateY(30px);
}

.slide-right {
    transform: translateX(-30px);
}

.scale-up {
    transform: scale(0.95);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Hero Load Animation */
.animate-on-load > * {
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-delay-1 { transition-delay: 0.5s; }
.animate-delay-2 { transition-delay: 0.7s; }
.animate-delay-3 { transition-delay: 0.9s; }
.animate-delay-4 { transition-delay: 1.1s; }

/* Corrected selector: no space between classes because both are on the same element */
.animate-on-load.loaded > * {
    opacity: 1;
    transform: translateY(0);
}

/* Bounce Animation */
@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}
.animate-bounce-slow {
    animation: bounce-slow 2s infinite;
}

/* Navbar Scrolled State */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom-color: #e7e5e4; /* stone-200 */
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Parallax Utilities */
.parallax-container {
    will-change: transform;
}
.parallax-image {
    transform: scale(1.2); /* Ensure coverage during scroll */
    transition: transform 0.1s linear;
}

/* Tooltip Animation Class */
.tooltip-visible {
    display: block !important;
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}