/* ============================================================
   DGS Elements 6 — Acıbadem Üniversitesi : Hero + Header
   Video-forward, ortalanmış içerik. Beyaz metin + kiremit vurgu.
   Scope: .acu-hh
   ============================================================ */

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

.acu-hh {
	--acu-brick:    #B4532B;   /* kiremit / terracotta — buton/vurgu */
	--acu-brick-d:  #97421F;   /* hover */
	--acu-accent:   #E89466;   /* koyu zeminde okunur açık terracotta (başlık vurgu) */
	--acu-ink:      #2B211B;   /* sıcak koyu (fallback zemin) */
	--acu-white:    #ffffff;

	position: relative;
	width: 100%;
	overflow: hidden;
	background: var(--acu-ink);
	font-family: var(--acu-font, "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
	color: var(--acu-white);
	isolation: isolate;
}
.acu-hh--full { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.acu-hh--auto { min-height: auto; }

/* ── Arka plan ── (video yüklenene kadar marka koyu zemin) */
.acu-hh-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--acu-ink); }

/* YouTube player (API tarafından inşa edilir; controls:0 garanti).
   NOT: YT.Player verilen <div>'i <iframe> ile DEĞİŞTİRİR (class korunmaz).
   Boyut JS ile container'a göre cover + %18 kırpma (gerçek boyut → kalite kaybı yok,
   YouTube'un üst başlık/sağ-üst buton katmanı görünür alan dışına taşar). */
.acu-hh-bg__player { position: absolute; inset: 0; z-index: 1; }
.acu-hh-bg iframe {
	position: absolute; top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	border: 0; z-index: 1; pointer-events: none;
	/* JS öncesi / JS yoksa fallback cover; JS inline px ile override eder */
	width: 100vw; height: 56.25vw; min-width: 177.78vh; min-height: 100%;
}

/* YouTube oynayana kadar üstte duran koyu örtü → ortadaki play butonu HİÇ görünmez.
   Oynamaya başlayınca (is-playing) solar; autoplay engellenirse koyu kalır (yine buton yok). */
.acu-hh-bg__cover {
	position: absolute; inset: 0; z-index: 2;
	background: var(--acu-ink);
	transition: opacity .8s ease;
	/* Şeffaf olsa bile HER ZAMAN fareyi engeller → iframe'e hover ulaşmaz,
	   YouTube'un üzerine-gelince play/pause overlay'i hiç çıkmaz.
	   (Hero butonları .acu-hh-inner z-index:4 ile bunun ÜSTÜNDE, tıklanabilir.) */
	pointer-events: auto;
}
.acu-hh-bg.is-playing .acu-hh-bg__cover { opacity: 0; }

/* MP4 arka plan video (en temiz: hiç chrome yok, tam kalite) */
.acu-hh-bg__video {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; object-position: center;
	z-index: 1; pointer-events: none;
}

/* Görsel fallback (yalnızca video YOKKEN) */
.acu-hh-bg__img {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; object-position: center;
	animation: acu-hh-kb 24s ease-in-out infinite alternate;
}
@keyframes acu-hh-kb {
	from { transform: scale(1.04); }
	to   { transform: scale(1.14); }
}

/* ── Overlay: video görünür kalsın ama beyaz metin okunsun ──
   Sıcak koyu (kahve) ton — markaya uyumlu, siyah değil.
   Merkezde biraz daha koyu (ortalanmış metin için), kenarlarda video açılır. */
.acu-hh-scrim {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background:
		linear-gradient(180deg,
			rgba(34,26,21,0.62) 0%,
			rgba(34,26,21,0.40) 30%,
			rgba(34,26,21,0.40) 60%,
			rgba(34,26,21,0.66) 100%);
}
.acu-hh-scrim::after {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(ellipse 62% 58% at 50% 50%, rgba(34,26,21,0.42), transparent 72%);
}

/* ============================================================
   HEADER
   ============================================================ */
.acu-hh-header {
	position: relative; z-index: 5;
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px;
	padding: 26px clamp(20px, 5vw, 72px);
}
.acu-hh-header--center { justify-content: center; text-align: center; }
.acu-hh-logo { display: inline-flex; align-items: center; }
.acu-hh-logo img { height: var(--acu-logo-h, 54px); width: auto; display: block; }

