/* Galeri — sadece bu sayfada yüklenir */
.gl { --gl-dark: #1a0e15; --gl-ease: cubic-bezier(.16, 1, .3, 1); overflow-x: clip; }
.gl h1, .gl h2 { font-family: var(--serif); text-transform: uppercase; letter-spacing: .01em; }

/* Giriş */
.gl-hero {
  position: relative;
  padding: 96px 0 0;
  color: #fff;
  background:
    radial-gradient(55% 70% at 85% 10%, rgba(207, 108, 66, .35), transparent 70%),
    radial-gradient(50% 60% at 5% 90%, rgba(123, 59, 99, .5), transparent 70%),
    var(--gl-dark);
  overflow: hidden;
}
.gl-hero-copy { position: relative; z-index: 1; }
.gl-kicker { font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #ffc49a; }
.gl-hero h1 { margin-top: 10px; font-size: clamp(54px, 8vw, 112px); font-weight: 800; line-height: .9; max-width: 900px; animation: lift .9s var(--gl-ease) both; }
.gl-hero-copy > p:not(.gl-kicker) { max-width: 560px; margin-top: 18px; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .75); }
.gl-facts { display: flex; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.gl-facts li { padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.gl-facts b { color: #fff; font-size: 16px; }

.gl-strip { margin-top: 64px; padding: 0 0 56px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.gl-strip-track { display: flex; gap: 16px; width: max-content; animation: tick 70s linear infinite; }
.gl-strip:hover .gl-strip-track { animation-play-state: paused; }
.gl-strip img {
  height: 240px;
  width: auto;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
  transform: rotate(-1.5deg);
}
.gl-strip img:nth-child(even) { transform: rotate(1.5deg) translateY(18px); }

/* Bölüm seçici */
.gl-nav {
  position: sticky;
  top: 85px;
  z-index: 15;
  padding: 14px 0;
  background: rgba(255, 253, 251, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.gl-nav-inner { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gl-nav-inner::-webkit-scrollbar { display: none; }
.gl-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.gl-chip:hover { border-color: var(--plum); }
.gl-chip em { font-style: normal; font-size: 11.5px; font-weight: 700; min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 999px; background: rgba(123, 59, 99, .1); color: var(--plum); }
.gl-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.gl-chip.is-on em { background: rgba(255, 255, 255, .2); color: #fff; }

/* Bölümler */
.gl-chapter { padding: 84px 0; }
.gl-chapter[hidden] { display: none; }
.gl-chapter:nth-of-type(even) { background: var(--cream); }
.gl-chapter-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.gl-chapter-head { position: sticky; top: 180px; }
.gl-no {
  display: block;
  font-family: var(--serif);
  font-size: 110px;
  font-weight: 800;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(123, 59, 99, .35);
}
.gl-date { margin-top: 18px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-deep); }
.gl-chapter-head h2 { margin-top: 8px; font-size: clamp(34px, 3.4vw, 46px); font-weight: 800; line-height: .95; }
.gl-chapter-head > p:not(.gl-date) { margin-top: 14px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.gl-link { display: inline-flex; gap: 6px; margin-top: 18px; padding-bottom: 3px; border-bottom: 2px solid rgba(123, 59, 99, .25); font-size: 14px; font-weight: 700; color: var(--plum); transition: color .25s ease, border-color .25s ease; }
.gl-link:hover { color: var(--orange-deep); border-color: var(--orange-deep); }
.gl-link span { transition: transform .25s ease; }
.gl-link:hover span { transform: translateX(4px); }

.gl-grid { columns: 3; column-gap: 14px; }
.gl-item {
  position: relative;
  display: block;
  margin-bottom: 14px;
  border-radius: 16px;
  overflow: hidden;
  break-inside: avoid;
  background: #e9dfe2;
  cursor: zoom-in;
}
.gl-item img { width: 100%; height: auto; transition: transform .9s var(--gl-ease), filter .5s ease; }
.gl-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(26, 14, 21, .55));
  opacity: 0;
  transition: opacity .4s ease;
}
.gl-item::before {
  content: "+";
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--plum);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .35s ease, transform .35s var(--gl-ease);
}
.gl-item:hover img { transform: scale(1.06); }
.gl-item:hover::after, .gl-item:hover::before, .gl-item:focus-visible::after, .gl-item:focus-visible::before { opacity: 1; transform: none; }
.gl-item:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

/* Çağrı */
.gl-cta { padding: 80px 0; color: #fff; background: var(--glow); }
.gl-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.gl-cta h2 { font-size: clamp(36px, 4vw, 56px); font-weight: 800; line-height: .95; }
.gl-cta p { margin-top: 12px; max-width: 520px; color: rgba(255, 255, 255, .85); }
.gl-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.gl-cta .btn-orange { background: #fff; color: var(--plum); }
.gl-cta .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.gl-cta .btn-line:hover { color: #fff; border-color: #fff; }

/* Görüntüleyici */
html.gl-lock { overflow: hidden; }
.gl-box {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(15, 8, 12, .95);
  color: #fff;
}
.gl-box::backdrop { background: rgba(15, 8, 12, .8); }
.gl-box[open] { display: grid; place-items: center; }
.gl-box figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px 80px; }
.gl-box img { max-width: min(1400px, 100%); max-height: 82vh; width: auto; height: auto; border-radius: 10px; opacity: 0; transform: scale(.98); transition: opacity .35s ease, transform .5s var(--gl-ease); }
.gl-box img.is-ready { opacity: 1; transform: none; }
.gl-box figcaption { display: flex; gap: 18px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.gl-box figcaption [data-count] { color: #ffc49a; font-weight: 700; }
.gl-box button { position: absolute; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background .25s ease; }
.gl-box button:hover { background: rgba(255, 255, 255, .22); }
.gl-box-close { top: 20px; right: 20px; width: 48px; height: 48px; font-size: 30px; line-height: 1; }
.gl-box-nav { top: 50%; width: 56px; height: 56px; margin-top: -28px; font-size: 36px; line-height: 1; }
.gl-box-nav.is-prev { left: 20px; }
.gl-box-nav.is-next { right: 20px; }

@media (max-width: 980px) {
  .gl-nav { position: static; }
  .gl-chapter { padding: 60px 0; }
  .gl-chapter-grid { grid-template-columns: 1fr; gap: 28px; }
  .gl-chapter-head { position: static; }
  .gl-no { font-size: 80px; }
  .gl-grid { columns: 2; }
}
@media (max-width: 760px) {
  .gl-hero { padding-top: 64px; }
  .gl-strip { margin-top: 44px; padding-bottom: 40px; }
  .gl-strip img { height: 170px; }
  .gl-grid { column-gap: 10px; }
  .gl-item { margin-bottom: 10px; border-radius: 12px; }
  .gl-box figure { padding: 70px 12px 20px; }
  .gl-box-nav { top: auto; bottom: 18px; margin-top: 0; width: 48px; height: 48px; }
  .gl-box img { max-height: 70vh; }
  .gl-cta-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .gl-strip-track { animation: none; }
}
