﻿/* ================= Hero Analiz (hpz + hpf) =================
   Video arka planli hero + 3 adimli analiz formu.
   Marka renkleri: gold #DDC46A -> #CBA64E (hcalc ile ayni). */

.hpz {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: 100vh;
	padding-top: 88px; /* header seffaf ve fix; hero yukaridan icerigi kaydirmasin */
	box-sizing: border-box;
	overflow: hidden;
	color: #f5f2e9;
	background: #1a1305;
}

.hpz__media,
.hpz__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
}
.hpz__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity .8s ease;
}
.hpz__media video.is-on { opacity: 1; }

/* Bulanik dolgu kopyasi: sadece mobilde, contain'in bosluklarini doldurur */
.hpz__vblur { display: none; }

/* Mobil: video tam kare ortalanmis + sol metin bloku gizli */
@media (max-width: 900px) {
	/* Sol metin bloku (baslik + lead + rozetler + butonlar) mobilde gizli */
	.hpz__copy { display: none; }
	.hpz__media {
		inset: 0 0 auto 0;
		height: 100vh;
		height: 100svh;
	}
	.hpz__media .hpz__vblur {
		display: block;
		object-fit: cover;
		filter: blur(24px);
		transform: scale(1.15); /* blur kenarlarinda bosluk kalmasin */
		opacity: 0.75;
	}
	/* ana video: tam kare, usttarafa hizali */
	.hpz__media #hpz-video {
		object-fit: contain;
		object-position: center top;
	}
	/* Video tam ekran gorunur; form onun ALTINDA baslar (ust uste binmez) */
	.hpz {
		display: block;
		min-height: 0;
		padding-top: 0;
	}
	.hpz .hpz__in {
		/* Net (normal) videonun bittigi yere hizala: 1234x720 video -> 100vw*720/1234 ≈ 58.35vw */
		margin-top: calc(58.35vw - 12px);
		padding: 16px 16px 40px; /* ≤1024 kuralindaki 96px ust bosluk video-form arasinda bosluk yapar; video bitimine yaslaniyor */
	}
	/* HUD kose parantezleri yalnizca video alanini cercevelesin */
	.hpz__hud {
		top: 12px;
		left: 12px;
		right: 12px;
		bottom: auto;
		height: calc(100vh - 24px);
		height: calc(100svh - 24px);
	}
}

/* Mobil: video kirpilmeden, tam kare usttarafa hizali gorunsun */
@media (max-width: 900px) {
	.hpz__media video {
		object-fit: contain;
		object-position: center top;
	}
}
.hpz__shade {
	background: rgba(0, 0, 0, .70);
}

/* --- Header: sayfanin ustunde seffaf, sticky'de opak --- */
.home .header__area {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	background: transparent !important;
	box-shadow: none;
	transition: background .35s ease;
}
.home .header__sticky.header__sticky-sticky-menu {
	position: fixed;
	background: #000 !important; /* yapiskan durumda tam siyah */
	box-shadow: 0 6px 24px rgba(0, 0, 0, .45);
}
/* Seffaf iken menunun okunabilmesi icin hover/aktif rengkleyici */
.home .header__sticky:not(.header__sticky-sticky-menu) .header__area-menubar-center-menu li a {
	color: #f5f2e9;
}
#hpz-video { pointer-events: none; }

/* --- HUD: kose parantezleri ve rozetler --- */
.hpz__hud {
	position: absolute;
	inset: 18px;
	z-index: 1;
	pointer-events: none;
}
.hpz__c {
	position: absolute;
	width: 26px;
	height: 26px;
	border: 2px solid rgba(221, 196, 106, .8);
}
.hpz__c--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hpz__c--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hpz__c--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hpz__c--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hpz__lbl {
	position: absolute;
	top: 6px;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(245, 242, 233, .85);
	background: rgba(10, 8, 2, .45);
	padding: 5px 12px;
	border: 1px solid rgba(221, 196, 106, .28);
	border-radius: 999px;
}
.hpz__lbl--l { left: 44px; }
.hpz__lbl--r { right: 44px; }

/* --- Icerik duzeni --- */
.hpz__in {
	display: grid;
	grid-template-columns: minmax(0, 480px) minmax(380px, 440px);
	justify-content: space-between;
	gap: 48px;
	align-items: center;
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding: 72px 64px;
	box-sizing: border-box;
}

