/* ============================================================
   Hero Slider — Full-width 100vh section widget
   Figma: node 191-1097 / file opBauGZv9Y8kRzwG89RTeK
   BEM: .skyspy-hero-slider
   ============================================================ */

/* --- Kill Elementor wrapper padding --- */

.elementor-widget-skyspy_hero_slider {
	width: 100% !important;
	max-width: 100% !important;
	display: block !important;
}

.e-con:has(.elementor-widget-skyspy_hero_slider),
.e-con-inner:has(.elementor-widget-skyspy_hero_slider),
.elementor-element:has(.elementor-widget-skyspy_hero_slider) {
	padding: 0 !important;
	margin: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
	--padding-inline: 0px !important;
	--padding-block: 0px !important;
}

/* ============================================================
   Block — fills full viewport height
   ============================================================ */

.skyspy-hero-slider {
	position: relative;
	width: 100%;
	height: 100vh;
	min-height: 500px;
	overflow: hidden;
	background-color: #0d0d0d;
	/* CSS vars set by Elementor controls — all three zones use the same values */
	--hs-side-padding: 120px;
	--hs-bottom-offset: 60px;
}

/* ============================================================
   Track — fills entire block, slides stacked inside
   ============================================================ */

.skyspy-hero-slider__track {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ============================================================
   Slides — all in DOM, crossfade via opacity
   ============================================================ */

.skyspy-hero-slider__slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.8s ease;
	pointer-events: none;
}

.skyspy-hero-slider__slide--active {
	opacity: 1;
	pointer-events: all;
	z-index: 1;
}

.skyspy-hero-slider__slide--leaving {
	opacity: 0;
	z-index: 0;
}

/* --- Background image — covers 100% of slide, no gaps --- */

.skyspy-hero-slider__slide-img {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center center;
	display: block !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* --- Dark overlay for text contrast --- */

.skyspy-hero-slider__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.45);
	pointer-events: none;
	z-index: 1;
}

/* ============================================================
   Content layer — text + button, bottom-left
   Uses padding (not absolute positioning) so it flows naturally
   ============================================================ */

.skyspy-hero-slider__content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 0 var(--hs-side-padding, 120px) var(--hs-bottom-offset, 60px);
	box-sizing: border-box;
}

/* ============================================================
   Slide title (per-slide)
   ============================================================ */

.skyspy-hero-slider__slide-title {
	font-family: var(--font-primary, 'TT Octosquares', sans-serif);
	font-size: 60px;
	font-weight: 700;
	line-height: 1.0;
	color: #ffffff;
	margin: 0 0 20px 0;
	max-width: 700px;
}

/* ============================================================
   Description (per-slide)
   ============================================================ */

.skyspy-hero-slider__description {
	font-family: var(--font-primary, 'TT Octosquares', sans-serif);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4;
	text-transform: uppercase;
	color: #ffffff;
	max-width: 560px;
	margin: 0 0 30px 0;
}

/* ============================================================
   CTA Button
   ============================================================ */

.skyspy-hero-slider__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	width: 200px;
	height: 50px;
	background-color: #0D0D0D;
	color: #ffffff;
	font-family: var(--font-primary, 'TT Octosquares', sans-serif);
	font-size: 20px;
	font-weight: 500;
	text-transform: uppercase;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: opacity 0.2s ease;
	white-space: nowrap;
	flex-shrink: 0;
}

.skyspy-hero-slider__btn:hover {
	opacity: 0.8;
}

.skyspy-hero-slider__btn-text {
	display: inline;
}

.skyspy-hero-slider__btn-icon {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

/* ============================================================
   Arrow Buttons — bottom-right, with same side padding as content
   ============================================================ */

.skyspy-hero-slider__arrows {
	position: absolute;
	bottom: var(--hs-bottom-offset, 60px);
	right: var(--hs-side-padding, 120px);
	display: flex;
	align-items: center;
	gap: 0;
	z-index: 3;
}

.skyspy-hero-slider__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 50px; /* same height as CTA button */
	background-color: #0D0D0D;
	border: none;
	cursor: pointer;
	padding: 0;
	transition: opacity 0.2s ease;
	color: #ffffff;
}

.skyspy-hero-slider__arrow:hover {
	opacity: 0.8;
}

.skyspy-hero-slider__arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.skyspy-hero-slider__arrow svg {
	width: 14px;
	height: 24px;
	display: block;
}

.skyspy-hero-slider__arrow img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

/* ============================================================
   Tablet  768px – 1200px
   ============================================================ */

@media (max-width: 1200px) {
	.skyspy-hero-slider__slide-title {
		font-size: 44px;
		max-width: 520px;
	}

	.skyspy-hero-slider__description {
		font-size: 16px;
		max-width: 420px;
	}

	.skyspy-hero-slider__arrow {
		width: 60px;
		height: 50px;
	}
}

/* ============================================================
   Mobile  < 768px
   ============================================================ */

@media (max-width: 767px) {
	.skyspy-hero-slider {
		height: 100svh;
		min-height: 480px;
	}

	.skyspy-hero-slider__slide-title {
		font-size: 28px;
		line-height: 1.1;
		max-width: none;
		margin-bottom: 12px;
	}

	.skyspy-hero-slider__description {
		font-size: 13px;
		max-width: 85%;
		margin-bottom: 20px;
	}

	.skyspy-hero-slider__btn {
		width: 160px;
		height: 40px;
		font-size: 15px;
		gap: 12px;
	}

	.skyspy-hero-slider__arrow {
		width: 50px;
		height: 40px;
	}

	.skyspy-hero-slider__arrow svg {
		width: 9px;
		height: 16px;
	}

}
