/* ==========================================================================
   JVR Softech Animations, Hover Micro-Interactions & Reduced Motion
   ========================================================================== */

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

@keyframes jvr-marquee-scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

.jvr-float-slow {
	animation: jvr-float 6s ease-in-out infinite;
}

.jvr-marquee-animate .jvr-marquee-track {
	animation: jvr-marquee-scroll 34s linear infinite;
}

.jvr-marquee:hover .jvr-marquee-track {
	animation-play-state: paused;
}

/* Initial safe state for reveal elements (GSAP animates them smoothly, CSS keeps fallback visible) */
.jvr-reveal {
	will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.jvr-float-slow,
	.jvr-marquee-animate .jvr-marquee-track {
		animation: none !important;
	}
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}
