/* Nexus Hero Slider - Görsel referansa uygun, mobil uyumlu */

.nxs-hero {
	position: relative;
	width: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nxs-hero__track {
	position: absolute;
	inset: 0;
}

.nxs-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
	z-index: 0;
}

.nxs-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

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

.nxs-hero__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	/* Arka plan rengi ayarlardan (turuncu/koyu/yok) gelir */
	background: rgba(230, 130, 70, 0.22);
}

.nxs-hero__overlay--blend {
	mix-blend-mode: overlay;
	-webkit-mix-blend-mode: overlay;
}

.nxs-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 60px 24px 24px;
	text-align: center;
	box-sizing: border-box;
}

.nxs-hero__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 720px;
	margin: 0 auto;
}

.nxs-hero__title {
	font-size: clamp(1.5rem, 4.5vw, 2.5rem);
	font-weight: 300;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
	margin: 0 0 0.5em;
}

@media (min-width: 1024px) {
	.nxs-hero__title {
		white-space: nowrap;
	}
}

.nxs-hero__subtitle {
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	font-weight: 400;
	color: #fff;
	margin: 0 0 1em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nxs-hero__text {
	font-size: clamp(0.875rem, 2vw, 1rem);
	line-height: 1.6;
	color: #fff;
	margin: 0 0 1.5em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nxs-hero__plan {
	flex-shrink: 0;
	margin-top: auto;
	padding-bottom: 24px;
	max-width: min(560px, 90vw);
}

.nxs-hero__plan--has-overlay {
	position: relative;
}

.nxs-hero__plan img {
	display: block;
	width: 100%;
	height: auto;
	min-width: 280px;
}

/* Oklar */
.nxs-hero__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 48px;
	height: 48px;
	padding: 0;
	border: none;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, color 0.2s;
	-webkit-tap-highlight-color: transparent;
}

.nxs-hero__arrow:hover,
.nxs-hero__arrow:focus {
	background: rgba(255, 255, 255, 0.4);
	color: #fff;
	outline: none;
}

.nxs-hero__arrow--prev {
	left: 16px;
}

.nxs-hero__arrow--next {
	right: 16px;
}

/* Mobil - kaydırma yok, tüm içerik tek ekranda sığar */
@media (max-width: 640px) {
	.nxs-hero__inner {
		height: 100vh;
		height: 100dvh;
		min-height: 100vh;
		min-height: 100dvh;
		max-height: 100vh;
		max-height: 100dvh;
		padding: 12px 10px 8px;
		justify-content: flex-start;
		gap: 0;
		overflow: hidden;
	}

	.nxs-hero__content {
		flex: 0 0 auto;
		overflow: visible;
		padding: 0 4px;
		max-width: 100%;
	}

	/* Mobil için sabit font boyutları - ayarlardaki büyük fontlar sadece masaüstünde */
	.nxs-hero__title {
		font-size: 3rem !important;
		line-height: 1.1;
		margin-bottom: 0.1em;
		white-space: normal;
	}

	.nxs-hero__subtitle {
		font-size: 0.85rem !important;
		margin-bottom: 0.2em;
	}

	.nxs-hero__text {
		font-size: 0.7rem !important;
		line-height: 1.35;
		margin-bottom: 0.2em;
	}

	.nxs-hero__plan {
		flex: 1 1 0;
		min-height: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 4px 0 8px;
		max-width: 100% !important;
		width: 100%;
	}

	.nxs-hero__plan img {
		width: 100%;
		height: auto;
		min-width: 0;
		max-height: 42vh;
		object-fit: contain;
	}

	.nxs-hero__arrow {
		width: 40px;
		height: 40px;
	}

	.nxs-hero__arrow--prev {
		left: 8px;
	}

	.nxs-hero__arrow--next {
		right: 8px;
	}
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
	.nxs-hero__slide {
		transition: none;
	}
}
