/* ============================================================
   Homepage Slider — Frontend Styles
   ============================================================ */

/* ---------- Container ---------- */
.hps-slider-wrap {
	--hps-height-desktop: 600px;
	--hps-height-mobile: 300px;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.hps-swiper {
	width: 100%;
	height: var(--hps-height-desktop);
}

/* ---------- Slides ---------- */
.hps-slide {
	position: relative;
	overflow: hidden;
}

.hps-slide-bg {
	position: absolute;
	inset: 0;
	background-size: contain !important;
	background-position: center center;
	background-repeat: no-repeat;
	will-change: transform;
}

.swiper-slide-active .hps-slide-bg {
	transform: scale(1.04);
}

/* ---------- Content overlay ---------- */
.hps-slide-content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px 40px;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.08) 0%,
		rgba(0, 0, 0, 0.50) 100%
	);
	text-align: center;
	color: #fff;
	z-index: 2;
}

.hps-slide-title {
	font-size: clamp(22px, 4vw, 52px);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 14px;
	text-shadow: 0 2px 8px rgba(0,0,0,0.4);
	max-width: 800px;
}

.hps-slide-desc {
	font-size: clamp(14px, 1.8vw, 20px);
	line-height: 1.6;
	margin: 0 0 24px;
	max-width: 640px;
	text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hps-slide-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 32px;
	background: #fff;
	color: #1d2327;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 4px;
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
	box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.hps-slide-btn:hover,
.hps-slide-btn:focus {
	background: #f0f6fc;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.25);
	color: #1d2327;
	text-decoration: none;
}

/* ---------- Navigation Arrows ---------- */
.hps-btn-prev,
.hps-btn-next {
	--swiper-navigation-color: #fff;
	--swiper-navigation-size: 24px;
}

.hps-btn-prev::after,
.hps-btn-next::after {
	font-size: 20px;
	font-weight: 700;
}

/* Arrow background pill */
.hps-btn-prev,
.hps-btn-next {
	background: rgba(0, 0, 0, 0.35);
	border-radius: 50%;
	width: 46px;
	height: 46px;
	transition: background 0.2s ease, transform 0.15s ease;
}

.hps-btn-prev:hover,
.hps-btn-next:hover {
	background: rgba(0, 0, 0, 0.6);
	transform: scale(1.08);
}

/* ---------- Pagination Dots ---------- */
.hps-pagination {
	--swiper-pagination-color: #fff;
	--swiper-pagination-bullet-inactive-color: rgba(255,255,255,0.5);
	--swiper-pagination-bullet-inactive-opacity: 1;
	--swiper-pagination-bullet-size: 10px;
	--swiper-pagination-bullet-horizontal-gap: 5px;
}

.hps-pagination .swiper-pagination-bullet-active {
	transform: scale(1.3);
}

/* ---------- Empty state (no slides) ---------- */
.hps-no-slides {
	padding: 40px 20px;
	text-align: center;
	color: #787c82;
	font-size: 15px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
	.hps-swiper {
		height: var(--hps-height-mobile);
	}

	.hps-slide-content {
		padding: 16px 20px;
	}

	.hps-btn-prev,
	.hps-btn-next {
		width: 36px;
		height: 36px;
	}

	.hps-btn-prev::after,
	.hps-btn-next::after {
		font-size: 14px;
	}

	.hps-slide-btn {
		padding: 10px 22px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.hps-slide-content {
		padding: 12px 14px;
	}
}
