/* ── Tour Gallery — minimalist, built from scratch ── */

.gc-wrap {
  margin-top: 20px;
  width: 100%;
}

/* ── Main stage ── */
.gc-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #d6d6d6;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
}

.gc-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Video overlay ── */
.gc-video-hint {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.20);
  pointer-events: none;
}
.gc-video-hint.is-visible {
  display: flex;
}
.gc-video-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gc-video-icon svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

/* ── Arrow buttons ── */
.gc-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.12s;
  z-index: 2;
  padding: 0;
}
.gc-btn:hover {
  background: #fff;
}
.gc-btn svg {
  width: 15px;
  height: 15px;
  stroke: #f9771c;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gc-prev { left: 10px; }
.gc-next { right: 10px; }

/* ── Slide counter ── */
.gc-counter {
  position: absolute;
  bottom: 9px;
  right: 11px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: #fff;
  background: rgba(0, 0, 0, 0.36);
  border-radius: 999px;
  padding: 2px 8px;
  pointer-events: none;
  letter-spacing: 0.04em;
}

/* ── Thumbnail strip ── */
.gc-thumbs {
  display: flex;
  gap: 5px;
  margin-top: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 1px;
}
.gc-thumbs::-webkit-scrollbar {
  display: none;
}
.gc-thumb {
  flex-shrink: 0;
  width: 88px;
  height: 56px;
  object-fit: cover;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.12s, opacity 0.12s;
  opacity: 0.62;
  background: #ccc;
  display: block;
  box-sizing: border-box;
}
.gc-thumb.is-active,
.gc-thumb:hover {
  border-color: #f9771c;
  opacity: 1;
}

/* ── Lightbox ── */
.gc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 8, 0.91);
}
.gc-lightbox.is-open {
  display: flex;
  animation: gc-lb-in 0.16s ease;
}
@keyframes gc-lb-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.gc-lb-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: none;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.12s;
  z-index: 2;
  padding: 0;
}
.gc-lb-close:hover {
  background: rgba(255, 255, 255, 0.18);
}
.gc-lb-close svg {
  width: 15px;
  height: 15px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.gc-lb-media {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 88vh;
}
.gc-lb-img {
  display: block;
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 4px;
  object-fit: contain;
}
.gc-lb-video {
  display: none;
  width: 90vw;
  height: 50.625vw;
  max-height: 84vh;
  border: 0;
  border-radius: 4px;
  background: #000;
}

.gc-lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.12s;
  z-index: 2;
  padding: 0;
}
.gc-lb-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}
.gc-lb-btn svg {
  width: 17px;
  height: 17px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gc-lb-prev { left: 14px; }
.gc-lb-next { right: 14px; }

/* ── Mobile ── */
@media (max-width: 600px) {
  .gc-thumb  { width: 60px; height: 38px; }
  .gc-btn    { width: 26px; height: 26px; }
  .gc-btn svg { width: 13px; height: 13px; }
  .gc-lb-btn { width: 30px; height: 30px; }
  .gc-lb-btn svg { width: 14px; height: 14px; }
}
