/* ================================================
   TALENTYAH — HERO CAROUSEL
   ================================================ */

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #0a0a0a;
}

/* ---------- SLIDES ---------- */
.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Slide media layer */
.carousel-slide-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide.active .carousel-slide-media {
  transform: scale(1);
}

/* Overlay gradient */
.carousel-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.25) 100%
  );
}

/* ---------- SLIDE CONTENT ---------- */
.carousel-slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 6vw;
  padding-top: 100px;
}

.carousel-slide-inner {
  max-width: 680px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease 0.4s, transform 0.9s ease 0.4s;
}

.carousel-slide.active .carousel-slide-inner {
  opacity: 1;
  transform: translateY(0);
}

.carousel-slide-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.carousel-slide-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--gold, #c9a84c);
  display: block;
  flex-shrink: 0;
}

.carousel-slide-eyebrow-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold, #c9a84c);
}

.carousel-slide-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 20px 0;
}

.carousel-slide-title em {
  font-style: italic;
  color: var(--gold-light, #dfc27d);
}

.carousel-slide-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 32px 0;
  max-width: 520px;
}

.carousel-slide-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- NAVIGATION ARROWS ---------- */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  color: #fff;
}

.carousel-arrow:hover {
  border-color: var(--gold, #c9a84c);
  background: rgba(201, 168, 76, 0.12);
  transform: translateY(-50%) scale(1.06);
}

.carousel-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-arrow-prev { left: 28px; }
.carousel-arrow-next { right: 28px; }

/* ---------- DOTS NAVIGATION ---------- */
.carousel-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, width 0.3s;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background: var(--gold, #c9a84c);
  width: 24px;
  border-radius: 3px;
}

/* ---------- PROGRESS BAR ---------- */
.carousel-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold, #c9a84c);
  opacity: 0.7;
  width: 0%;
  transition: width linear;
  z-index: 10;
}

/* ---------- SLIDE COUNTER ---------- */
.carousel-counter {
  position: absolute;
  bottom: 30px;
  right: 40px;
  z-index: 10;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.12em;
}

.carousel-counter-current {
  color: var(--gold, #c9a84c);
  font-size: 15px;
  font-weight: 600;
}

/* ---------- THUMBNAIL STRIP (optionnel) ---------- */
.carousel-thumbs {
  position: absolute;
  bottom: 20px;
  right: 100px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.carousel-thumb {
  width: 56px;
  height: 36px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.25s, outline 0.25s;
  outline: 2px solid transparent;
  outline-offset: 2px;
  flex-shrink: 0;
}

.carousel-thumb.active {
  opacity: 1;
  outline-color: var(--gold, #c9a84c);
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .carousel-slide-content {
    padding: 0 24px;
    padding-top: 90px;
    align-items: flex-end;
    padding-bottom: 100px;
  }

  .carousel-slide-inner {
    max-width: 100%;
  }

  .carousel-slide-title {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
  }

  .carousel-arrow-prev { left: 14px; }
  .carousel-arrow-next { right: 14px; }

  .carousel-thumbs { display: none; }
  .carousel-counter { right: 20px; }
}