/* VSP Slider – Villa Small Paradise brand styling
   Green #4A7019 · Navy #252A51 · Gold #C9A96A · Ivory #F7F5EF */

.vsp-slider {
  position: relative;
  width: 100%;
  height: var(--vsp-sl-h, 60vh);
  overflow: hidden;
  background: #252A51;
  outline: none;
}
@media (max-width: 767px) {
  .vsp-slider { height: min(var(--vsp-sl-h, 60vh), 46vh); }
}

.vsp-sl-track,
.vsp-sl-slide {
  position: absolute;
  inset: 0;
}

/* Crossfade */
.vsp-sl-slide {
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}
.vsp-sl-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.vsp-sl-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Subtle Ken Burns drift on the active slide */
@media (prefers-reduced-motion: no-preference) {
  .vsp-sl-slide img { transform: scale(1); }
  .vsp-sl-slide.is-active img {
    animation: vsp-kb 7s ease forwards;
  }
  @keyframes vsp-kb {
    from { transform: scale(1); }
    to   { transform: scale(1.06); }
  }
}

/* Caption – bottom left, elegant serif */
.vsp-sl-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 60px 40px 26px;
  color: #F7F5EF;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 24px;
  background: linear-gradient(to top, rgba(37, 42, 81, .65), transparent);
}

/* Arrows */
.vsp-sl-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(247, 245, 239, .55);
  background: rgba(37, 42, 81, .35);
  color: #F7F5EF;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: all .3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vsp-sl-prev { left: 22px; }
.vsp-sl-next { right: 22px; }
.vsp-sl-arrow:hover,
.vsp-sl-arrow:focus-visible {
  background: #C9A96A;
  border-color: #C9A96A;
  color: #252A51;
}
@media (max-width: 767px) {
  .vsp-sl-arrow { width: 38px; height: 38px; }
  .vsp-sl-prev { left: 10px; }
  .vsp-sl-next { right: 10px; }
}

/* Dots */
.vsp-sl-dots {
  position: absolute;
  left: 0; right: 0; bottom: 16px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.vsp-sl-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #F7F5EF;
  background: transparent;
  cursor: pointer;
  transition: all .3s ease;
}
.vsp-sl-dot.is-active,
.vsp-sl-dot:hover {
  background: #C9A96A;
  border-color: #C9A96A;
}

@media (prefers-reduced-motion: reduce) {
  .vsp-sl-slide { transition-duration: .01ms; }
}
