/**
 * Slider / Swiper – genel + hero
 * Renkler: #edb61d, #6e301e
 *
 * @package erdaunlumamulleri
 */

/* ========== Hero slider ========== */
.hero-slider {
	position: relative;
	width: 100%;
	min-height: 520px;
}

.hero-swiper {
	width: 100%;
	height: 100%;
	min-height: 520px;
}

.hero-slide {
	position: relative;
	overflow: hidden;
	min-height: 520px;
}

.hero-slide__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.hero-slide__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient( to right, rgba(110, 48, 30, 0.75) 0%, rgba(110, 48, 30, 0.4) 45%, transparent 70% );
}

.hero-slide__content {
	position: relative;
	z-index: 2;
	max-width: 1400px;
	margin: 0 auto;
	padding: 3rem 1.5rem 4rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 520px;
}

.hero-slide__label {
	display: inline-block;
	background-color: #edb61d;
	color: #6e301e;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.4rem 1rem;
	border-radius: 6px;
	margin-bottom: 1rem;
}

.hero-slide__title {
	font-size: clamp( 1.75rem, 4vw, 2.75rem );
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
	margin: 0 0 1rem;
	max-width: 520px;
	text-align: center;
}

.hero-slide__desc {
	font-size: 1rem;
	color: rgba( 255, 255, 255, 0.95 );
	line-height: 1.5;
	margin: 0 0 1.5rem;
	max-width: 480px;
}

.hero-slide__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.hero-slide__btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 8px;
	transition: opacity 0.2s, transform 0.15s;
}

.hero-slide__btn:hover {
	opacity: 0.95;
	transform: translateY( -2px );
}

.hero-slide__btn--sari {
	background-color: #edb61d;
	color: #6e301e;
}

.hero-slide__btn--sari:hover {
	color: #6e301e;
}

.hero-slide__btn--kahve {
	background-color: #6e301e;
	color: #fff;
}

.hero-slide__btn--kahve:hover {
	color: #edb61d;
}

/* Swiper kontrolleri – tema renkleri */
.hero-slider .swiper-pagination-bullet {
	background: rgba( 255, 255, 255, 0.5 );
	opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
	background: #edb61d;
	transform: scale( 1.2 );
}

/* Prev / Next – modern yarı saydam beyaz kutu */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
	width: 52px;
	height: 52px;
	margin-top: 0;
	top: 50%;
	transform: translateY( -50% );
	background: rgba( 255, 255, 255, 0.25 );
	backdrop-filter: blur( 8px );
	-webkit-backdrop-filter: blur( 8px );
	color: #fff;
	border: 1px solid rgba( 255, 255, 255, 0.35 );
	box-shadow: 0 2px 12px rgba( 0, 0, 0, 0.08 );
	transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.hero-slider .swiper-button-prev {
	left: 0;
	border-radius: 0 12px 12px 0;
}

.hero-slider .swiper-button-next {
	right: 0;
	border-radius: 12px 0 0 12px;
}

.hero-slider .swiper-button-prev:after,
.hero-slider .swiper-button-next:after {
	font-size: 1rem;
	font-weight: 700;
}

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
	background: rgba( 255, 255, 255, 0.4 );
	color: #fff;
	box-shadow: 0 4px 20px rgba( 0, 0, 0, 0.12 );
}

@media ( max-width: 768px ) {
	.hero-slider,
	.hero-swiper,
	.hero-slide {
		min-height: 420px;
	}

	.hero-slide__content {
		min-height: 420px;
		padding: 2rem 1rem 3rem;
	}

	.hero-slide__overlay {
		background: linear-gradient( to bottom, rgba(110, 48, 30, 0.5) 0%, rgba(110, 48, 30, 0.3) 60%, transparent 100% );
	}
}
