/**
 * Hero Slideshow Styles
 * Khaas Tech N Games
 */

.hero-slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0e0e0e;
}

.hero-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide {
  position: relative;
  min-width: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 520px;
}

@media (min-width: 1200px) {
  .hero-slide {
    min-height: 600px;
  }
}

.hero-media-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-media-wrapper picture,
.hero-media-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Gradient Overlay to ensure high text contrast */
.hero-media-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 2;
}

/* Hero Content Overlay */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  color: #ffffff;
  padding-top: 4.0rem;
  padding-bottom: 4.0rem;
}

.hero-tag {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-lime);
  margin-bottom: 1.2rem;
}

.hero-title {
  color: #ffffff;
  margin-bottom: 1.6rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1.5rem, 1.8vw, 1.8rem);
  font-weight: var(--font-weight-normal);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.8rem;
  line-height: 1.5;
}

.hero-cta {
  display: inline-flex;
}

/* Slider Controls (Circular Arrows) */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--heading-color);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.hero-arrow:hover {
  background-color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.hero-arrow-prev {
  left: 24px;
}

.hero-arrow-next {
  right: 24px;
}

/* Slider Dots */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.0rem;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-dot.is-active {
  background-color: var(--accent-lime);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .hero-slide {
    min-height: 480px;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
    padding: 2.4rem 1.6rem;
  }
  
  .hero-media-wrapper::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.75) 100%);
  }
  
  .hero-arrow {
    display: none;
  }
}
