/* ==========================================================================
   Özendek — D1 Galeri (deneme sayfası) · yalnızca galeri.html yükler
   style.css değişkenlerini (--ink, --paper, --brass…) kullanır; başka sayfayı etkilemez.
   ========================================================================== */
.gx-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); text-align: center; }
.gx-hero .eyebrow { justify-content: center; }
.gx-hero .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.gx-hero h1 { margin-bottom: .35em; }
.gx-hero h1 em { color: var(--brass-d); }
.gx-lead { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 1.1rem; }
.gx-lead b { color: var(--ink); font-weight: 600; }

.gx-bar { position: sticky; top: 84px; z-index: 20; background: rgba(246, 241, 231, .95); backdrop-filter: blur(8px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gx-bar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 12px; padding-bottom: 12px; }
.gx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gx-chips button { min-height: 40px; padding: 0 16px; background: transparent; border: 1px solid var(--line); border-radius: 40px; font: 500 14px/1 var(--sans); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.gx-chips button:hover { border-color: var(--ink); }
.gx-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gx-chips-s button[aria-pressed="true"] { background: var(--brass-d); border-color: var(--brass-d); }
.gx-n { margin: 0 0 0 auto; font-size: 14px; color: var(--muted); }
.gx-n b { font: 500 1.5rem/1 var(--serif); color: var(--ink); margin-right: 4px; }

.gx-sec { padding: 24px clamp(8px, 2vw, 24px) clamp(72px, 9vw, 120px); }
.gx-grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1600px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(4px, .7vw, 10px); }
.gx-it { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.gx-it.gx-big { grid-column: span 2; grid-row: span 2; }
.gx-it a { display: block; height: 100%; color: #fff; text-decoration: none; }
.gx-it img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.gx-cap { position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; background: linear-gradient(transparent, rgba(12, 18, 24, .82)); display: grid; gap: 4px; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.gx-cap small { font: 600 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #d2b483; }
.gx-cap b { font: 500 1.1rem/1.2 var(--serif); }
.gx-big .gx-cap b { font-size: 1.5rem; }
.gx-it a:hover img, .gx-it a:focus-visible img { transform: scale(1.05); }
.gx-it a:hover .gx-cap, .gx-it a:focus-visible .gx-cap { opacity: 1; transform: none; }
.gx-it a:focus-visible { outline-offset: -3px; }
.gx-bos { text-align: center; color: var(--muted); padding: 48px 0; }

.gx-son { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; }
.gx-son h2 { margin: 0; }
.gx-son p { margin: 0; color: var(--muted); }
.gx-son p:last-child { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Lightbox */
.gx-lb { position: fixed; inset: 0; z-index: 200; background: rgba(10, 14, 18, .96); display: none; align-items: center; justify-content: center; padding: 24px 84px; }
.gx-lb.on { display: flex; }
.gx-lb-acik body { overflow: hidden; }
.gx-lb figure { margin: 0; display: grid; justify-items: center; gap: 16px; }
.gx-lb img { max-height: 78vh; max-width: min(78vh, 100%); width: auto; height: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.gx-lb figcaption { display: grid; justify-items: center; gap: 6px; text-align: center; color: #e9e2d3; }
.gx-lb-m { font: 600 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #d2b483; }
.gx-lb-t { font: 500 1.6rem/1.2 var(--serif); }
.gx-lb-a { color: #fff; font-size: 14px; }
.gx-lb-a:hover { color: #d2b483; }
.gx-lb-btn { position: absolute; width: 54px; height: 54px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; color: #fff; font: 300 30px/1 var(--sans); cursor: pointer; }
.gx-lb-btn:hover { background: rgba(255, 255, 255, .2); }
.gx-lb-x { top: 20px; right: 20px; }
.gx-lb-p { left: 16px; top: 50%; margin-top: -27px; }
.gx-lb-n { right: 16px; top: 50%; margin-top: -27px; }

@media (max-width: 1100px) { .gx-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .gx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gx-son { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .gx-bar { top: 72px; }
  .gx-bar-in { gap: 8px; }
  .gx-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -24px; padding: 0 24px; width: calc(100% + 48px); }
  .gx-chips::-webkit-scrollbar { display: none; }
  .gx-chips button { flex: none; min-height: 36px; padding: 0 14px; font-size: 13px; }
  .gx-n { margin: 0; }
  .gx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-cap { opacity: 1; transform: none; padding: 28px 8px 8px; }
  .gx-cap b { font-size: .95rem; }
  .gx-cap small { display: none; }
  .gx-lb { padding: 16px 16px 96px; }
  .gx-lb-p, .gx-lb-n { top: auto; bottom: 20px; margin: 0; }
  .gx-lb-p { left: calc(50% - 66px); }
  .gx-lb-n { right: calc(50% - 66px); }
}
@media (prefers-reduced-motion: reduce) { .gx-it img, .gx-cap { transition: none; } }
