/**
 * Dedicated Hero Section Styles & Keyframe Animations
 *
 * @package CellVora_Theme
 * @author  Mohammad Arman (https://arman.bd)
 */

.cv-hero-wrapper {
	background-color: var(--cv-hero-dark, #262B22);
	background-image: radial-gradient(circle at 72% 48%, rgba(255, 255, 255, 0.045) 0%, rgba(38, 43, 34, 0) 62%);
}

/* Subtle horizontal architectural lines matching screenshot */
.cv-hero-grid-overlay {
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
	background-size: 100% 36px;
}

/* Vertical rotated text on right edge */
.cv-vertical-text {
	writing-mode: vertical-rl;
	text-orientation: mixed;
}

/* Smooth levitation animation for hero hardware */
@keyframes cvHeroLevitate {
	0%, 100% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-14px) rotate(1.2deg);
	}
}

/* Slow orbital ring rotation */
@keyframes cvOrbitClockwise {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@keyframes cvOrbitCounterClockwise {
	from {
		transform: rotate(360deg);
	}
	to {
		transform: rotate(0deg);
	}
}

.cv-hero-float {
	animation: cvHeroLevitate 5.5s ease-in-out infinite;
	will-change: transform;
}

.cv-orbit-spin-slow {
	transform-origin: 300px 300px;
	animation: cvOrbitClockwise 28s linear infinite;
}

.cv-orbit-spin-reverse {
	transform-origin: 275px 315px;
	animation: cvOrbitCounterClockwise 38s linear infinite;
}

/* Paused state controlled by Pause Motion toggle button */
.cv-hero-paused .cv-hero-float,
.cv-hero-paused .cv-orbit-spin-slow,
.cv-hero-paused .cv-orbit-spin-reverse {
	animation-play-state: paused !important;
}