/* ===== Daire sayfası fotoğraf galerisi ===== */
.gallery { margin-top: 36px; }

.gallery-main-wrap {
  position: relative;
  background: transparent;
  overflow: hidden;
}
.gallery-main { height: min(82vh, 780px); }
.gallery-main .swiper-slide {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}
/* Paspartu çerçeve: beyaz pay + ince altın çizgi */
.gallery-main .swiper-slide img {
  flex: 1;
  min-height: 0;
  height: 100%;
  width: auto;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  box-sizing: border-box;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(201,169,110,0.6);
  box-shadow: 0 14px 34px rgba(13,13,26,0.12);
}
.gallery-caption {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 14px 20px 16px;
  text-align: center;
  color: var(--anthracite, #2b2b3a);
  font-size: 0.92rem;
  background: transparent;
}

.gallery-arrow {
  position: absolute;
  top: calc(50% - 24px);
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.9);
  color: var(--dark-bg);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: background .2s, opacity .2s;
}
.gallery-arrow:hover { background: var(--gold); }
.gallery-arrow.swiper-button-disabled { opacity: .3; cursor: default; }
.gallery-prev { left: 6px; }
.gallery-next { right: 6px; }

.gallery-counter,
.gallery-expand {
  position: absolute;
  top: 14px;
  z-index: 5;
  background: rgba(13,13,26,0.7);
  color: var(--white);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 2px;
  border: 0;
}
.gallery-counter { left: 14px; }
.gallery-expand { right: 14px; cursor: pointer; }
.gallery-expand:hover { background: var(--gold); color: var(--dark-bg); }
.gallery-close { display: none; }

.gallery-thumbs { margin-top: 10px; }
.gallery-thumbs .swiper-slide {
  width: 96px;
  height: 72px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: .5;
  border: 2px solid transparent;
  transition: opacity .2s, border-color .2s;
}
.gallery-thumbs .swiper-slide:hover { opacity: .85; }
.gallery-thumbs .swiper-slide-thumb-active { opacity: 1; border-color: var(--gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Tam ekran */
.gallery.is-full .gallery-main-wrap {
  background: #faf8f4;
  position: fixed;
  inset: 0;
  z-index: 2000;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}
.gallery.is-full .gallery-main { height: 100%; flex: 1; width: 100%; min-width: 0; min-height: 0; }
.gallery.is-full .gallery-main .swiper-slide { cursor: default; }
.gallery.is-full .gallery-expand { display: none; }
.gallery.is-full .gallery-close {
  display: block;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  cursor: pointer;
}
body.gallery-open { overflow: hidden; }

@media (max-width: 768px) {
  .gallery-main { height: 66vh; }
  .gallery-main .swiper-slide img { padding: 8px; }
  .gallery-arrow { display: none; }
  .gallery-caption { font-size: 0.88rem; padding: 12px 14px 14px; }
  .gallery-thumbs .swiper-slide { width: 72px; height: 56px; }
  .gallery.is-full .gallery-arrow { display: none; }
}
