﻿/* ================= The Process (gj) - pin'li journeyer section ================= */

.gj-wrap {
	/* 6 adim x ~90vh kaydirma alani; pin bittiginde normal akisa doner */
	height: 560vh;
	background: #000;
}
.gj-stage {
	position: sticky;
	top: 0;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 40px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 96px 32px 64px;
	box-sizing: border-box;
	color: #f5f2e9;
	background:
		radial-gradient(90% 60% at 78% 20%, rgba(212, 175, 55, .10), transparent 60%),
		radial-gradient(70% 50% at 12% 90%, rgba(212, 175, 55, .08), transparent 65%),
		#000;
	overflow: hidden;
}

.gj__eyebrow {
	display: flex;
	align-items: center;
	gap: 20px;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: #d4af37;
	font-size: 13px;
	font-weight: 500;
	margin: 0;
}
.gj__eyebrow::before { content: ""; width: 48px; height: 1px; background: #d4af37; }

.gj__h2 {
	margin: 14px 0 0;
	font-size: clamp(30px, 4vw, 56px);
	font-weight: 700;
	line-height: 1.08;
	max-width: 900px;
}
.gj__h2 .gj__gold {
	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;
}

/* Timeline */
.gj__timeline { position: relative; margin-top: 40px; }
.gj__rail {
	position: absolute;
	top: 22px;
	left: 0;
	right: 0;
	height: 2px;
	background: rgba(255, 255, 255, .14);
}
.gj__rail-fill {
	position: absolute;
	inset: 0 auto 0 0;
	width: 100%;
	transform-origin: 0 50%;
	transform: scaleX(0); /* JS ayarlar */
	background: linear-gradient(110deg, #EDC970 0%, #F4D781 38%, #D0A132 100%);
}
.gj__days {
	position: relative;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 22px;
	padding-top: 0;
}
.gj__day { transition: opacity .35s ease, filter .35s ease; opacity: .35; filter: saturate(.4); }
.gj__day.is-on { opacity: 1; filter: none; }

.gj__marker {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 1;
	background: #141008;
	border: 1px solid rgba(212, 175, 55, .45);
	color: #bdbdbb;
	font-weight: 800;
}
.gj__day.is-on .gj__marker {
	background: linear-gradient(110deg, #EDC970 0%, #F4D781 38%, #D0A132 100%);
	border-color: transparent;
	color: #241a08;
}
.gj__num { font-size: 15px; }

.gj__daylabel {
	margin: 10px 0 12px;
	font-size: 13px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #d4af37;
	font-weight: 600;
}
.gj__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}
.gj__step { display: flex; gap: 10px; align-items: flex-start; }
.gj__icon { flex: 0 0 22px; color: #d4af37; margin-top: 2px; }
.gj__icon svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gj__steplabel { display: block; font-weight: 600; font-size: 14px; line-height: 1.3; }
.gj__steptime { display: block; font-size: 11.5px; color: #bdbdbb; margin-top: 2px; }
.gj__stepdescr { display: block; font-size: 12.5px; color: #bdbdbb; line-height: 1.5; }
.gj__stepbody { display: block; }

/* Mobil: normal akista dikey timeline — pin yok, tum adimlar aktif */
@media (max-width: 900px) {
	.gj-wrap { height: auto; }
	.gj-stage {
		position: static;
		height: auto;
		overflow: visible;
		gap: 24px;
		padding: 88px 20px 40px;
		padding-top: 120px;
		justify-content: flex-start;
	}
	.gj__days {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.gj__rail { top: 0; bottom: 0; left: 21px; right: auto; width: 2px; height: auto; }
	.gj__rail-fill { transform: scaleY(1); transform-origin: 50% 0; height: 100%; width: 100%; }
	.gj__day { display: flex; gap: 16px; align-items: flex-start; padding-left: 0; opacity: 1; filter: none; }
	/* Scroll animasyonu: JS gj-anim eklediyse adimlar fade-up ile girer (JS yoksa hepsi gorunur) */
	.gj-wrap.gj-anim .gj__day {
		opacity: 0;
		transform: translateY(28px);
		transition: opacity .55s ease, transform .55s ease;
	}
	.gj-wrap.gj-anim .gj__day.is-anim {
		opacity: 1;
		transform: none;
	}
	.gj-wrap.gj-anim .gj__day.is-anim .gj__marker {
		transition: transform .45s ease .1s, background .3s ease, border-color .3s ease;
	}
	.gj-wrap.gj-anim .gj__day:not(.is-anim) .gj__marker { transform: scale(.6); }
	.gj-wrap.gj-anim .gj__day.is-anim .gj__marker { transform: none; }
	.gj__day .gj__daylabel,
	.gj__day .gj__steps { max-width: calc(100% - 60px); }
}

@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; }
}
