/* Kortex Digital — proje görsel penceresi ve detay galerisi (23 Ekim 2026) */
.kx-project .screens [data-galeri-i] { cursor: zoom-in; }
.kx-project .screens .kx-telefonlar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.kx-project .screens .kx-telefonlar figure { margin: 0; border-radius: 26px; overflow: hidden; background: #0b0b0e; padding: 5px; box-shadow: 0 24px 48px -22px rgba(0,0,0,.45); }
.kx-project .screens .kx-telefonlar figure img { display: block; width: 100%; height: auto; border-radius: 21px; }
@media (max-width: 640px) { .kx-project .screens .kx-telefonlar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.kx-project .screens figure.kx-video { position: relative; margin: 0 0 22px; border-radius: 18px; overflow: hidden; background: #000; position: relative; }
.kx-project .screens .kx-video video { display: block; width: 100%; height: auto; }
.kx-project .screens .kx-video.dikey { max-width: 420px; margin-inline: auto; }
.kx-project .screens .kx-buyut { position: absolute; top: 12px; right: 12px; z-index: 2; border: 0; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; font: 700 12px/1 Montserrat, sans-serif; padding: 8px 12px; cursor: pointer; backdrop-filter: blur(6px); }

.kxg { position: fixed; inset: 0; z-index: 2000; display: none; flex-direction: column; background: #060608; color: #ecebe4; font-family: Montserrat, system-ui, sans-serif; }
.kxg.acik { display: flex; animation: kxg-ac .35s ease-out; }
@media (min-width: 1024px) { .kxg { flex-direction: row; } }
@keyframes kxg-ac { from { opacity: 0 } }
@keyframes kxg-sag { from { opacity: 0; transform: translateX(60px) scale(.96) } }
@keyframes kxg-sol { from { opacity: 0; transform: translateX(-60px) scale(.96) } }
.kxg-zemin { position: absolute; inset: -200px 0; overflow: hidden; pointer-events: none; }
.kxg-ortam { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); opacity: .35; filter: blur(48px); }
.kxg-zemin::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,.2), rgba(0,0,0,.7)); }
.kxg-sahne { position: relative; z-index: 1; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 80px 16px 32px; touch-action: none; user-select: none; }
.kxg-sahne.video { touch-action: pan-y; }
@media (min-width: 1024px) { .kxg-sahne { padding: 48px 64px; } }
@media (hover: hover) and (pointer: fine) { .kxg-sahne { cursor: none; } .kxg-sahne video, .kxg-sahne button { cursor: pointer; } }
.kxg-kutu { position: relative; max-width: 100%; max-height: 100%; }
.kxg-yakin { position: absolute; inset: 0; will-change: transform; }
.kxg-yakin img, .kxg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 18px; background: transparent; }
.kxg-video { background: #000; }
.kxg-imlec { position: absolute; left: 0; top: 0; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) { .kxg-imlec { display: block; } .kxg-imlec[hidden] { display: none; } }
.kxg-imlec span { display: grid; place-items: center; width: 112px; height: 48px; margin: -24px 0 0 -56px; border-radius: 999px; background: #c9f73c; color: #101113; font-weight: 800; font-size: 13px; box-shadow: 0 10px 30px -8px rgba(201,247,60,.7); }
.kxg-ipucu { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); margin: 0; white-space: nowrap; border-radius: 999px; background: rgba(0,0,0,.55); padding: 4px 12px; font-size: 11px; color: rgba(236,235,228,.75); pointer-events: none; }
.kxg-ipucu b { color: #c9f73c; font-weight: 600; }
.kxg-sahne.video .kxg-ipucu { display: none; }
.kxg-panel { position: relative; z-index: 1; flex-shrink: 0; min-height: 0; display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.45); backdrop-filter: blur(24px); padding: 20px; }
@media (min-width: 1024px) { .kxg-panel { width: 380px; border-top: 0; border-left: 1px solid rgba(255,255,255,.1); padding: 32px; } }
.kxg-ust { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.kxg-tur { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #c9f73c; }
.kxg-panel h2 { margin: 8px 0 0; font-size: 20px; line-height: 1.1; font-weight: 800; }
@media (min-width: 1024px) { .kxg-panel h2 { font-size: 30px; } }
.kxg-sayacm { margin: 0; font-weight: 800; font-size: 14px; color: rgba(236,235,228,.5); white-space: nowrap; }
.kxg-sayacm b { font-size: 24px; color: #c9f73c; }
@media (min-width: 1024px) { .kxg-sayacm { display: none; } }
.kxg-sayac { display: none; margin: 32px 0 0; font-size: 88px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(201,247,60,.8); font-variant-numeric: tabular-nums; }
.kxg-sayac span { font-size: 30px; -webkit-text-stroke: 1px rgba(236,235,228,.4); }
@media (min-width: 1024px) { .kxg-sayac { display: block; } }
.kxg-aciklama { display: none; margin: 24px 0 0; font-size: 15px; line-height: 1.7; color: rgba(236,235,228,.75); }
@media (min-width: 1024px) { .kxg-aciklama { display: block; } }
.kxg-thumbs { display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 1024px) { .kxg-thumbs { margin-top: auto; padding-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: max-content; align-content: start; overflow-y: auto; } }
.kxg-thumbs button { position: relative; flex-shrink: 0; width: 56px; aspect-ratio: 1; border: 0; padding: 0; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.05); opacity: .5; cursor: pointer; }
@media (min-width: 1024px) { .kxg-thumbs button { width: auto; } }
.kxg-thumbs button:hover, .kxg-thumbs button[aria-current] { opacity: 1; }
.kxg-thumbs button[aria-current] { box-shadow: 0 0 0 2px #c9f73c; }
.kxg-thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.kxg-thumbs span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.kxg-kapat { position: absolute; top: 16px; right: 16px; z-index: 3; width: 48px; height: 48px; border: 0; border-radius: 999px; background: #ecebe4; color: #101113; font-size: 18px; cursor: pointer; transition: transform .2s; }
.kxg-kapat:hover { transform: rotate(90deg); }
@media (min-width: 1024px) { .kxg-kapat { top: 24px; right: 400px; } }
