/**
 * ER High-Tech Hero Slider CSS — Premium Open Layout Architecture
 * Open Spacious Design, Rounded Pill Buttons, Flat Line Icons, & Custom Color Controls
 */

:root {
	--er-orange: #fd4000;
	--er-teal: #1c94a4;
	--er-green: #9ea939;
	--er-cyan: #00f2fe;
	--er-blue: #0284c7;
	--er-purple: #7c3aed;
	--er-dark-bg: #070a12;
	--er-text: #ffffff;
	--er-text-sub: #cbd5e1;
}

.er-hero-slider-wrap {
	position: relative;
	width: 100%;
	min-height: var(--hero-height, 680px);
	background: var(--er-dark-bg);
	overflow: hidden;
	color: var(--er-text);
	font-family: inherit;
	box-sizing: border-box;
}

.er-hero-slider-wrap * {
	box-sizing: border-box;
}

.er-hero-slider-inner {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: var(--hero-height, 680px);
}

/* Slide Base State */
.er-hero-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
	z-index: 1;
	display: flex;
	align-items: center;
}

.er-hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

/* Background Layers */
.er-hero-bg-layer {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}

.er-hero-overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}

.er-hero-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 3;
}

/* Open Premium Container & Layout (No AI Slop Box Framing!) */
.er-hero-container {
	position: relative;
	z-index: 4;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 80px 40px;
}

.er-hero-slide.align-left .er-hero-content-open {
	margin-right: auto;
	margin-left: 0;
	text-align: left;
	align-items: flex-start;
}

.er-hero-slide.align-center .er-hero-content-open {
	margin: 0 auto;
	text-align: center;
	align-items: center;
}

.er-hero-slide.align-right .er-hero-content-open {
	margin-left: auto;
	margin-right: 0;
	text-align: right;
	align-items: flex-end;
}

/* Spacious Open Typography Box (No gray borders or card boxes!) */
.er-hero-content-open {
	max-width: 820px;
	display: flex;
	flex-direction: column;
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
	transform: translateY(24px);
	transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.er-hero-slide.is-active .er-hero-content-open {
	transform: translateY(0);
}

/* Minimalist Eyebrow Text (Clean & High-End) */
.er-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	margin-bottom: 24px;
}

.er-hero-eyebrow-line {
	display: inline-block;
	width: 24px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.er-hero-slide.align-center .er-hero-eyebrow {
	justify-content: center;
}

.er-hero-slide.align-center .er-hero-eyebrow-line {
	display: none;
}

/* Title & Highlight Color Support */
.er-hero-title {
	font-size: clamp(2.5rem, 5.5vw, 4.2rem);
	line-height: 1.1;
	font-weight: 800;
	margin: 0 0 24px 0;
	letter-spacing: -0.025em;
	text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.er-hero-title .highlight {
	color: var(--er-highlight-col, var(--er-orange));
	background: none;
	-webkit-background-clip: unset;
	-webkit-text-fill-color: initial;
	display: inline-block;
}

/* Description Paragraph */
.er-hero-description {
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.65;
	margin: 0 0 36px 0;
	max-width: 720px;
	text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Action Buttons Container */
.er-hero-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: center;
}

.er-hero-slide.align-center .er-hero-buttons {
	justify-content: center;
}

/* Fully Rounded Pill Buttons */
.er-hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 16px 36px;
	border-radius: 9999px; /* Fully Rounded Pill */
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	cursor: pointer;
	border: 1px solid transparent;
}

.er-btn-arrow {
	transition: transform 0.3s ease;
	stroke-width: 2px;
}

.er-hero-btn:hover .er-btn-arrow {
	transform: translateX(5px);
}

/* Preset 1: Orange Primary (#fd4000) */
.btn-style-orange_primary {
	background: #fd4000;
	color: #ffffff !important;
	border-color: #fd4000;
	box-shadow: 0 6px 20px rgba(253, 64, 0, 0.35);
}

.btn-style-orange_primary:hover {
	background: #e03800;
	border-color: #e03800;
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(253, 64, 0, 0.55);
}

/* Preset 2: Teal / Celeste Primary (#1c94a4) */
.btn-style-cyan_glow {
	background: #1c94a4;
	color: #ffffff !important;
	border-color: #1c94a4;
	box-shadow: 0 6px 20px rgba(28, 148, 164, 0.35);
}

.btn-style-cyan_glow:hover {
	background: #157987;
	border-color: #157987;
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(28, 148, 164, 0.6);
}

/* Preset 3: Olive Green Primary (#9ea939) */
.btn-style-green_primary {
	background: #9ea939;
	color: #ffffff !important;
	border-color: #9ea939;
	box-shadow: 0 6px 20px rgba(158, 169, 57, 0.35);
}

.btn-style-green_primary:hover {
	background: #88932e;
	border-color: #88932e;
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(158, 169, 57, 0.6);
}

/* Preset 4: Electric Blue */
.btn-style-blue_primary {
	background: #0284c7;
	color: #ffffff !important;
	border-color: #0284c7;
	box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.btn-style-blue_primary:hover {
	background: #0369a1;
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(2, 132, 199, 0.55);
}

/* Preset 5: Purple Gradient */
.btn-style-purple_gradient {
	background: linear-gradient(135deg, #7c3aed 0%, #fd4000 100%);
	color: #ffffff !important;
	box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

.btn-style-purple_gradient:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(124, 58, 237, 0.6);
}

/* Preset 6: Translucent Pill */
.btn-style-translucent {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(12px);
}

.btn-style-translucent:hover {
	background: rgba(255, 255, 255, 0.22);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-3px);
}

/* Preset 7: Outline Pill */
.btn-style-outline {
	background: transparent;
	color: #ffffff !important;
	border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-style-outline:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #ffffff;
	transform: translateY(-3px);
}

/* Flat Line Arrow Navigation Buttons */
.er-hero-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(12px);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.er-hero-prev { left: 32px; }
.er-hero-next { right: 32px; }

.er-hero-arrow svg {
	stroke-width: 2px;
}

.er-hero-arrow:hover {
	background: var(--er-ctrl-col, var(--er-orange));
	border-color: var(--er-ctrl-col, var(--er-orange));
	color: #ffffff;
	transform: translateY(-50%) scale(1.08);
	box-shadow: 0 0 25px var(--er-ctrl-col, var(--er-orange));
}

/* Dots Pagination */
.er-hero-dots {
	position: absolute;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 12px;
}

.er-hero-dot {
	width: 36px;
	height: 5px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.25);
	border: none;
	padding: 0;
	cursor: pointer;
	overflow: hidden;
	position: relative;
	transition: width 0.3s ease, background 0.3s ease;
}

.er-hero-dot-fill {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 0%;
	background: var(--er-ctrl-col, var(--er-orange));
	box-shadow: 0 0 10px var(--er-ctrl-col, var(--er-orange));
}

.er-hero-dot.is-active {
	width: 52px;
	background: rgba(255, 255, 255, 0.35);
}

.er-hero-dot.is-active .er-hero-dot-fill {
	width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.er-hero-slider-wrap,
	.er-hero-slider-inner {
		min-height: 600px;
	}
	.er-hero-container {
		padding: 40px 24px;
	}
	.er-hero-title {
		font-size: 2.2rem;
	}
	.er-hero-arrow {
		display: none;
	}
	.er-hero-buttons {
		flex-direction: column;
		width: 100%;
	}
	.er-hero-btn {
		width: 100%;
	}
}