.hpz__eb {
	color: #CBA64E;
	letter-spacing: .16em;
	text-transform: uppercase;
	font-size: 12px;
	margin: 0 0 14px;
}
.hpz__title {
	margin: 0 0 18px;
	font-size: clamp(30px, 4.4vw, 56px);
	line-height: 1.06;
	font-weight: 800;
}
.hpz__em {
	background: -webkit-linear-gradient(90deg, rgba(221, 196, 106, 1) 10%, rgba(251, 247, 140, 1) 23%, rgba(227, 194, 99, 1) 38%, rgba(251, 247, 140, 1) 55%, rgba(227, 194, 99, 1) 73%, rgba(254, 249, 155, 1) 88%, rgba(203, 166, 78, 1) 96%, rgba(203, 166, 78, 1) 100%), linear-gradient(90deg, rgba(221, 196, 106, 1) 10%, rgba(251, 247, 140, 1) 23%, rgba(227, 194, 99, 1) 38%, rgba(251, 247, 140, 1) 55%, rgba(227, 194, 99, 1) 73%, rgba(254, 249, 155, 1) 88%, rgba(203, 166, 78, 1) 96%, rgba(203, 166, 78, 1) 100%);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: htotx-foil 7s linear infinite;
}
.hpz__lead { max-width: 560px; margin: 0 0 26px; }
.hpz__lead p { margin: 0; color: rgba(245, 242, 233, .85); font-size: 16px; line-height: 1.65; }

