/* ═══════════════════════════════════════════════════════════════
   Hero Slider — assets/css/hero-slider.css
   Full-viewport cross-fade slider with premium arrows & dots
   ═══════════════════════════════════════════════════════════════ */

.hero-slider-container {
  position: relative;
  width: 100%;
  min-height: 92vh;
  overflow: hidden;
  background: var(--color-primary-dark, #0f0f3d);
}

.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 92vh;
}

/* ── Each slide: cross-fade, absolutely stacked ── */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
  min-height: 92vh;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

/* ── Background image/gradient ── */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(8, 8, 30, 0.80) 0%,
    rgba(8, 8, 30, 0.45) 55%,
    rgba(8, 8, 30, 0.10) 100%
  );
}

/* ── Slide content ── */
.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 80px 80px 80px;
  text-align: center;
}

/* ── Eyebrow pill ── */
.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-secondary, #d4a857);
  background: rgba(212, 168, 87, 0.15);
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid rgba(212, 168, 87, 0.4);
  margin-bottom: 22px;
}

/* ── Heading ── */
.hero-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 750px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
  margin-left: auto;
  margin-right: auto;
}

/* ── Subtitle ── */
.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.90);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 40px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  margin-left: auto;
  margin-right: auto;
}

/* ── CTA row ── */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

/* ── Prev / Next arrows ── */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.hero-slider-arrow.prev { left: 24px; }
.hero-slider-arrow.next { right: 24px; }
.hero-slider-arrow:hover {
  background: rgba(212, 168, 87, 0.30);
  border-color: rgba(212, 168, 87, 0.7);
  transform: translateY(-50%) scale(1.10);
}
.hero-slider-arrow svg { width: 20px; height: 20px; }

/* ── Dot indicators ── */
.hero-slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.40);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, width 0.3s ease, border-radius 0.3s;
}
.hero-slider-dot.active {
  background: var(--color-secondary, #d4a857);
  width: 26px;
  border-radius: 4px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-slide-content { padding: 60px 48px; }
}
@media (max-width: 768px) {
  .hero-slider-container,
  .hero-slider-wrapper,
  .hero-slide { min-height: 85vw; }
  .hero-slide-content {
    padding: 32px 24px;
    text-align: center;
    max-width: 100%;
  }
  .hero-title { max-width: 100%; }
  .hero-subtitle { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-slider-arrow { width: 40px; height: 40px; }
  .hero-slider-arrow.prev { left: 10px; }
  .hero-slider-arrow.next { right: 10px; }
  .hero-slider-dots { bottom: 16px; }
}
@media (max-width: 480px) {
  .hero-slider-container,
  .hero-slider-wrapper,
  .hero-slide { min-height: 100vw; }
  .hero-slide-content { padding: 24px 16px; }
  .hero-title { font-size: 1.9rem; }
}
