/* Highlights Slider Styles */

.highlights-section {
  background-color: #f8fafc;
}

.dark .highlights-section {
  background-color: #0f172a;
}

/* Hero-style Highlights */
.highlights-hero-section {
  position: relative;
  width: 100%;
  min-height: 85vh;
  overflow: hidden;
}

.highlights-background-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.highlight-bg-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center top;
}

.highlights-content {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-text {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.highlight-text a {
  color: inherit;
  text-decoration: underline;
}

.highlight-text a:hover {
  text-decoration: none;
}

/* Traditional slider (for reference) */
.highlights-slider {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.highlights-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.highlight-slide-traditional {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .highlight-slide-traditional {
    flex: 0 0 50%;
  }
}

@media (min-width: 1024px) {
  .highlight-slide-traditional {
    flex: 0 0 33.333%;
  }
}

.highlight-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.dark .highlight-card {
  background: #1e293b;
}

.highlight-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.highlight-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.highlight-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1e293b;
}

.dark .highlight-title {
  color: #f1f5f9;
}

.highlight-description {
  color: #64748b;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.dark .highlight-description {
  color: #94a3b8;
}

.highlight-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  z-index: 10;
  transition: all 0.2s ease;
}

.dark .highlight-nav-btn {
  background: #334155;
}

.highlight-nav-btn:hover {
  transform: translateY(-50%) scale(1.1);
  background: #f1f5f9;
}

.dark .highlight-nav-btn:hover {
  background: #475569;
}

.highlight-prev {
  left: 1rem;
}

.highlight-next {
  right: 1rem;
}

.highlight-dots {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 0.5rem;
}

.highlight-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dark .highlight-dot {
  background: #475569;
}

.highlight-dot.active {
  background: #0ea5e9;
  transform: scale(1.2);
}

.highlight-dot:hover {
  background: #94a3b8;
}

.dark .highlight-dot:hover {
  background: #64748b;
}