/* Krem zeminli Polaroid Galeri Bölümü */
.galeri-bolum {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(232, 69, 107, 0.12), transparent 70%),
    linear-gradient(180deg, #fbf1e4, #f4e2cc 88%, #edd6bc);
  color: var(--murekkep);
  padding-top: clamp(80px, 12vh, 130px);
  padding-bottom: clamp(80px, 12vh, 130px);
  border-radius: 36px;
  margin: 0 min(2.5vw, 24px);
  box-shadow: 0 28px 70px -20px rgba(0, 0, 0, 0.85);
}
.galeri-bolum .bolum-baslik::after {
  background: linear-gradient(90deg, transparent, var(--gul-koyu), transparent);
}

.galeri-izgara {
  width: min(92vw, 1120px);
  margin-top: 42px;
  columns: 4 220px;
  column-gap: 22px;
}
@media (max-width: 640px) {
  .galeri-izgara {
    columns: 2 140px;
    column-gap: 12px;
  }
  .galeri-bolum {
    border-radius: 22px;
    margin: 0 8px;
    padding-left: 12px;
    padding-right: 12px;
  }
}

.ani-kart {
  display: inline-block;
  width: 100%;
  margin: 0 0 22px;
  padding: 9px 9px 16px;
  border: 0;
  border-radius: 5px;
  background: #fff;
  color: var(--murekkep);
  box-shadow: 0 12px 26px -10px rgba(59, 34, 48, 0.35);
  cursor: pointer;
  break-inside: avoid;
  text-align: center;
  transform: rotate(var(--egim, 0deg));
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.3s ease;
}
@media (max-width: 640px) {
  .ani-kart {
    margin-bottom: 14px;
    padding: 6px 6px 12px;
  }
}
.ani-kart:hover {
  transform: rotate(0deg) translateY(-5px) scale(1.025);
  box-shadow: 0 20px 36px -12px rgba(59, 34, 48, 0.55);
  z-index: 3;
}
.ani-kart img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  background: #efe3d5;
}
.ani-not {
  display: block;
  margin-top: 10px;
  font-family: var(--el);
  font-size: clamp(17px, 2.5vw, 21px);
  color: var(--murekkep);
  line-height: 1.2;
}

/* Lightbox / Tam Ekran İnceleyici */
.isik-kutusu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 4, 10, 0.92);
  backdrop-filter: blur(10px);
  animation: ik-ac 0.25s ease;
}
@keyframes ik-ac {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ik-icerik {
  max-width: min(90vw, 920px);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ik-icerik img {
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
   object-fit: contain;
  border: 6px solid #fff;
  border-radius: 6px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}
.ik-altyazi {
  margin-top: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#ikMetin {
  font-family: var(--el);
  font-size: clamp(22px, 4vw, 30px);
  color: var(--krem);
}
#ikSayac {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(251, 241, 228, 0.55);
}

.ik-kapat,
.ik-ok {
  position: fixed;
  z-index: 82;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(251, 241, 228, 0.28);
  background: rgba(23, 7, 14, 0.7);
  color: var(--krem);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.ik-kapat:hover,
.ik-ok:hover {
  background: var(--gul);
  transform: scale(1.08);
}
.ik-kapat {
  top: 16px;
  right: 16px;
  font-size: 28px;
  line-height: 1;
}
.ik-ok {
  top: 50%;
  margin-top: -24px;
  font-size: 32px;
  line-height: 1;
}
.ik-onceki { left: 14px; }
.ik-sonraki { right: 14px; }

@media (max-width: 600px) {
  .ik-ok {
    top: auto;
    bottom: 20px;
    margin-top: 0;
  }
  .ik-onceki { left: 26%; }
  .ik-sonraki { right: 26%; }
}
