/* ========================================
   Highlights Section (Carousel)
   ======================================== */
.highlights-section {
  padding-bottom: 5rem;
  background: var(--bg-light);
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 0 auto;
  max-width: 1100px;
  height: 400px;
  box-shadow: var(--shadow-lg);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(300px);
  transition: all 0.5s ease;
}

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

.carousel-slide.prev {
  transform: translateX(-300px);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 6s ease-out forwards;
}

@keyframes kenburns {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: var(--primary-gradient);
  opacity: 0.75;
}

.carousel-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  max-width: 32rem;
}

.carousel-slide.active .carousel-content {
  animation: fadeInUp 0.5s ease 0.2s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.carousel-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-h2);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  white-space: pre-line;
  letter-spacing: -0.02em;
}

.carousel-description {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-body);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 28rem;
}

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  flex-shrink: 0;
}

.carousel-dot.active {
  background: #ffffff;
  width: 24px;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .carousel-content {
    padding: 4rem;
  }
}
