/* ════════════════════════════════════════════════════════════════════════════
   1. BASE SLIDER STYLES
   ════════════════════════════════════════════════════════════════════════════ */

.image-slider,
.swiper {
  width: 100%;
  height: 100%;
  position: relative;
}

.swiper-wrapper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

/* ── Prev / Next nav — bottom right corner ───────────────────────────────── */
.image-slider__nav {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.image-slider__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--gold, #a8892a);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, opacity 0.25s ease;
  flex-shrink: 0;
}

.image-slider__btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
}

.image-slider__btn:hover {
  background: var(--gold-dark, #7a6420);
}

.image-slider__btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* Disabled state — Swiper adds .swiper-button-disabled */
.image-slider__btn.swiper-button-disabled {
  background: rgba(168, 137, 42, 0.35);
  color: rgba(255, 255, 255, 0.4);
  cursor: not-allowed;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .image-slider__btn {
    transition: none;
  }
}

/* ── Reduced motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .swiper-slide img {
    transition: none;
  }
  .image-slider__btn {
    transition: none;
  }
}

/* ════════════════════════════════════════════════════════════════════════════
   2. SPACE SECTION
   ════════════════════════════════════════════════════════════════════════════ */

.space-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.space-slider-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.space-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.space-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--padding-x);
}

.space-top {
  max-width: 48rem;
}

.space-eyebrow {
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.2vw, 20px);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

.space-heading {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.space-bottom {
  display: flex;
  justify-content: flex-end;
}

.space-bottom-inner {
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.space-body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
  color: #ffffff;
  opacity: 0.8;
  margin: 0;
}

.space-nav {
  display: flex;
  gap: 0.75rem;
}

.space-nav__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.space-nav__btn:hover {
  background: #ffffff;
  color: var(--primary);
}

.space-nav__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .space-content {
    padding: 100px var(--padding-x) 60px;
  }
  .space-top {
    max-width: 100%;
    text-align: center;
  }
  .space-eyebrow {
    text-align: center;
  }
  .space-heading {
    font-size: clamp(1.8rem, 6vw, 2rem);
  }
  .space-bottom {
    justify-content: center;
  }
  .space-bottom-inner {
    align-items: center;
    text-align: center;
  }
  .space-nav {
    justify-content: center;
  }

  .image-slider__nav {
    bottom: 1rem;
    right: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .space-nav__btn {
    transition: none;
  }
}