/* =========================================================
   Geo Hero Slider — Elementor Widget Stylesheet
   Matches the Santorini-style full-screen slider UI
   ========================================================= */

/* ── Wrapper / host ─────────────────────────────────────── */
.geo-hero-slider {
  position: relative;
  width: 100%;
  height: 100%;            /* fills whatever Elementor or cover-parent JS gives us */
  min-height: 200px;       /* safety floor */
  overflow: hidden;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
}

/* "Cover parent" mode — JS sets exact px height; CSS just ensures no overflow */
.geo-hero-slider[data-cover-parent="true"] {
  width: 100%;
  /* height is set in JS via _matchParentHeight() */
}

/* Remove default top/bottom margin Elementor adds to widget wrappers */
.elementor-widget-geo_hero_slider:has(.geo-hero-slider[data-cover-parent="true"]) {
  margin-block: 0 !important;
  padding-block: 0 !important;
}

/* ── Slide track ─────────────────────────────────────────── */
.geo-hs__track {
  position: absolute;
  inset: 0;
}

/* ── Individual slide ────────────────────────────────────── */
.geo-hs__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  opacity: 0;
  transform: scale(1.04);
  transition: opacity var(--ghs-transition, 800ms) ease,
              transform var(--ghs-transition, 800ms) ease;
  will-change: opacity, transform;
}

.geo-hs__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.geo-hs__slide.is-prev {
  opacity: 0;
  transform: scale(0.97);
  z-index: 0;
}

/* ── Dark overlay ────────────────────────────────────────── */
.geo-hs__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.20);  /* overridden by Elementor colour control */
  pointer-events: none;
}

/* ── Bottom bar ──────────────────────────────────────────── */
.geo-hs__bar {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;          /* children opt back in */
}

/* ── Left controls (arrows + dots) ──────────────────────── */
.geo-hs__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

/* Arrow buttons */
.geo-hs__nav-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 44px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	outline: none;
	background: rgba(255, 255, 255, 0.90);   /* overridden by Elementor control */
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 2px 10px rgba(0,0,0,0.18);

	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.geo-hs__nav-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.07);
  box-shadow: 0 4px 16px rgba(0,0,0,0.24);
}

.geo-hs__nav-btn:active {
  transform: scale(0.95);
}

.geo-hs__nav-btn svg {
  display: block;
  flex-shrink: 0;
}

/* Dot indicators */
.geo-hs__dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.geo-hs__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
}

.geo-hs__dot.is-active {
  background: #e05c24;      /* overridden by Elementor control */
  width: 22px;
  border-radius: 4px;
  transform: none;
}

.geo-hs__dot:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.15);
}

/* ── Right badge ─────────────────────────────────────────── */
.geo-hs__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 100px;

  background: rgba(255, 255, 255, 0.92);   /* overridden by Elementor control */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);

  color: #1a1a1a;                          /* overridden by Elementor control */
  pointer-events: auto;

  /* Text change animation */
  transition: opacity 0.35s ease;
}

.geo-hs__badge.is-changing {
  opacity: 0;
}

.geo-hs__badge-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: #1CBFD5;
}

.geo-hs__badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.geo-hs__badge-title {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.geo-hs__badge-sub {
  font-size: 11px;
  opacity: 0.65;
  font-weight: 400;
  white-space: nowrap;
}

/* ── Responsive tweaks ───────────────────────────────────── */
@media (max-width: 640px) {
  .geo-hs__bar {
    bottom: 18px;
    left: 18px;
    right: 18px;
  }

  .geo-hs__nav-btn {
    width: 34px;
    height: 34px;
  }

  .geo-hs__badge {
    padding: 7px 12px;
  }

  .geo-hs__badge-title {
    font-size: 12px;
  }
}
