/* Ana sayfa — hero, kart slider, arama alanı */

:root {
	--hx-teal: #0d8a8f;
	--hx-teal-dark: #0a6d72;
	--hx-ink: #1a2b2e;
	--hx-white: #fff;
	--hx-muted: rgba(255, 255, 255, 0.82);
	--hero-card-w: 272px;
	--hero-card-h: 464px;
	--hero-card-img-h: 174px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body.site-home {
	margin: 0;
	font-family: "Montserrat", system-ui, -apple-system, sans-serif;
	color: var(--hx-white);
	background: #0b1214;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* —— Hero —— */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: #061012;
}

.hero__bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.15s ease-in-out;
	will-change: opacity;
}

.hero__bg-img.is-active {
	opacity: 1;
}

.hero__bg-vignette {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(
			180deg,
			rgba(10, 60, 64, 0.78) 0%,
			rgba(12, 90, 96, 0.52) 42%,
			rgba(6, 22, 26, 0.88) 100%);
}

/* Header */
.site-header {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 4vw;
	flex-wrap: wrap;
}

.site-logo {
	font-weight: 800;
	font-size: 1.1rem;
	color: var(--hx-white);
	text-decoration: none;
	letter-spacing: 0.03em;
}

.site-logo span {
	color: #5ee0d9;
}

.site-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.65rem 1.1rem;
}

.site-nav a {
	color: var(--hx-muted);
	text-decoration: none;
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	transition: color 0.2s;
}

.site-nav a:hover {
	color: #fff;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	padding: 0.15rem 0.35rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.lang-switch__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.85rem;
	height: 1.85rem;
	border-radius: 50%;
	text-decoration: none;
	font-size: 1.1rem;
	line-height: 1;
	transition: background 0.2s, transform 0.15s;
}

.lang-switch__link:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: scale(1.06);
}

.lang-switch__link.is-active {
	background: rgba(255, 255, 255, 0.28);
	box-shadow: 0 0 0 2px rgba(94, 224, 217, 0.45);
}

.btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 1.1rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.85);
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.85rem;
	transition: background 0.2s, color 0.2s;
}

.btn-ghost:hover {
	background: #fff;
	color: var(--hx-teal-dark);
}

.nav-toggle {
	display: none;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(0, 0, 0, 0.15);
	cursor: pointer;
	position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
	content: "";
	position: absolute;
	left: 0.55rem;
	right: 0.55rem;
	height: 2px;
	background: #fff;
	border-radius: 1px;
	transition: transform 0.2s;
}

.nav-toggle::before {
	top: 0.9rem;
	box-shadow: 0 7px 0 #fff;
}

.nav-toggle::after {
	top: 1.65rem;
}

/* Hero içerik */
.hero__body {
	position: relative;
	z-index: 2;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding: 0 4vw 4rem;
	text-align: center;
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

.hero__kicker {
	margin: 4.5rem 0 0;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.88);
}

.hero__title {
	margin: 0.6rem 0 1.75rem;
	font-size: clamp(1.45rem, 3.5vw, 2.35rem);
	font-weight: 700;
	line-height: 1.2;
	max-width: 20em;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
	/* Tıklanınca metin seçimi / odak imleci benzeri çizgi oluşmasın */
	user-select: none;
	-webkit-user-select: none;
	cursor: default;
}

/* Swiper kartları — sabit boyut (tüm kartlar aynı) */
/* Taşan slaytlar kesilsin; hizada yalnızca 1/2/3 kart görünsün */
.hero-swiper {
	width: 100%;
	max-width: 980px;
	padding-bottom: 0.5rem;
	overflow: hidden;
	border-radius: 12px;
}

.hero-swiper .swiper-slide {
	display: flex;
	justify-content: center;
	align-items: stretch;
	box-sizing: border-box;
	height: auto;
	transition: filter 0.45s ease;
}

.hero-swiper .swiper-slide .prop-card {
	flex-shrink: 0;
}

.hero-swiper .swiper-slide-active {
	/* Ölçü aynı kalsın — sadece öne al */
	z-index: 2;
	filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
}

