/* Punta — fotoğraf görüntüleyici (etkinlik ve ürün galerileri) */
/* Görüntüleyici */
.glb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18, 20, 24, 0.94); color: #fff; overflow: hidden; }
.glb::backdrop { background: rgba(18, 20, 24, 0.6); }
.glb[open] { display: grid; animation: glbIn 260ms var(--ease-out-quart); }
@keyframes glbIn { from { opacity: 0; } }
.glb-stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 64px clamp(16px, 7vw, 96px) 72px; }
.glb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.glb-fig img { max-width: 100%; max-height: calc(100dvh - 160px); width: auto; height: auto; border-radius: 14px; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.glb-fig img.in-r { animation: glbR 320ms var(--ease-out-expo); }
.glb-fig img.in-l { animation: glbL 320ms var(--ease-out-expo); }
@keyframes glbR { from { opacity: 0; transform: translateX(28px); } }
@keyframes glbL { from { opacity: 0; transform: translateX(-28px); } }
.glb-fig figcaption { color: rgba(255,255,255,0.8); font-size: 0.95rem; text-align: center; }
.glb-count { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-family: var(--f-mono); font-size: 0.85rem; color: rgba(255,255,255,0.75); padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,0.08); }
.glb-count:empty { display: none; }
.glb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,0.1); color: #fff; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out-quart), color var(--dur-micro) var(--ease-out-quart); }
.glb-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.glb-btn:hover, .glb-btn:focus-visible { background: var(--dot); color: var(--ink); outline: none; }
.glb-close { top: 18px; right: 18px; }
.glb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.glb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.glb-open { overflow: hidden; }

@media (max-width: 560px) {
  .glb-stage { padding: 60px 8px 80px; }
  .glb-prev, .glb-next { top: auto; bottom: 14px; transform: none; width: 46px; height: 46px; }
  .glb-count { bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .glb[open], .glb-fig img.in-r, .glb-fig img.in-l { animation: none; }
}
