/**
 * Hero Slider Styles
 *
 * @package Talar
 * @since 1.0.0
 */

/* Hero Slider Container */
.hero-slider-container {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 25px;
}

.hero-slider {
	width: 100%;
	height: auto;
	border-radius: 25px;
	overflow: hidden;
}

.hero-slider .swiper-wrapper {
	display: flex;
	align-items: stretch;
}

/* Slide Content */
.hero-slider .swiper-slide {
	position: relative;
	width: 100%;
	height: 40vh;
	min-height: 400px;
	overflow: hidden;
	border-radius: 25px;
}

@media (min-width: 768px) {
	.hero-slider .swiper-slide {
		height: 50vh;
		min-height: 500px;
	}
}

@media (min-width: 1024px) {
	.hero-slider .swiper-slide {
		height: 60vh;
		min-height: 600px;
	}
}

@media (min-width: 1280px) {
	.hero-slider .swiper-slide {
		height: 70vh;
		min-height: 700px;
	}
}

.hero-slider .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Typography enhancements for better readability */
.hero-slider-container h2 {
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-slider-container h3 {
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.2);
	opacity: 0.95;
}

/* Content Overlay */
.hero-slider-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 2rem;
	z-index: 10;
}

.hero-slider-content h2,
.hero-slider-content h3 {
	color: #fff;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Navigation Buttons */
.hero-slider-btn-prev,
.hero-slider-btn-next {
	transition: all 0.3s ease;
}

.hero-slider-btn-prev:hover,
.hero-slider-btn-next:hover {
	transform: scale(1.1);
	opacity: 0.8;
}

/* Pagination */
.hero-slider-pagination {
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	align-items: center;
}

.hero-slider-pagination .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
}

.hero-slider-pagination .swiper-pagination-bullet-active {
	background: #d2ac67;
	width: 30px;
	border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
	.hero-slider {
		min-height: 300px;
	}

	.hero-slider-content {
		padding: 1.5rem;
	}

	.hero-slider-content h2 {
		font-size: 1.5rem;
	}

	.hero-slider-content h3 {
		font-size: 1rem;
	}
}
