﻿/* grec â€” Recovery Timeline (scroll ile ilerleyen evreler) */
.grec {
	position: relative;
	color: #efe9dc;
	padding: 0;
	overflow: clip; /* hidden yerine clip: sticky'yi bozmaz */
	min-height: 320vh; /* scroll ilerlemesi icin uzun bolum */
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: auto;
	max-width: none;
}
/* hairtransplantofturkiye.com satin dokusu: sabit katman + gri-perdah */
.grec::after {
	content: "";
	z-index: -1; /* HTML arka planina gecer */
	pointer-events: none;
	position: fixed;
	inset: 0;
	background:
		linear-gradient(#0000004d, #0000004d),
		#0b0b0e url(/wp-content/uploads/backgroundx3r.png) top/cover no-repeat;
}
.grec::before {
	content: "";
	position: absolute;
	inset: auto -10% 60% auto;
	width: 60vw;
	height: 60vw;
	background: radial-gradient(closest-side, rgba(242, 210, 104, 0.10), transparent 70%);
	pointer-events: none;
}
.grec__in {
	position: sticky; /* gjourney gibi pin: animasyon bitince normal akisa doner */
	top: 0;
	min-height: 100vh;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
	gap: clamp(24px, 4vw, 56px);
	width: min(1200px, 92vw);
	margin: 0 auto;
	align-items: center;
	box-sizing: border-box;
	padding: 0;
}

/* Sol kopya */
.grec__copy { min-width: 0; }
.grec__eb {
	margin: 0 0 10px;
	font-size: clamp(12px, 1vw, 13px);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #f2d268;
}
.grec__h2 {
	margin: 0 0 12px;
	font-size: clamp(24px, 3.2vw, 38px);
	line-height: 1.1;
	font-weight: 700;
	color: #f7f3e8;
}
.grec__foil {
	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;
}
.grec__lead {
	margin: 0 0 24px;
	font-size: clamp(13px, 1.2vw, 15px);
	line-height: 1.65;
	color: rgba(239, 233, 220, 0.78);
	max-width: 480px;
}
.grec__stages {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}
.grec__stages::before {
	content: "";
	position: absolute;
	left: 9px;
	top: 10px;
	bottom: 10px;
	width: 2px;
	background: rgba(242, 210, 104, 0.22);
}
.grec__stages::after {
	content: "";
	position: absolute;
	left: 9px;
	top: 10px;
	bottom: 10px;
	width: 2px;
	background: #f2d268;
	transform-origin: top;
	transform: scaleY(calc(var(--grec-p, 0) * 1));
}
.grec__stage {
	position: relative;
	padding: 0 0 0 20px;
	opacity: 0.45;
	transition: opacity 0.35s ease;
}
.grec__stage:last-child { padding-bottom: 0; }
.grec__dot {
	position: absolute;
	left: 0;
	top: 8px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid rgba(242, 210, 104, 0.4);
	background: #0b0b0e;
	transition: border-color 0.3s, box-shadow 0.3s;
}
.grec__dot::after {
	content: "";
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	background: transparent;
	transition: background 0.3s;
}
.grec__stage.is-active { opacity: 1; }
.grec__stage.is-active .grec__dot {
	border-color: #f2d268;
	box-shadow: 0 0 12px rgba(242, 210, 104, 0.35);
}
.grec__stage.is-active .grec__dot::after { background: #f2d268; }
.grec__label {
	display: inline-block;
	margin-right: 10px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: #f2d268;
}
.grec__stitle {
	margin: 0;
	font-size: 13px; /* pasif evreler kucuk */
	font-weight: 600;
	color: #f7f3e8;
	transition: font-size 0.25s ease;
}
.grec__stage.is-active .grec__stitle {
	font-size: clamp(18px, 1.7vw, 22px); /* aktif evre buyuk */
}
.grec__text {
	margin: 0;
	font-size: clamp(12.5px, 1.1vw, 14px);
	line-height: 1.6;
	color: rgba(239, 233, 220, 0.75);
	max-width: 440px;
}

/* Sag sticky medya */
.grec__media {
	position: relative;
	width: min(460px, 100%);
	margin-left: auto;
	aspect-ratio: 2 / 3; /* surec gorselleri 1024x1536 */
	border-radius: 18px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.grec__frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 18px;
	opacity: 0;
	transition: opacity 0.6s ease;
}
.grec__frame.is-on { opacity: 1; }
.grec__badge {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(11, 11, 14, 0.82);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(242, 210, 104, 0.35);
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #f2d268;
}
.grec__bar {
	flex: 1;
	height: 3px;
	border-radius: 2px;
	background: rgba(242, 210, 104, 0.25);
	overflow: hidden;
}
.grec__bar > span {
	display: block;
	height: 100%;
	width: 100%;
	background: #f2d268;
	transform-origin: left;
	transition: transform 0.15s linear;
}

/* Evre klon gorselleri: sadece mobilde gorunur — masaustunde asla (taban kural media query'den once) */
.grec__mimg { display: none; }

@media (max-width: 900px) {
	.grec { padding: 72px 0; min-height: 0; }
	.grec__in {
		position: static;
		min-height: 0;
		grid-template-columns: 1fr;
		padding: 72px 0;
	}
	.grec__in { grid-template-columns: 1fr; }
	/* Medya sutunu gizlenir; her evrenin gorseli JS ile kendi satirina klonlanir */
	.grec__media { display: none; }
	.grec__stage { display: flex; gap: 12px; align-items: flex-start; }
	.grec__dot { display: none; }
	/* Scroll animasyonu: JS grec-anim eklediyse adimlar fade-up ile girer (JS yoksa hepsi gorunur) */
	.grec.grec-anim .grec__stage {
		opacity: 0;
		transform: translateY(26px);
		transition: opacity .5s ease, transform .5s ease;
	}
	.grec.grec-anim .grec__stage.is-anim {
		opacity: 1;
		transform: none;
	}
	.grec__stages::before,
	.grec__stages::after { display: none; }
	.grec__dot { top: 6px; }
	.grec__mimg {
		display: block;
		width: 92px;
		aspect-ratio: 2 / 3;
		object-fit: cover;
		border-radius: 12px;
		flex: 0 0 auto;
		box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
	}
}

@media (prefers-reduced-motion: reduce) {
	.grec__frame,
	.grec__stage,
	.grec__bar > span { transition: none; }
}

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