/*	Anasayfa hareket katmani: yerlesimi degistirmez, sadece opacity / translate / transform kullanir */

/* Scroll ile acilan ogeler: JS .rv sinifini ekler, gorununce .in eklenir */
.rv {
	opacity:0;
}
.rv.in {
	animation:rvUp .8s cubic-bezier(.2,.7,.2,1) both;
	animation-delay:var(--d, 0s);
}
.rv.rv-left.in {
	animation-name:rvLeft;
}
.rv.rv-zoom.in {
	animation-name:rvZoom;
}
.rv.rv-seat.in {
	animation-name:rvSeat;
	animation-duration:1.5s;
}
.rv.rv-fade.in {
	animation-name:rvFade;
	animation-duration:1.6s;
}
@keyframes rvSeat {
	from { opacity:0; translate:140px 40px; rotate:4deg; scale:.93; }
	to   { opacity:1; translate:0 0; rotate:0deg; scale:1; }
}
@keyframes rvUp {
	from { opacity:0; translate:0 46px; }
	to   { opacity:1; translate:0 0; }
}
@keyframes rvLeft {
	from { opacity:0; translate:-60px 0; }
	to   { opacity:1; translate:0 0; }
}
@keyframes rvZoom {
	from { opacity:0; scale:.92; translate:0 30px; }
	to   { opacity:1; scale:1; translate:0 0; }
}

/* Header acilisi: logo soldan, menu ogeleri yukaridan sirayla gelir */
.header > .logo {
	animation:hdLeft .9s cubic-bezier(.2,.7,.2,1) .1s both;
}
.header .buttons ul li {
	animation:hdDown .7s cubic-bezier(.2,.7,.2,1) both;
}
.header .buttons ul li:nth-child(1) { animation-delay:.3s; }
.header .buttons ul li:nth-child(2) { animation-delay:.4s; }
.header .buttons ul li:nth-child(3) { animation-delay:.5s; }
.header .buttons ul li:nth-child(4) { animation-delay:.6s; }
.header .buttons ul li:nth-child(5) { animation-delay:.7s; }
.header .buttons ul li:nth-child(6) { animation-delay:.8s; }
.header .buttons ul li:nth-child(7) { animation-delay:.9s; }
.header .mobile-btn {
	animation:hdDown .7s cubic-bezier(.2,.7,.2,1) .3s both;
}
/* Sosyal medya kutusu: sagdan sirayla gelir */
.header .social ul {
	animation:hdRight .8s cubic-bezier(.2,.7,.2,1) both;
}
.header .social ul:nth-child(1) { animation-delay:1.1s; }
.header .social ul:nth-child(2) { animation-delay:1.2s; }
.header .social ul:nth-child(3) { animation-delay:1.3s; }
.header .social ul:nth-child(4) { animation-delay:1.4s; }
@keyframes hdRight {
	from { opacity:0; translate:60px 0; }
	to   { opacity:1; translate:0 0; }
}
@keyframes hdLeft {
	from { opacity:0; translate:-70px 0; }
	to   { opacity:1; translate:0 0; }
}
@keyframes hdDown {
	from { opacity:0; translate:0 -30px; }
	to   { opacity:1; translate:0 0; }
}

/* Hero acilisi */
.header .slogan .txt.a {
	animation:rvUp 1s cubic-bezier(.2,.7,.2,1) .2s both;
}
.header .slogan .txt.b {
	animation:rvUp 1s cubic-bezier(.2,.7,.2,1) .5s both;
}
.header .scroll-mouse {
	animation:rvFade 1s ease 1s both;
}
@keyframes rvFade {
	from { opacity:0; }
	to   { opacity:1; }
}
.header .scroll-mouse .caption {
	animation:mxPulse 2.4s ease-in-out 2s infinite;
}
@keyframes mxPulse {
	0%, 100% { opacity:1; }
	50%      { opacity:.35; }
}

/* Koltuk gorselindeki isik efekti yavasca nefes alir */
.content .main-about .boxes .efect img {
	animation:mxFloat 6s ease-in-out infinite;
}
@keyframes mxFloat {
	0%, 100% { transform:translateY(0) scale(1); opacity:1; }
	50%      { transform:translateY(-14px) scale(1.04); opacity:.8; }
}

/* Koltuk parallax ile asagi kayinca bolumun altindan tasmasin: sadece alt kenar kirpilir */
.content .main-about {
	clip-path:inset(-400px -200px 0 -200px);
}

/* Koltuk: fareyi takip eder, isik efekti ters yonde kayar (transform JS'ten gelir) */
.content .main-about .boxes .seat img,
.content .main-about .boxes .efect {
	transition:transform .35s ease-out;
	will-change:transform;
}

/* Yetkinlik kartlari: fare ile hafif egilme (transform JS'ten gelir) */
.content .main-compet .list .item {
	transform-style:preserve-3d;
	will-change:transform;
}

/* Sayfa ilerleme cubugu */
.mx-progress {
	position:fixed;
	z-index:9999;
	top:0;
	left:0;
	width:100%;
	height:3px;
	background:#F36F2F;
	transform:scaleX(0);
	transform-origin:left;
	pointer-events:none;
}

@media (prefers-reduced-motion: reduce) {
	.rv { opacity:1; }
	.rv.in,
	.header > .logo,
	.header .buttons ul li,
	.header .mobile-btn,
	.header .social ul,
	.header .slogan .txt.a,
	.header .slogan .txt.b,
	.header .scroll-mouse,
	.header .scroll-mouse .caption,
	.content .main-about .boxes .efect img {
		animation:none;
	}
}
