/* ==========================================================
   Aori Hero Slider v2.1 — Full-width Image + Gradient Slider
   ========================================================== */

.aori-hero {
  --aori-pink: #FE76A8;
  --aori-pink-dark: #B03D6D;
  --aori-radius-pill: 999px;

  position: relative;
  width: 100%;
  overflow: hidden;
  background: #111;
  font-family: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.aori-hero *,
.aori-hero *::before,
.aori-hero *::after {
  box-sizing: border-box;
}

/* ---------- TRACK & SLIDES ---------- */
.aori-hero__track {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 700;
}

.aori-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.8s;
  z-index: 0;
}

.aori-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* ---------- IMAGE ---------- */
.aori-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Ken Burns effect on active slide (image only) */
.aori-hero__slide.is-active .aori-hero__img {
  animation: aori-ken-burns 8s ease-in-out forwards;
}

@keyframes aori-ken-burns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.04); }
}

/* ---------- GRADIENT BACKGROUND ---------- */
.aori-hero__bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ---------- TEXT OVERLAY ---------- */
.aori-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 clamp(40px, 6vw, 120px);
  /* subtle gradient for readability */
  background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
  z-index: 2;
}

/* No scrim variant for gradient slides (gradient IS the background) */
.aori-hero__overlay--no-scrim {
  background: none;
  justify-content: center;
}

.aori-hero__content {
  max-width: 600px;
}

/* Text alignment variants */
.aori-hero__content--left {
  text-align: left;
}

.aori-hero__content--center {
  text-align: center;
  margin: 0 auto;
}

.aori-hero__content--right {
  text-align: right;
  margin-left: auto;
}

.aori-hero__title {
  font-family: inherit;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 14px;
  color: inherit;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.aori-hero__subtitle {
  font-size: clamp(14px, 1.3vw, 20px);
  font-weight: 400;
  line-height: 1.55;
  margin: 0 0 28px;
  color: inherit;
  opacity: 0.92;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
  max-width: 50ch;
}

/* Staggered entrance */
.aori-hero__slide .aori-hero__content > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.aori-hero__slide.is-active .aori-hero__content > * {
  opacity: 1;
  transform: translateY(0);
}

.aori-hero__slide.is-active .aori-hero__content > *:nth-child(1) { transition-delay: 0.15s; }
.aori-hero__slide.is-active .aori-hero__content > *:nth-child(2) { transition-delay: 0.3s; }
.aori-hero__slide.is-active .aori-hero__content > *:nth-child(3) { transition-delay: 0.45s; }

/* ---------- CTA BUTTON ---------- */
.aori-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: var(--aori-pink);
  color: #fff !important;
  border: none;
  border-radius: var(--aori-radius-pill);
  font-family: inherit;
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, background 0.35s ease;
  box-shadow: 0 14px 30px -10px rgba(254, 118, 168, 0.5);
}

.aori-hero__cta::after {
  content: '\2192';
  font-size: 16px;
  transition: transform 0.3s ease;
}

.aori-hero__cta:hover,
.aori-hero__cta:focus-visible {
  transform: translateY(-3px);
  background: var(--aori-pink-dark);
  box-shadow: 0 20px 40px -10px rgba(176, 61, 109, 0.55);
  outline: none;
}

.aori-hero__cta:hover::after {
  transform: translateX(4px);
}

/* ---------- ARROWS ---------- */
.aori-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 26px;
  color: #fff;
  line-height: 1;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.aori-hero__arrow:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.aori-hero__arrow--prev { left: clamp(12px, 2vw, 32px); }
.aori-hero__arrow--next { right: clamp(12px, 2vw, 32px); }

/* ---------- DOTS ---------- */
.aori-hero__dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.aori-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, width 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-radius 0.3s;
}

.aori-hero__dot:hover {
  background: rgba(255,255,255,0.7);
}

.aori-hero__dot.is-active {
  width: 32px;
  border-radius: 5px;
  background: var(--aori-pink);
}

/* ---------- PROGRESS BAR ---------- */
.aori-hero__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.1);
  z-index: 5;
}

.aori-hero__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--aori-pink);
  transition: width 0.1s linear;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .aori-hero__track {
    aspect-ratio: 16 / 8;
  }
}

@media (max-width: 768px) {
  .aori-hero__track {
    aspect-ratio: 16 / 10;
  }

  .aori-hero__overlay {
    align-items: flex-end;
    justify-content: center;
    padding: 0 24px 48px;
    background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  }

  .aori-hero__content {
    text-align: center;
    max-width: 100%;
  }

  .aori-hero__cta {
    margin: 0 auto;
  }

  /* Keep gradient slides centered on mobile */
  .aori-hero__overlay--no-scrim {
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    background: none;
  }

  .aori-hero__arrow {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .aori-hero__dots {
    bottom: 14px;
    gap: 8px;
  }

  .aori-hero__dot {
    width: 8px;
    height: 8px;
  }

  .aori-hero__dot.is-active {
    width: 24px;
  }
}

@media (max-width: 480px) {
  .aori-hero__track {
    aspect-ratio: 4 / 3;
  }

  .aori-hero__overlay {
    padding: 0 18px 40px;
  }

  .aori-hero__title {
    font-size: clamp(20px, 6vw, 28px);
    margin-bottom: 8px;
  }

  .aori-hero__subtitle {
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.4;
  }

  .aori-hero__cta {
    padding: 12px 24px;
    font-size: 11px;
  }

  .aori-hero__arrow {
    display: none;
  }

  .aori-hero__dots {
    bottom: 10px;
  }
}

/* ---------- MOTION PREFERENCES ---------- */
@media (prefers-reduced-motion: reduce) {
  .aori-hero *,
  .aori-hero *::before,
  .aori-hero *::after {
    animation: none !important;
    transition: none !important;
  }
}