.prop-card {
	background: rgba(255, 255, 255, 0.97);
	color: var(--hx-ink);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.6);
	text-align: left;
	width: 100%;
	max-width: var(--hero-card-w);
	height: var(--hero-card-h);
	display: flex;
	flex-direction: column;
}

.prop-card__pic {
	position: relative;
	flex: 0 0 var(--hero-card-img-h);
	height: var(--hero-card-img-h);
	overflow: hidden;
}

.prop-card__pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.prop-card__ribbon {
	position: absolute;
	bottom: 0.55rem;
	left: 0.55rem;
	right: 0.55rem;
	background: rgba(192, 40, 40, 0.95);
	color: #fff;
	font-size: 0.58rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.4rem 0.45rem;
	border-radius: 6px;
	text-align: center;
	line-height: 1.3;
}

.prop-card__body {
	flex: 1;
	min-height: 0;
	padding: 0.75rem 0.85rem 0.9rem;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	overflow: hidden;
}

.prop-card__subtitle {
	margin: 0;
	flex-shrink: 0;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #7f8c8d;
}

.prop-card__title {
	margin: 0;
	flex-shrink: 0;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.25;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.prop-card__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
	flex: 0 1 auto;
	max-height: 3.6rem;
	overflow: hidden;
}

.prop-card__chips li {
	font-size: 0.65rem;
	font-weight: 600;
	color: #1e6b5c;
	background: rgba(13, 138, 143, 0.12);
	border: 1px solid rgba(13, 138, 143, 0.35);
	padding: 0.25rem 0.45rem;
	border-radius: 999px;
	line-height: 1.2;
	flex-shrink: 0;
}

.prop-card__price {
	margin: 0;
	flex-shrink: 0;
	font-size: 0.86rem;
	font-weight: 700;
	color: #c0392b;
	line-height: 1.3;
}

.prop-card__extra {
	margin: 0;
	flex-shrink: 0;
	font-size: 0.74rem;
	font-weight: 600;
	color: #2c3e50;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.prop-card__note {
	margin: auto 0 0;
	flex-shrink: 0;
	font-size: 0.68rem;
	color: #5d6d7e;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Arama paneli */
.search-panel {
	width: 100%;
	max-width: 960px;
	margin-top: 1.75rem;
}

.search-tabs {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	margin-bottom: 0.5rem;
}

.search-tabs__btn {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.72);
	font-family: inherit;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.35rem 0;
	cursor: pointer;
	border-bottom: 2px solid transparent;
}

.search-tabs__btn.is-active {
	color: #fff;
	border-bottom-color: #fff;
}

.search-form {
	background: #fff;
	border-radius: 12px;
	padding: 1rem 1rem 1.1rem;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
	color: var(--hx-ink);
}

.search-form__row {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.search-select {
	width: 100%;
	padding: 0.65rem 0.5rem;
	border: 1px solid #d5dde0;
	border-radius: 8px;
	font-family: inherit;
	font-size: 0.8rem;
	background: #fafbfb;
	color: #334;
}

.search-submit {
	width: 100%;
	border: none;
	border-radius: 8px;
	padding: 0.85rem;
	font-family: inherit;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	color: #fff;
	background: linear-gradient(180deg, #2b8daf, #1f6f8f);
}

.search-submit:hover {
	filter: brightness(1.05);
}

.scroll-hint {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	margin-top: 1.75rem;
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 600;
}

.scroll-hint svg {
	opacity: 0.85;
}

.home-tail {
	padding: 3rem 4vw;
	max-width: 720px;
	margin: 0 auto;
	color: #cbd5d8;
	line-height: 1.55;
}

/* Mobil */
@media (max-width: 1100px) {
	.site-nav {
		display: none;
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		padding: 0.75rem 0;
		order: 4;
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav a {
		padding: 0.5rem 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.nav-toggle {
		display: inline-block;
		margin-left: auto;
	}

	.site-header {
		flex-wrap: wrap;
	}

	.search-form__row {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 520px) {
	:root {
		--hero-card-w: 248px;
		--hero-card-h: 448px;
		--hero-card-img-h: 158px;
	}

	.search-form__row {
		grid-template-columns: 1fr;
	}
}