.hpz__pts {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	padding: 0;
	margin: 0 0 30px;
	max-width: 560px;
}
.hpz__pts li {
	display: flex;
	gap: 12px;
	align-items: center;
	background: rgba(10, 8, 2, .45);
	border: 1px solid rgba(221, 196, 106, .2);
	border-radius: 12px;
	padding: 10px 14px;
	backdrop-filter: blur(4px);
}
.hpz__pts i {
	display: inline-flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	flex: 0 0 30px;
	color: #DDC46A;
	background: rgba(221, 196, 106, .1);
	border-radius: 8px;
}
.hpz__pts svg { width: 18px; height: 18px; fill: currentColor; }
.hpz__pts span { display: grid; line-height: 1.25; }
.hpz__pts b { font-size: 15px; color: #DDC46A; }
.hpz__pts em { font-style: normal; font-size: 12px; color: #b9b4a4; }

.hpz__act { display: flex; gap: 12px; flex-wrap: wrap; }
.hpz__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	transition: filter .2s ease, transform .2s ease;
}
.hpz__btn:hover { filter: brightness(1.08); }
.hpz__btn:active { transform: translateY(1px); }
.hpz__btn--gold {
	background: linear-gradient(110deg, #EDC970 0%, #F4D781 38%, #D0A132 100%);
	color: #241a08;
}
.hpz__btn--ghost {
	color: #f5f2e9;
	border: 1px solid rgba(245, 242, 233, .4);
}
.hpz__btn--ghost:hover { border-color: #DDC46A; color: #DDC46A; }

/* ================= Form (hpf) ================= */
.hpf {
	position: relative;
	background: rgba(16, 12, 4, .70);
	border: 1px solid rgba(221, 196, 106, .25);
	border-radius: 18px;
	padding: 26px 28px 22px;
	color: #f5f2e9;
	backdrop-filter: blur(8px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
	overflow: hidden;
}

.hpf__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	position: fixed;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	z-index: 60;
	background: rgba(16, 12, 4, .55);
	border: 1px solid rgba(221, 196, 106, .28);
	border-right: 0;
	border-radius: 10px 0 0 10px;
	padding: 10px 10px;
	opacity: .4;
	transition: opacity .25s ease;
	pointer-events: none;
}
.hpf__meta:hover { opacity: 1; }
.hpf__sn { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #b9b4a4; }
.hpf__count { font-size: 11px; color: #DDC46A; font-variant-numeric: tabular-nums; }
.hpf__prog {
	display: block;
	height: 3px;
	border-radius: 2px;
	background: rgba(221, 196, 106, .18);
	position: relative;
	overflow: hidden;
	margin-bottom: 20px;
	margin-top: 4px;
}
.hpf__prog::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: calc(var(--hp, .3333) * 100%);
	background: linear-gradient(110deg, #EDC970 0%, #F4D781 38%, #D0A132 100%);
	transition: width .35s ease;
}

.hpf__eb { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #CBA64E; margin: 0 0 8px; }
.hpf__ti { margin: 0 0 8px; font-size: 22px; }
.hpf__su { margin: 0 0 16px; font-size: 13px; color: #b9b4a4; line-height: 1.5; }
.hpf__q { margin: 0 0 12px; font-size: 14px; font-weight: 600; }

.hpf__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}
.hpf__cards + .hpf__cards { margin-top: 10px; }
.hpf__card {
	background: rgba(221, 196, 106, .05);
	border: 1px solid rgba(221, 196, 106, .25);
	border-radius: 12px;
	min-height: 64px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 8px;
	color: #f5f2e9;
	cursor: pointer;
	font: inherit;
	transition: border-color .2s, background .2s;
}
.hpf__card span { font-size: 13px; font-weight: 600; text-align: center; }
.hpf__ci { width: 26px; height: 26px; color: #DDC46A; stroke: currentColor; }
.hpf__card.is-selected .hpf__ci { color: #DDC46A; }
.hpf__card:hover .hpf__ci { color: #DDC46A; }

/* Ipucu rozetleri (adim 1) */
.hpf__tips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	align-items: center;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(221, 196, 106, .16);
}
.hpf__tip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12.5px;
	color: #b9b4a4;
	background: rgba(221, 196, 106, .06);
	border: 1px solid rgba(221, 196, 106, .2);
	border-radius: 999px;
	padding: 6px 11px;
}
.hpf__tip svg { width: 15px; height: 15px; color: #DDC46A; flex: 0 0 15px; }
.hpf__card:hover { border-color: rgba(221, 196, 106, .55); background: rgba(221, 196, 106, .09); }
.hpf__card.is-selected {
	background: rgba(221, 196, 106, .12);
	border-color: #DDC46A;
	color: #DDC46A;
}
[data-cards="area"] .hpf__card { min-height: 56px; }
.hpf__cards[data-cards="gender"] { grid-template-columns: repeat(3, 1fr); }

/* Yas secici */
.hpf__age {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(221, 196, 106, .16);
}
.hpf__age__q { font-size: 14px; font-weight: 600; }
.hpf__age__c {
	display: flex !important;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}
.hpf__age__b {
	flex: 0 0 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px !important;
	height: 32px;
	box-sizing: border-box;
	border-radius: 8px;
	border: 1px solid rgba(221, 196, 106, .4);
	background: transparent;
	color: #DDC46A;
	font-size: 18px;
	line-height: 1;
	padding: 0;
	cursor: pointer;
}
.hpf__age__b:hover { background: rgba(221, 196, 106, .1); }
.hpf__age__in {
	flex: 0 0 58px;
	width: 58px !important;
	min-width: 58px;
	max-width: 58px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	text-align: center;
	background: rgba(0, 0, 0, .3);
	border: 1px solid rgba(221, 196, 106, .3);
	border-radius: 8px;
	color: #f5f2e9;
	padding: 6px 4px;
	font: inherit;
	-moz-appearance: textfield;
}
.hpf__age__in::-webkit-outer-spin-button,
.hpf__age__in::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Alanlar */
.hpf__fld { display: grid; gap: 6px; margin-bottom: 12px; }
.hpf__fld > span { font-size: 12.5px; color: #b9b4a4; }
.hpf__fld > span em { font-style: normal; color: #8d8878; }
.hpf__fld input {
	background: rgba(0, 0, 0, .3) !important;
	border: 1px solid rgba(221, 196, 106, .3);
	border-radius: 10px;
	color: #f5f2e9 !important;
	-webkit-text-fill-color: #f5f2e9 !important; /* autofill dahil metin rengini sabitler */
	caret-color: #f5f2e9;
	height: auto !important; /* tema 60px kuralini ez */
	padding: 11px 12px !important;
	font: inherit;
}
.hpf__fld input:focus { outline: 1px solid #DDC46A; outline-offset: 0; border-color: #DDC46A; color: #f5f2e9 !important; -webkit-text-fill-color: #f5f2e9 !important; }
.hpf__fld input:-webkit-autofill,
.hpf__fld input:-webkit-autofill:hover,
.hpf__fld input:-webkit-autofill:focus {
	-webkit-text-fill-color: #f5f2e9 !important;
	-webkit-box-shadow: 0 0 0 100px rgba(0, 0, 0, .3) inset;
	transition: background-color 9999s ease-out;
}
.hpf__err { color: #e08080; font-size: 12.5px; margin: 4px 0 8px; }

/* Rapor adimi */
.hpf__step--done { text-align: center; padding: 8px 0 4px; }
.hpf__check {
	display: inline-flex;
	width: 52px;
	height: 52px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(221, 196, 106, .12);
	color: #DDC46A;
	margin-bottom: 12px;
}
.hpf__check svg { width: 26px; height: 26px; fill: currentColor; }
.hpf__ti--center { margin-bottom: 6px; }
.hpf__su--center { margin-bottom: 16px; }
.hpf__report {
	display: grid;
	gap: 8px;
	text-align: left;
	background: rgba(221, 196, 106, .06);
	border: 1px solid rgba(221, 196, 106, .2);
	border-radius: 12px;
	padding: 14px 16px;
}
.hpf__rh { margin: 0 0 2px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #CBA64E; }
.hpf__rr { display: flex; gap: 10px; align-items: center; font-size: 13.5px; }
.hpf__rr i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #DDC46A;
	flex: 0 0 8px;
}

/* Gezinme */
.hpf__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
}
.hpf__back {
	background: transparent;
	border: 0;
	color: #b9b4a4;
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	padding: 6px;
}
.hpf__back:hover { color: #f5f2e9; }
.hpf__next {
	margin-left: auto;
	background: linear-gradient(110deg, #EDC970 0%, #F4D781 38%, #D0A132 100%);
	border: 0;
	color: #241a08;
	font: inherit;
	font-weight: 800;
	padding: 12px 22px;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.hpf__next:disabled { opacity: .45; cursor: not-allowed; }
.hpf__hp { position: absolute; opacity: 0; pointer-events: none; tab-index: -1; }

/* --- Responsive --- */
@media (max-width: 1024px) {
	.hpz__in { grid-template-columns: 1fr; gap: 32px; padding: 96px 24px 48px; }
	.hpz__hud { inset: 12px; }
	.hpz__lbl--l { left: 26px; }
	.hpz__lbl--r { right: 26px; }
}
@media (max-width: 560px) {
	.hpf__meta { display: none; }
	.hpf__cards { grid-template-columns: 1fr 1fr; }
	.hpz__pts { grid-template-columns: 1fr; }
	.hpz__lbl--r { display: none; }
	.hpz__act .hpz__btn { flex: 1; justify-content: center; }
}

/* Ana sayfada container padding'inden kurtulup tam genislik + tam sol/sag */
/* Ana sayfada container padding'inden kurtulup tam genislik (scrollbar'i hesaba katar, tasma yapmaz) */
.home .hpz,
.home .hcalc,
.home .gj-wrap {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: auto;
	max-width: none;
}
.home {
	overflow-x: clip;
}
/* Full-bleed hcalc & journey: radius kalkar, widget/padding sifirlanir */
.home .hcalc { border-radius: 0; }
.home .gj-wrap { background: #000; }
.home .elementor-widget:has(.hcalc) .elementor-widget-container,
.home .elementor-widget:has(.gj-wrap) .elementor-widget-container {
	padding: 0 !important;
	margin: 0 !important;
}
/* Kolon icindeki varsayilan 10px padding + widget bosluklari — hcalc ile
   journey arasindaki gorunen boslugu kapatir */
.home .elementor-column:has(.hcalc) > .elementor-widget-wrap,
.home .elementor-column:has(.gj-wrap) > .elementor-widget-wrap {
	padding: 0 !important;
}
.home .elementor-widget:has(.hcalc):not(:last-child),
.home .elementor-widget:has(.gj-wrap):not(:last-child) {
	margin-bottom: 0 !important;
}
.home .elementor-section:has(.hcalc),
.home .elementor-section:has(.gj-wrap) {
	padding: 0 !important;
	margin: 0 !important;
}
/* Hcalc icerigi full-bleed icinde okunabilir genislikte ortali kalsin */
.home .hcalc__intro,
.home .hcalc__grid,
.home .hcalc__disclaimer {
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
}

.hpz-main {
	background: #0d0a03;
	color: #e9e4d6;
}
.hpz-main .section-padding { background: #0d0a03; }
.hpz-main .entry-content { color: #e9e4d6; }
.hpz-main .entry-content a { color: #DDC46A; }
.hpz-main .entry-content h1, .hpz-main .entry-content h2, .hpz-main .entry-content h3,
.hpz-main .entry-content h4, .hpz-main .entry-content h5, .hpz-main .entry-content h6 { color: #f5f2e9; }

@keyframes htotx-foil {
	from { background-position: 0% 50%; }
	to { background-position: 220% 50%; }
}

@media (prefers-reduced-motion: reduce) {
	.hpz__em, .hcalc__gold, .gj__h2 .gj__gold, .grec__foil { animation: none; }
}
