
/* AI Dev Slider.css | Platinum Training
   Responsive slider with automatic slide detection.
   Fade and horizontal slide transitions.
*/

/*.ai-hero {
	--ai-accent: #f7d84a;
	--ai-duration: 6s;
	--ai-transition: .65s;
	position: relative;
	width: 100%;
	max-width: 960px;
	height: 540px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #161616;
	isolation: isolate;
	color: white;
	font-family: Arial, Helvetica, sans-serif;
}*/
.ai-hero {
	--ai-accent: #f7d84a;
	--ai-duration: 6s;
	--ai-transition: .65s;
	position: relative;
	width: 100%;
	max-width: 960px;
	height: 405px;
	overflow: hidden;
	background: #161616;
	isolation: isolate;
	color: white;
	font-family: Arial, Helvetica, sans-serif;
}

.ai-hero,
.ai-hero * {
	box-sizing: border-box;
}

.ai-hero__track {
	position: relative;
	width: 100%;
	height: 100%;
}

.ai-hero__panel {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity var(--ai-transition) ease, visibility var(--ai-transition) ease;
}

.ai-hero__panel.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
}

.ai-hero__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
}

.ai-hero__panel--corporate .ai-hero__image {
	object-position: center 32%;
}

.ai-hero__panel--personal .ai-hero__image {
	object-position: center 40%;
}

.ai-hero__panel--vip .ai-hero__image {
	object-position: center 35%;
}

.ai-hero__panel::after {
	display: none;
}

.ai-hero__copy {
	position: absolute;
	z-index: 1;
	top: auto;
	left: 3.2%;
	right: auto;
	bottom: 40px;
	transform: none;
	width: 47%;
	max-width: 470px;
	padding: 20px;
	text-align: left;
	color: #fff;
	background: linear-gradient(90deg, rgba(0,0,0,.80) 0%, rgba(0,0,0,.65) 70%, rgba(0,0,0,.30) 100%);
	border-radius: 10px;
}

.ai-hero__eyebrow {
	margin: 0 0 5px !important;
	color: var(--ai-accent) !important;
	font-size: 11px !important;
	font-weight: bold;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ai-hero__copy h2 {
	margin: 0 0 8px !important;
	padding: 0 !important;
	color: #fff !important;
	font-size: clamp(17px, 2.25vw, 24px) !important;
	line-height: 1.16 !important;
	font-weight: 700 !important;
	text-transform: none !important;
}

.ai-hero__copy > p:not(.ai-hero__eyebrow) {
	margin: 0 0 13px !important;
	color: #f0f0f0 !important;
	font-size: clamp(11px, 1.34vw, 14px) !important;
	line-height: 1.42 !important;
}

.ai-hero__button,
.ai-hero__button:link,
.ai-hero__button:visited {
	display: inline-block;
	padding: 10px 15px;
	border-radius: 5px;
	border: 1px solid var(--ai-accent);
	background: var(--ai-accent);
	color: #111 !important;
	text-decoration: none !important;
	text-transform: none !important;
	font-size: 13px !important;
	line-height: 1.25 !important;
	font-weight: bold;
	transition: background-color .2s ease, transform .2s ease;
}

.ai-hero__button:hover,
.ai-hero__button:focus-visible {
	background: #ffe979;
	transform: translateY(-1px);
}

.ai-hero__button:focus-visible {
	outline: 3px solid white;
	outline-offset: 3px;
}

/* Automatic navigation indicators */

.ai-hero__progress {
	position: absolute;
	z-index: 5;
	left: 3.2%;
	right: auto;
	bottom: 20px;
	display: flex;
	gap: 5px;
	pointer-events: none;
}

.ai-hero__progress span {
	display: block;
	width: 22px;
	height: 4px;
	background: rgba(255,255,255,.4);
	transition: background-color .2s ease;
}

.ai-hero__progress span.is-active {
	background: var(--ai-accent);
}

/* Optional horizontal slide transition */

.ai-hero--slide .ai-hero__panel {
	transform: translateX(100%);
	opacity: 1;
	visibility: hidden;
	transition: transform var(--ai-transition) ease, visibility var(--ai-transition) ease;
}

.ai-hero--slide .ai-hero__panel.is-active {
	transform: translateX(0);
	visibility: visible;
	z-index: 2;
}

.ai-hero--slide .ai-hero__panel.is-before {
	transform: translateX(-100%);
	visibility: visible;
	z-index: 1;
}

.ai-hero--slide .ai-hero__panel:not(.is-active):not(.is-before) {
	transition: none;
}

/* Tablet and mobile */

@media (max-width: 700px) {
	.ai-hero {
		aspect-ratio: auto;
		height: 300px;
	}

	.ai-hero__copy {
		top: auto;
		bottom: 25px;
		left: 5%;
		right: 5%;
		transform: none;
		width: 90%;
		max-width: none;
	}

	.ai-hero__copy h2 {
		font-size: clamp(20px, 4vw, 25px) !important;
	}

	.ai-hero__copy > p:not(.ai-hero__eyebrow) {
		font-size: 13px !important;
	}

	.ai-hero__progress {
		left: 5%;
		right: auto;
		bottom: 10px;
	}
}

@media (max-width: 390px) {
	.ai-hero {
		height: 330px;
	}

	.ai-hero__copy h2 {
		font-size: 21px !important;
	}

	.ai-hero__button {
		padding: 9px 11px;
		font-size: 12px !important;
	}
}

/* Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {
	.ai-hero__panel {
		transition: none !important;
	}

	.ai-hero__panel.is-active {
		opacity: 1;
		visibility: visible;
		transform: none !important;
	}

	.ai-hero--slide .ai-hero__panel:not(.is-active) {
		opacity: 0;
		visibility: hidden;
		transform: none !important;
	}
}
