/* Ana sayfa (home parcasi). Olculer hedef-gorunum.png 1448x1086'dan; renk/yazi base.css tokenlarindan (yoksa yedek deger) */
.hm-hero, .hm-act, .hm-proj, .hm-partners { font-family: var(--mm-font, 'Figtree', Arial, sans-serif); }
.hm-wrap { width: min(1286px, 100% - 164px); margin-inline: auto; }
:where(.hm-hero, .hm-act, .hm-proj, .hm-partners), :where(.hm-hero, .hm-act, .hm-proj, .hm-partners) :is(*, ::before, ::after) { box-sizing: border-box; } /* Bootstrap reboot'a bagli kalmasin (chrome eski CSS'i kaldirabilsin) */
:where(.hm-hero, .hm-act, .hm-proj, .hm-partners) ul { margin: 0; padding: 0; list-style: none; } /* :where = 0 ozgulluk, serit margin/padding'lerini ezmesin */

/* ortak: eyebrow, bag, yuvarlak ok */
.hm-eyebrow { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 12px; line-height: 14px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: var(--mm-muted, #606c8b); }
.hm-eyebrow::before { content: ""; flex: 0 0 28px; height: 2px; background: var(--mm-blue, #005fde); }
.hm-link { display: inline-flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 500; color: var(--mm-blue, #005fde); text-decoration: none; white-space: nowrap; }
.hm-link svg { width: 22px; height: 22px; margin: -3px -5px -3px 0; } /* hedefte ok 15 px, ucu satirin sag kenarinda */
.hm-link svg path { stroke-width: 1.2; } /* buyutulmus ikonda cizgi kalinligi ayni kalsin */
.hm-link:hover, .hm-link:focus { color: var(--mm-blue-dark, #004cb2); text-decoration: underline; }
.hm-round { display: inline-grid; flex: 0 0 auto; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, .9); border-radius: 50%; background: transparent; color: #fff; font: inherit; cursor: pointer; transition: background-color .2s, color .2s; }
.hm-round:hover, .hm-round:focus-visible { background: #fff; color: var(--mm-navy, #0b1b3f); }
.hm-hero :focus-visible { outline: 3px solid var(--mm-blue-light, #c3e7fe); outline-offset: 3px; }

/* HERO: 588 px; metin sol, gosterge sol alt, oklar sag alt */
.hm-hero { --hm-l: max(82px, 50% - 643px); position: relative; display: flex; flex-direction: column; min-height: 588px; overflow: hidden; background: #06111e; color: #fff; }
.hm-slides, .hm-slide { position: absolute; inset: 0; }
.hm-slide { display: none; opacity: 0; transition: opacity .9s ease; }
.hm-slide.is-on, .hm-slide.is-armed { display: block; } /* armed: siradaki slayt onceden yuklensin (lazy img) */
.hm-slide.is-on { opacity: 1; }
.hm-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-slide picture { display: contents; }
@media (min-width: 768px) { /* genis ekranda resmin ust/alti kirpilir: basliklar cam menunun altinda kalsin. shortcut: hero-1..5 sirasina bagli, banner degisirse yeniden bak */
	.hm-slide:nth-child(1) img { object-position: 50% 40%; }
	.hm-slide:nth-child(3) img { object-position: 50% 85%; }
	.hm-slide:nth-child(4) img { object-position: 50% 25%; }
	.hm-slide:nth-child(5) img { object-position: 50% 20%; }
}
.hm-slides::after { content: ""; position: absolute; inset: 0; pointer-events: none; /* --hm-l = metnin sol kenari (.hm-wrap); koyu yalniz metnin arkasinda (en uzun satir L+802), kontrollerin arkasinda yumusak leke; 5 bannerda en kotu piksel olculdu (RAPOR.md tur 3) */
	background: radial-gradient(360px 160px at calc(100% - var(--hm-l) - 70px) calc(100% - 50px), rgba(4, 14, 30, .6), rgba(4, 14, 30, 0)),
		linear-gradient(90deg, rgba(4, 14, 30, .8) 0, rgba(4, 14, 30, .78) calc(var(--hm-l) + 560px), rgba(4, 14, 30, .55) calc(var(--hm-l) + 820px), rgba(4, 14, 30, 0) calc(var(--hm-l) + 1000px)),
		linear-gradient(0deg, rgba(4, 14, 30, .5) 0, rgba(4, 14, 30, 0) 24%); }
@media (min-width: 768px) { .hm-slide img { filter: brightness(1.25); } } /* bannerlar hedeften koyu: sag (metinsiz) taraf aydinlik olsun; metin arkasini ortu karsilar */
.hm-hero-text { position: relative; z-index: 1; padding: 176px 0 40px; } /* akista: uzun metin hero'yu buyutur, gostergeyle cakismaz */
.hm-hero .hm-eyebrow { color: #fff; letter-spacing: 3px; }
.hm-hero h1 { max-width: 900px; margin: 8px 0 0 -4px; font-family: inherit; font-size: 60px; line-height: 60px; font-weight: 700; letter-spacing: -.01em; color: #fff; text-wrap: balance; } /* EN 1. satir 900px'e sigmaz: ayni boyutta dengeli 2 satira kirilir (sag parlak alana tasmaz) */
.hm-hero h1 span { display: block; color: var(--mm-blue-light, #c3e7fe); }
.hm-lead { max-width: 660px; margin: 19px 0 0; font-size: 19px; line-height: 25px; color: #fff; }
.hm-btns { display: flex; flex-wrap: wrap; gap: 21px; margin-top: 21px; }
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 50px; padding: 0 28px; border: 1px solid transparent; border-radius: var(--mm-radius-btn, 8px); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: background-color .2s, color .2s; }
.hm-btn-primary { background: var(--mm-blue, #005fde); color: #fff; }
.hm-btn-primary:hover, .hm-btn-primary:focus { background: var(--mm-blue-dark, #004cb2); color: #fff; text-decoration: none; }
.hm-btn-line { border-color: rgba(255, 255, 255, .9); color: #fff; }
.hm-btn-line:hover, .hm-btn-line:focus { background: #fff; color: var(--mm-navy, #0b1b3f); text-decoration: none; }

.hm-hero-nav { position: relative; z-index: 1; margin-top: auto; margin-bottom: 27px; display: flex; align-items: flex-end; gap: 18px; }
.hm-dots { flex: 1; min-width: 0; display: flex; padding-bottom: 15px; } /* min-width 0: dar ekranda noktalar daralir, oklar ekran disina itilmez (320 px reflow) */
.hm-hero-nav .hm-round { margin-bottom: 2px; } /* ok merkezi hedefte y 539 */
/* her gosterge 53px; cizgi yuvanin icinde (kullanici istegi 2026-10-21, hedefteki 76px'lik iz birlesiyordu) */
.hm-dot { position: relative; width: 53px; min-width: 24px; min-height: 25px; padding: 0 0 9px; border: 0; background: none; text-align: left; font: inherit; font-size: 12px; line-height: 14px; font-weight: 600; letter-spacing: .5px; color: rgba(255, 255, 255, .78); cursor: pointer; }
.hm-dot::after, .hm-fill { content: ""; position: absolute; left: 0; right: 12px; bottom: 0; height: 2px; background: rgba(255, 255, 255, .35); } /* kullanici istegi 2026-10-21: her cizgi kendi yuvasinda, aralarinda 12px bosluk */
.hm-dot[aria-current] { color: #fff; }
.hm-fill { display: none; z-index: 1; background: linear-gradient(90deg, #fff, var(--mm-blue, #005fde) 30%, #3d95ff); transform-origin: left; transform: scaleX(0); }
.hm-dot[aria-current] .hm-fill { display: block; animation: hm-prog 6s linear forwards; }
.hm-hero:hover .hm-fill, .hm-hero:focus-within .hm-fill, .hm-hero.is-paused .hm-fill { animation-play-state: paused; } /* hover/odak/durdur dugmesi: otomatik gecis durur (WCAG 2.2.2) */
.hm-hero.is-run .hm-fill { animation-play-state: running; } /* kullanici oynat dedi: hover/odak artik durdurmaz (APG carousel) */
.hm-pause .hm-i-play, .hm-hero.is-paused .hm-pause .hm-i-pause { display: none; }
.hm-hero.is-paused .hm-pause .hm-i-play { display: block; }
@keyframes hm-prog { to { transform: scaleX(1); } }

/* FAALIYET: 4 kart gorunur, 5. kaydirmayla; oklar satirin en solu/sagi, kartlara gore dikey ortada */
.hm-act { padding: 28px 0 47px; background: var(--mm-bg-soft, #fafcfe); }
.hm-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 21px; }
#hm-act-h { white-space: nowrap; } /* EN 'OUR ACTIVITIES' tek satir; 12px ~168px her genislige sigar */
.hm-act .hm-head { position: relative; z-index: 3; margin-bottom: 16px; } /* serit golge icin -30px yukari tasiyor; bag ustte kalsin, tiklansin */
.hm-carousel { position: relative; container-type: inline-size; } /* 100cqi = .hm-wrap genisligi: iki seritte ayni kolon */
.hm-act { overflow: hidden; } /* serit ekranin sag kenarina kadar uzanir */
.hm-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100cqi - 57px) / 4); gap: 19px; margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50cqi); scroll-padding-inline: calc(50vw - 50cqi); /* cqi: scroll-padding %'si scrollport'a gore cozulur */ overflow-x: auto; /* iki yanda ekran kenarina kadar; dinlenmede ilk kart baslik hizasinda (.hm-wrap ortali; tasma .hm-act/.hm-proj overflow:hidden) */ overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hm-track::-webkit-scrollbar { display: none; }
.hm-track > li { scroll-snap-align: start; }
@media (hover: hover) and (pointer: fine) { .hm-track { cursor: grab; user-select: none; -webkit-user-select: none; } .hm-track.is-drag, .hm-track.is-drag a { cursor: grabbing; } } /* fareyle surukle (home.js) */
.hm-track.is-drag { scroll-snap-type: none; scroll-behavior: auto; } /* surukleme + kayma sirasinda tarayici oturtmasin/yumusatmasin; home.js karta kendisi oturtur */
.hm-cards { margin-top: -16px; margin-bottom: -16px; padding-top: 16px; padding-bottom: 16px; } /* dikey ic bosluk: hover yuzeyi (12px) kesilmesin */
.hm-cards .mm-card { container-type: inline-size; } /* kart = .mm-card (base.css); burada yalniz serit farklari */
.hm-cards .mm-card__title { font-size: min(21px, calc(100cqi / 14)); }
#hm-act-list .mm-card__img { aspect-ratio: 307 / 117; }
#hm-act-list .mm-card__title { white-space: nowrap; } /* kullanici: faaliyet basligi tek satir, kesilmez ("…" yok); en uzun 13.14em -> 14em ile %6 pay (r4-titles) */
.hm-side { position: absolute; top: 50%; z-index: 2; margin-top: -20px; border-color: var(--mm-line, #dde2ea); background: #fff; color: var(--mm-blue, #005fde); box-shadow: 0 6px 18px rgba(17, 85, 154, .12); }
.hm-side:hover, .hm-side:focus-visible { background: var(--mm-blue, #005fde); border-color: var(--mm-blue, #005fde); color: #fff; }
.hm-side:focus-visible { outline: 3px solid var(--mm-blue, #005fde); outline-offset: 2px; }
.hm-side[aria-disabled="true"] { opacity: .35; pointer-events: none; }
.hm-side-prev { left: -62px; }
.hm-side-next { right: -62px; }

/* PROJELER: baslik | paragraf | bag; serit saga tasar (5. gorsel kenarda) */
.hm-proj { overflow: hidden; padding: 0 0 56px; background: var(--mm-bg-soft, #fafcfe); }
.hm-proj-head { position: relative; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 13px 0 15px; } /* kullanici istegi 2026-10-21: paragraf kaldirildi; z-index: serit golge payi -30px tasiyor, bag tiklansin */
.hm-proj-head h2 { margin: 0; font-family: inherit; font-size: 32px; line-height: 35px; font-weight: 700; letter-spacing: -.005em; color: var(--mm-navy, #0b1b3f); }
.hm-proj-head h2 span { display: block; color: var(--mm-blue, #005fde); }
.hm-proj-head .hm-link { margin-bottom: 6px; }

/* PROJE ORTAKLARI: ayni bas satiri + beyaz kutular */
.hm-partners { padding: 8px 0 72px; background: var(--mm-bg-soft, #fafcfe); }
.hm-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.hm-logos li { display: grid; place-items: center; height: 88px; padding: 12px 16px; border-radius: var(--mm-radius, 8px); background: #fff; box-shadow: 0 10px 30px -18px rgba(17, 85, 154, .25); }
.hm-logos img { max-width: min(150px, 100%); max-height: 44px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.hm-logos li:hover img { filter: none; opacity: 1; }

/* 1200 alti: dar ekran */
@media (max-width: 1199.98px) {
	.hm-logos { grid-template-columns: repeat(4, 1fr); }
	.hm-track { grid-auto-columns: 300px; } /* 4'lu dizide kart cok daralir */
}
@media (max-width: 991.98px) {
	.hm-wrap { width: calc(100% - 40px); }
	.hm-hero { --hm-l: 20px; } /* .hm-wrap sol kenari */
	.hm-track { grid-auto-columns: min(300px, 78cqi); }
	.hm-side { display: none; } /* dokunmatikte kaydirma */
}
@media (max-width: 767.98px) {
	.hm-hero { min-height: 600px; }
	.hm-slide img { object-position: 75% 50%; } /* insanlar sagda; ortadan kirpma onlari kesiyordu */
	.hm-hero-text { padding: 128px 0 32px; }
	.hm-hero h1 { margin-left: -2px; font-size: 38px; line-height: 42px; }
	.hm-lead { font-size: 17px; line-height: 24px; }
	.hm-btns { gap: 12px; }
	.hm-btn { padding: 0 22px; }
	.hm-hero-nav { gap: 10px; margin-bottom: 20px; }
	.hm-dot { width: 38px; } /* 5 gosterge + 3 dugme 350px'e sigsin */
	.hm-slides::after { background: linear-gradient(0deg, rgba(4, 14, 30, .85) 0, rgba(4, 14, 30, .66) 55%, rgba(4, 14, 30, .62) 100%); }
	.hm-head { flex-wrap: wrap; row-gap: 10px; }
	.hm-proj-head { flex-direction: column; align-items: flex-start; gap: 10px; } /* TR ve EN ayni: bag basligin altinda */
	.hm-proj-head h2 { font-size: 28px; line-height: 32px; }
	.hm-logos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 359.98px) {
	.hm-head .hm-link { flex-basis: 100%; } /* TR baslik + bag 280px'e sigmiyor: iki dilde de bag alt satirda */
	.hm-track { grid-auto-columns: min(300px, 86cqi); } /* 320 px: baslik ~16 px kalsin */
}
@media (prefers-reduced-motion: reduce) {
	.hm-slide, .hm-round, .hm-btn, .hm-logos img { transition: none; }
	.hm-hero:not(.is-run) .hm-dot[aria-current] .hm-fill { animation: none; transform: none; } /* otomatik gecis kapali baslar (home.js durdurulmus gosterir); kullanici oynat derse calisir */
}
