/* MEGA ana sayfa: kayan ürün kartları (Ekim 2026)
   Koyu "Büyük Projeler" bölümünde, bölüm genişliğinin tamamında yavaşça akan ürün kartları.
   Üzerine gelince / klavye odağında durur; hareket azaltma tercihinde elle kaydırılan sıraya döner. */
.mus {
	--mus-gen: 300px;
	position: relative; left: 50%; width: 100vw; margin: 44px 0 0 -50vw;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
	font-family: "Noto Sans", -apple-system, "Segoe UI", Arial, sans-serif;
}
.mus-ray { display: flex; width: max-content; animation: mus-kay var(--mus-sure, 120s) linear infinite; }
.mus:hover .mus-ray,
.mus:focus-within .mus-ray { animation-play-state: paused; }
@keyframes mus-kay { to { transform: translateX(-50%); } }

.mus .mus-iz { display: flex; gap: 20px; margin: 0; padding: 6px 20px 6px 0; list-style: none; }
.mus .mus-kart { flex: 0 0 var(--mus-gen); margin: 0; padding: 0; }
.mus .mus-kart::before { display: none; }
.mus .mus-kart a {
	display: flex; flex-direction: column; height: 100%;
	background: #fff; text-decoration: none; outline-offset: 3px;
}
.mus .mus-kart a:focus-visible { outline: 2px solid #fff; }
.mus .mus-gorsel { display: block; aspect-ratio: 16 / 9; background: #fff; border-bottom: 1px solid #e1e4ee; overflow: hidden; }
.mus .mus-gorsel img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.mus .mus-metin {
	position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center;
	padding: 14px 16px 17px; text-align: left;
} /* sirada iki satirlik ad varsa tek satirlik kartlarda fark alta yigilmasin, ortalansin */
.mus .mus-metin::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: #e30613;
	transition: width .35s cubic-bezier(.2, .7, .2, 1);
}
.mus .mus-kart a:hover .mus-metin::after,
.mus .mus-kart a:focus-visible .mus-metin::after { width: 100%; }
.mus .mus-kart a:hover .mus-gorsel img { transform: scale(1.04); }
.mus .mus-grup { display: block; font-size: 12.5px; line-height: 1.3; color: #5a6172; }
.mus .mus-ad {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
	margin-top: 4px; font-size: 15px; line-height: 1.35; font-weight: 600; color: #17224d;
} /* uzun adlar kartlari uzatip altlarinda bosluk birakmasin */

@media (max-width: 640px) {
	.mus { --mus-gen: 240px; margin-top: 32px; }
	.mus .mus-iz { gap: 14px; padding-right: 14px; }
	.mus .mus-ad { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.mus { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x mandatory; }
	.mus-ray { animation: none; }
	.mus .mus-kopya { display: none; }
	.mus .mus-kart { scroll-snap-align: start; }
	.mus .mus-gorsel img, .mus .mus-metin::after { transition: none; }
}

/* =========================================================================
   Ürün bandı [mega_urun_bandi] — ev görselinin altında, Mega lacivertiyle ayrılmış bölüm
   İki sıra kart ters yönlere farklı hızlarda akar; arka planda logonun elmas çizgileri.
   ========================================================================= */
.mub {
	position: relative; isolation: isolate; overflow: hidden;
	padding: clamp(52px, 6vw, 88px) 0 clamp(56px, 6.5vw, 96px);
	background: #17224d; color: #fff;
	font-family: "Noto Sans", -apple-system, "Segoe UI", Arial, sans-serif;
}
.mub .mub-motif {
	position: absolute; z-index: -1; top: -18%; right: -6%;
	width: min(720px, 70vw); height: auto; color: #fff; opacity: .07;
}
.mub .mub-bas {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px;
	max-width: 1300px; margin: 0 auto 40px; padding: 0 24px;
}
.mub .mub-metin { max-width: 640px; }
.mub h2 {
	position: relative; margin: 0 0 16px; padding: 0 0 18px;
	font-family: inherit; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; font-weight: 700; letter-spacing: -0.012em; color: #fff;
}
.mub h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: #e30613; }
.mub p { margin: 0; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .74); }
.mub a.mub-btn {
	display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
	border: 1px solid rgba(255, 255, 255, .55); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none;
	transition: background-color .2s, border-color .2s;
}
.mub a.mub-btn:hover { background: #e30613; border-color: #e30613; color: #fff; }
.mub a.mub-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.mus.mus-bant {
	margin-top: 0;
	/* lacivert zeminde genis solma beyaz kartlari "hayalet" seride ceviriyordu; dar tutuldu */
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.mus.mus-bant + .mus.mus-bant { margin-top: 22px; }
.mus-ters .mus-ray { animation-direction: reverse; }
.mus-bant .mus-iz { padding-top: 10px; padding-bottom: 10px; }
.mus-bant .mus-kart a { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.mus-bant .mus-kart a:hover,
.mus-bant .mus-kart a:focus-visible { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(0, 0, 0, .28); }

@media (prefers-reduced-motion: no-preference) {
	.mub .mub-motif { animation: mub-motif 24s ease-in-out infinite alternate; }
}
@keyframes mub-motif { from { transform: rotate(0deg) translateY(0); } to { transform: rotate(9deg) translateY(18px); } }

/* Giris: .mub-bekle sinifini yalniz bant ekranin altindayken betik ekler (bkz. mud_bant_giris_js) */
.mub.mub-bekle .mub-metin > *,
.mub.mub-bekle .mub-btn { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1), background-color .2s, border-color .2s; }
.mub.mub-bekle h2::after { width: 0; transition: width .7s cubic-bezier(.2, .7, .2, 1) .35s; }
.mub.mub-bekle .mus-bant { opacity: 0; transform: translateX(90px); transition: opacity .9s ease .25s, transform 1.1s cubic-bezier(.2, .7, .2, 1) .25s; }
.mub.mub-bekle .mus-ters { transform: translateX(-90px); transition-delay: .4s; }
.mub.mub-bekle .mub-metin p { transition-delay: .1s; }
.mub.mub-bekle .mub-btn { transition-delay: .2s, .2s, 0s, 0s; }
.mub.mub-bekle.mub-acik .mub-metin > *,
.mub.mub-bekle.mub-acik .mub-btn,
.mub.mub-bekle.mub-acik .mus-bant { opacity: 1; transform: none; }
.mub.mub-bekle.mub-acik h2::after { width: 56px; }

@media (max-width: 640px) {
	.mub .mub-bas { margin-bottom: 28px; padding: 0 16px; }
	.mub a.mub-btn { width: 100%; justify-content: center; }
	.mus.mus-bant + .mus.mus-bant { margin-top: 14px; }
	.mus.mus-bant {
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
		mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
	}
}
@media (prefers-reduced-motion: reduce) {
	.mus-bant .mus-kart a { transition: none; }
	.mus-bant .mus-kart a:hover { transform: none; }
	.mus.mus-bant { -webkit-mask-image: none; mask-image: none; }
}

/* =========================================================================
   Mobil (23 Eki 2026): tek sira, kisa bant, giris hareketi yok (gec gelme / bos lacivert alan sikayeti)
   ========================================================================= */
.mus.mus-mobil { display: none; }
@media (max-width: 767px) {
	.mub .mus.mus-masaustu { display: none; }
	.mub .mus.mus-bant.mus-mobil { display: block; --mus-gen: 200px; margin-top: 0; }
	.mub { padding: 36px 0 38px; }
	.mub .mub-bas { margin-bottom: 22px; gap: 14px; }
	.mub h2 { font-size: 26px; margin-bottom: 12px; padding-bottom: 14px; }
	.mub p { font-size: 14.5px; line-height: 1.6; }
	.mub a.mub-btn { width: auto; min-height: 42px; padding: 0 18px; font-size: 14px; }
	.mub .mub-motif { width: 90vw; top: -6%; right: -32%; }
	.mus.mus-mobil .mus-metin { padding: 10px 12px 12px; }
	.mus.mus-mobil .mus-ad { font-size: 13.5px; }
	.mus.mus-mobil .mus-iz { gap: 12px; padding-right: 12px; }
}

/* Mobil sira = yatay kaydirma alani (23 Eki 2026): iPhone, ~14.000px genislikte transform ile kayan seridi
   bir noktadan sonra cizemiyor ve bos lacivert alan kaliyordu. Kaydirma alanini tarayici parca parca cizer;
   otomatik ilerleme mud_bant_giris_js icinde (3 sn'de bir kart, dokununca durur). */
@media (max-width: 767px) {
	.mub .mus.mus-bant.mus-mobil {
		left: auto; width: auto; margin-left: 0;
		overflow-x: auto; overflow-y: hidden;
		scroll-snap-type: x mandatory; scroll-padding-left: 16px;
		-webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
		scrollbar-width: none;
		-webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
		mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
	}
	.mub .mus.mus-mobil::-webkit-scrollbar { display: none; }
	.mub .mus.mus-mobil .mus-ray { animation: none; width: max-content; }
	.mub .mus.mus-mobil .mus-kopya { display: none; }
	.mub .mus.mus-mobil .mus-iz { padding: 10px 16px; }
	.mub .mus.mus-mobil .mus-kart { scroll-snap-align: start; }
	.mub .mus.mus-mobil .mus-kart a:hover,
	.mub .mus.mus-mobil .mus-kart a:focus-visible { transform: none; }
}
