/* Website: src/app/static/css/partials/big-screen-carousel/structure.css v1.1 */

.partial-big-screen-carousel {
  color: var(--brand-color-container-foreground-light, #f5f7fa);
}

.partial-big-screen-carousel__inner {
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 3rem);
  display: grid;
  gap: 1.5rem;
}

.partial-big-screen-carousel__header {
  display: grid;
  gap: 0.5rem;
  text-align: center;
}

.partial-big-screen-carousel__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--brand-color-primary, #2ed9e7);
  margin: 0;
}

.partial-big-screen-carousel__lead {
  margin: 0;
  font-size: 1.1rem;
  color: var(--brand-color-container-foreground-muted, rgba(245, 247, 250, 0.75));
}

.partial-big-screen-carousel__stage {
  position: relative;
  min-height: 360px;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  perspective: 1200px;
  display: grid;
  align-items: center;
}

.partial-big-screen-carousel__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.partial-big-screen-carousel__slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(72%, 820px);
  height: 100%;
  transform: translateX(-50%) scale(0.8);
  opacity: 0;
  filter: brightness(0.6);
  transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
  will-change: transform, opacity;
  pointer-events: none;
  z-index: 1;
}

.partial-big-screen-carousel__slide.is-active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  filter: brightness(1);
  z-index: 3;
  pointer-events: auto;
}

.partial-big-screen-carousel__slide.is-prev {
  transform: translateX(-140%) scale(0.75) rotateY(10deg);
  opacity: 0.6;
  filter: brightness(0.65);
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}

.partial-big-screen-carousel__slide.is-next {
  transform: translateX(40%) scale(0.75) rotateY(-10deg);
  opacity: 0.6;
  filter: brightness(0.65);
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}

.partial-big-screen-carousel__slide.is-hidden {
  opacity: 0;
  transform: translateX(-50%) scale(0.7);
}

.partial-big-screen-carousel__media {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(7, 10, 13, 0.88) 0%,
    rgba(16, 22, 28, 0.72) 50%,
    rgba(7, 10, 13, 0.88) 100%
  );
  border: 1px solid rgba(46, 217, 231, 0.35);
  box-shadow: 0 24px 60px rgba(8, 13, 20, 0.35);
  display: grid;
  align-items: stretch;
}

.partial-big-screen-carousel__asset {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partial-big-screen-carousel__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem;
  background-color: rgba(7, 10, 13, 0.85);
  background: linear-gradient(
    180deg,
    rgba(7, 10, 13, 0) 0%,
    rgba(7, 10, 13, 0.72) 24%,
    rgba(7, 10, 13, 0.95) 100%
  );
  color: #f5f7fa;
  display: grid;
  gap: 0.4rem;
}

.partial-big-screen-carousel__kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--brand-color-primary, #2ed9e7);
}

.partial-big-screen-carousel__headline {
  margin: 0;
  font-size: 1.6rem;
}

.partial-big-screen-carousel__copy {
  margin: 0;
  color: rgba(245, 247, 250, 0.75);
}

.partial-big-screen-carousel__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.partial-big-screen-carousel__button {
  border: 1px solid rgba(46, 217, 231, 0.6);
  background: transparent;
  color: var(--brand-color-primary, #2ed9e7);
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
}

.partial-big-screen-carousel__dots {
  display: flex;
  gap: 1.5rem;
}

.partial-big-screen-carousel__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(46, 217, 231, 0.6);
  background: transparent;
  cursor: pointer;
}

.partial-big-screen-carousel__dot.is-active {
  background: var(--brand-color-primary, #2ed9e7);
}

@media (max-width: 900px) {
  .partial-big-screen-carousel__slide {
    width: 88%;
  }

  .partial-big-screen-carousel__slide.is-prev {
    transform: translateX(-125%) scale(0.72) rotateY(8deg);
  }

  .partial-big-screen-carousel__slide.is-next {
    transform: translateX(25%) scale(0.72) rotateY(-8deg);
  }
}

@media (max-width: 720px) {
  .partial-big-screen-carousel__inner {
    gap: 1rem;
  }

  .partial-big-screen-carousel__stage {
    min-height: 280px;
    max-height: 60vh;
    margin-left: -30px;
    overflow: hidden;
  }

  .partial-big-screen-carousel__overlay {
    padding: 1.4rem;
    padding-right: 240px;
  }

  .partial-big-screen-carousel {
    overflow-x: clip;
  }

  .partial-big-screen-carousel__dots {
    gap: 2rem;
  }

  .partial-big-screen-carousel__dot {
    width: 20px;
    height: 20px;
  }

  .partial-big-screen-carousel__dot {
    position: relative;
  }

  .partial-big-screen-carousel__dot::after {
    content: "";
    position: absolute;
    inset: -10px;
  }
}
