/**
 * Villa Taradis — GLightbox chrome overrides
 *
 * Default GLightbox paints the title/description in a semi-white block that
 * clashes with our photos (especially the landing-page villa gallery).
 * This file retunes the caption, close button, arrows, and counter to match
 * the editorial dark aesthetic.
 */

/* --- Backdrop: deeper, warmer, cinematic ---------------------------- */
.goverlay {
  background: rgba(18, 14, 10, 0.92) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* --- Slide description (the white caption strip) -------------------- */
.gslide-description.gdesc-inner {
  padding: 18px 24px 22px !important;
}

.gslide-description {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Floating glass caption instead of hard white bar */
.gslide-media + .gslide-description,
.gslide-description.description-bottom,
.gslide-description.description-left,
.gslide-description.description-right {
  background: linear-gradient(to top, rgba(18, 14, 10, 0.85), rgba(18, 14, 10, 0)) !important;
  color: #F3EADE !important;
  margin-top: -90px !important;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* Title inside the caption */
.gslide-title {
  color: #F3EADE !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  margin: 0 0 4px 0 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.gslide-desc {
  color: rgba(243, 234, 222, 0.85) !important;
  font-family: "Raleway", -apple-system, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* If you prefer no caption at all (user said the white band is distracting),
 * uncomment the next block to hide captions entirely:
 *
 * .gslide-description { display: none !important; }
 */

/* --- Navigation arrows --------------------------------------------- */
.gnext,
.gprev {
  background-color: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 999px !important;
  width: 48px !important;
  height: 48px !important;
  transition: background-color 0.2s ease, transform 0.2s ease !important;
}

.gnext:hover,
.gprev:hover {
  background-color: rgba(199, 119, 77, 0.35) !important;
  border-color: rgba(199, 119, 77, 0.6) !important;
  transform: scale(1.05) !important;
}

.gnext svg,
.gprev svg {
  fill: #F3EADE !important;
  width: 18px !important;
  height: 18px !important;
}

/* --- Close button -------------------------------------------------- */
.gclose {
  background-color: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 999px !important;
  width: 44px !important;
  height: 44px !important;
  top: 24px !important;
  right: 24px !important;
  transition: background-color 0.2s ease, transform 0.2s ease !important;
  opacity: 1 !important;
}

.gclose:hover {
  background-color: rgba(199, 119, 77, 0.4) !important;
  border-color: rgba(199, 119, 77, 0.6) !important;
  transform: rotate(90deg) !important;
}

.gclose svg {
  fill: #F3EADE !important;
  width: 18px !important;
  height: 18px !important;
}

/* --- Counter (e.g. "3 / 10") --------------------------------------- */
.gslide-media .gslide-image img {
  border-radius: 8px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

/* Loading spinner color */
.gloader {
  border-top-color: #C7774D !important;
}
