/* Teknotik Makine — galeri büyütme penceresi (lightbox) + döndürme */
.gl-perde{position:fixed;inset:0;z-index:10050;background:rgba(8,8,10,.94);
  display:none;flex-direction:column;touch-action:none}
.gl-perde.acik{display:flex}

.gl-ust{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:12px 14px calc(12px);color:#e8e8e6}
.gl-say{font-size:14px;color:#b9bcc1;font-variant-numeric:tabular-nums}
.gl-arac{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.gl-btn{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);
  color:#e8e8e6;border-radius:10px;width:44px;height:44px;font-size:19px;line-height:1;
  cursor:pointer;display:inline-flex;align-items:center;justify-content:center;
  font-family:inherit;padding:0}
.gl-btn:hover{background:rgba(255,255,255,.18)}
.gl-btn:focus-visible{outline:2px solid #F07818;outline-offset:2px}
.gl-btn.gl-kapat{background:rgba(240,120,24,.9);border-color:transparent;color:#fff}

.gl-sahne{flex:1 1 auto;position:relative;min-height:0;display:flex;
  align-items:center;justify-content:center;overflow:hidden}
.gl-sahne img{max-width:94%;max-height:94%;display:block;
  transition:transform .28s ease;transform-origin:center center;
  box-shadow:0 10px 50px rgba(0,0,0,.6);border-radius:4px;background:#111}
/* Dik duran (90/270) görsel ekrana sığsın diye ölçüler yer değiştirir */
.gl-sahne.gl-dik img{max-width:94vh;max-height:94vw}

.gl-ok{position:absolute;top:50%;transform:translateY(-50%);
  width:52px;height:52px;font-size:26px;z-index:2}
.gl-ok.sol{left:10px}
.gl-ok.sag{right:10px}

.gl-alt{flex:0 0 auto;padding:12px 16px calc(14px + env(safe-area-inset-bottom));
  color:#b9bcc1;font-size:13.5px;text-align:center;line-height:1.6}
.gl-alt a{color:#F5A45C}
.gl-ipuc{color:#8d939b;font-size:12.5px;margin-top:4px}

@media (max-width:640px){
  .gl-btn{width:46px;height:46px}
  .gl-ok{width:46px;height:46px;font-size:23px}
  .gl-ok.sol{left:4px} .gl-ok.sag{right:4px}
  .gl-alt{font-size:12.5px}
}
@media (prefers-reduced-motion: reduce){
  .gl-sahne img{transition:none}
}