.acu-hh-haction { display: flex; align-items: center; gap: 22px; }
.acu-hh-phone {
	display: inline-flex; align-items: center; gap: 9px;
	color: #fff; text-decoration: none;
	font-weight: 600; font-size: 15px; letter-spacing: .01em;
	white-space: nowrap; text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.acu-hh-phone svg { width: 19px; height: 19px; color: var(--acu-accent); flex: none; }
.acu-hh-phone:hover { color: var(--acu-accent); }

.acu-hh-hbtn {
	gap: 9px;
	background: var(--acu-brick); color: #fff; text-decoration: none;
	font-weight: 600; font-size: 14.5px; letter-spacing: .015em;
	min-height: 44px;
	padding: 0 22px;
	border-radius: 999px;
	box-shadow: 0 12px 28px -10px rgba(0,0,0,.55);
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.acu-hh-hbtn:hover { background: var(--acu-brick-d); transform: translateY(-1px); }
.acu-hh-hbtn svg { width: 16px; height: 16px; }

/* ============================================================
   HERO İÇERİK — ortalanmış (tek kolon)
   ============================================================ */
.acu-hh-inner {
	position: relative; z-index: 4;
	flex: 1 1 auto;
	display: flex; flex-direction: column;
	align-items: center; justify-content: center; text-align: center;
	width: 100%;
	padding: clamp(28px, 6vh, 70px) clamp(20px, 5vw, 72px) clamp(40px, 7vh, 84px);
}
.acu-hh-left {
	display: flex; flex-direction: column; align-items: center;
	width: 100%; max-width: 920px;
}

.acu-hh-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	background: rgba(255,255,255,.14); color: #fff;
	font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
	padding: 9px 18px; border-radius: 999px;
	border: 1px solid rgba(255,255,255,.28);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.acu-hh-eyebrow::before {
	content: ""; width: 8px; height: 8px; border-radius: 50%;
	background: var(--acu-accent); box-shadow: 0 0 0 4px rgba(232,148,102,.25);
}

.acu-hh-title {
	margin: 24px 0 0;
	font-size: clamp(38px, 5.4vw, 74px);
	line-height: 1.32;
	letter-spacing: -.02em;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 2px 22px rgba(0,0,0,.32);
}
/* Satır kırılımlarında ğ/Ü gibi harflerin birbirine değmemesi için */
.acu-hh-title br {
	display: block;
	margin-top: 0.14em;
	content: "";
}
.acu-hh-title .acu-hh-accent {
	color: var(--acu-accent);
	display: block;
	margin-top: 0.06em;
	padding-top: 0.1em;
}

.acu-hh-sub {
	margin: 22px auto 0;
	max-width: 660px;
	font-size: clamp(16px, 1.25vw, 19px);
	line-height: 1.65;
	color: rgba(255,255,255,.9);
	text-shadow: 0 1px 14px rgba(0,0,0,.3);
}

.acu-hh-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; justify-content: center; }
.acu-hh-cta {
	gap: 10px;
	text-decoration: none; font-weight: 600; font-size: 16px;
	min-height: 52px;
	padding: 0 30px;
	border-radius: 999px;
	transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.acu-hh-cta svg { width: 18px; height: 18px; transition: transform .2s ease; }
.acu-hh-cta:hover svg { transform: translateX(4px); }
.acu-hh-cta--primary {
	background: var(--acu-brick); color: #fff;
	box-shadow: 0 18px 38px -14px rgba(0,0,0,.6);
}
.acu-hh-cta--primary:hover { background: var(--acu-brick-d); transform: translateY(-2px); }
.acu-hh-cta--secondary {
	background: rgba(255,255,255,.12); color: #fff;
	border: 1px solid rgba(255,255,255,.45);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.acu-hh-cta--secondary:hover { background: #fff; color: var(--acu-ink); transform: translateY(-2px); }

/* ── Özellik rozetleri (istatistik) ── */
.acu-hh-feats {
	list-style: none; margin: 46px 0 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: 16px 34px; justify-content: center;
}
.acu-hh-feat { display: flex; align-items: center; gap: 12px; }
.acu-hh-feat-ico {
	width: 44px; height: 44px; border-radius: 12px; flex: none;
	display: grid; place-items: center;
	background: rgba(255,255,255,.14); color: var(--acu-accent);
	border: 1px solid rgba(255,255,255,.2);
}
.acu-hh-feat-ico svg { width: 22px; height: 22px; }
.acu-hh-feat-txt { text-align: left; font-size: 14.5px; line-height: 1.35; font-weight: 600; color: #fff; }
.acu-hh-feat-txt small { display: block; font-weight: 500; font-size: 12.5px; color: rgba(255,255,255,.72); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 720px) {
	.acu-hh-header { padding: 16px 20px; }
	.acu-hh-logo img { height: calc(var(--acu-logo-h, 54px) * .8); }
	/* Tam ekran ZORLAMA yok → içerik üstten akar, üst kısım (logo+başlık) asla kesilmez */
	.acu-hh--full { min-height: auto; }
	.acu-hh-inner {
		justify-content: flex-start;   /* dikey ortalama yok → üst kesilmez */
		padding-top: 18px; padding-bottom: 44px;
	}

	.acu-hh-title { margin-top: 16px; font-size: clamp(30px, 8.5vw, 42px); line-height: 1.34; }
	.acu-hh-title br { margin-top: 0.18em; }
	.acu-hh-title .acu-hh-accent { padding-top: 0.12em; }
	.acu-hh-sub { margin-top: 16px; font-size: 15.5px; }

	/* CTA'lar: alt alta, tam genişlik, ortalı */
	.acu-hh-ctas { width: 100%; max-width: 360px; flex-direction: column; gap: 12px; margin-top: 26px; }
	.acu-hh-ctas .acu-hh-cta { width: 100%; justify-content: center; }

	/* Alttaki 3 rozet — mobilde gizle */
	.acu-hh-feats { display: none; }
}
