/* ============================================
   HERO SECTION STYLES
   Premium Video Slider Hero
   ============================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background: var(--black);
}

/* Video Slider Container */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Individual Slides */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1s ease,
    visibility 1s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Video Background */
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  transition: opacity 0.8s ease-out;
}

/* Fallback Image */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlays */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 77, 74, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(10, 77, 74, 0.6) 100%
  );
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 1;
}

/* Animated Pattern Overlay */
.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 50px 50px;
  z-index: 1;
  opacity: 0.5;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 var(--container-padding);
}

.hero-content-inner {
  max-width: 900px;
}

/* Slide Content - Centered with flexbox */
.hero-slide-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 100px var(--container-padding) 80px;
  opacity: 0;
  visibility: hidden;
}

.hero-slide.active .hero-slide-content {
  opacity: 1;
  visibility: visible;
}

/* Hero Typography */
.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-primary);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  margin-bottom: var(--space-lg);
  overflow: hidden;
}

.hero-subtitle span {
  display: inline-block;
}

.hero-subtitle::before,
.hero-subtitle::after {
  content: "";
  width: 50px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  text-shadow:
    3px 3px 6px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  color: #ffffff;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-word {
  display: inline-block;
}

/* Main destination words - Yellow/Gold color */
.hero-title .highlight {
  color: #d4a853 !important;
  -webkit-text-fill-color: #d4a853 !important;
  font-style: italic;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(212, 168, 83, 0.4);
}

/* Grey text for non-highlighted words */
.hero-title-gradient {
  font-size: 3rem;
  color: #a0a0a0 !important;
  -webkit-text-fill-color: #a0a0a0 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-description {
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: #ffffff;
  max-width: 650px;
  margin: 0 auto var(--space-xl);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.01em;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-cta .btn {
  min-width: 180px;
}

/* Play Button */
.hero-play-btn {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid var(--white);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 1.5rem;
  transition: all var(--transition-normal);
  position: relative;
}

.hero-play-btn::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid var(--white);
  border-radius: var(--radius-full);
  animation: pulse-ring 2s infinite;
}

.hero-play-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
  transform: scale(1.1);
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Slider Navigation */
.hero-nav {
  position: absolute;
  bottom: var(--space-3xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

/* Slider Dots */
.hero-dots {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero-dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.hero-dot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scale(0);
  border-radius: var(--radius-full);
  transition: transform var(--transition-normal);
}

.hero-dot.active {
  width: 40px;
  border-radius: var(--radius-pill);
}

.hero-dot.active::before {
  transform: scale(1);
}

.hero-dot:hover:not(.active)::before {
  transform: scale(0.5);
}

/* Slider Arrows */
.hero-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  pointer-events: none;
}

.hero-arrow {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 1.25rem;
  transition: all var(--transition-normal);
  pointer-events: all;
}

.hero-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
  transform: scale(1.1);
}

.hero-arrow-prev {
  transform: translateX(-10px);
}

.hero-arrow-next {
  transform: translateX(10px);
}

.hero-arrow-prev:hover {
  transform: translateX(0) scale(1.1);
}

.hero-arrow-next:hover {
  transform: translateX(0) scale(1.1);
}

/* Progress Bar */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.hero-progress-bar {
  width: 0%;
  height: 100%;
  background: var(--accent-gradient);
  transition: width 0.1s linear;
}

/* Slide Counter */
.hero-counter {
  position: absolute;
  bottom: var(--space-3xl);
  right: var(--space-2xl);
  z-index: 10;
  display: flex;
  align-items: baseline;
  gap: var(--space-xs);
  font-family: var(--font-display);
  color: var(--white);
}

.hero-counter-current {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--accent);
}

.hero-counter-separator {
  font-size: var(--fs-h4);
  opacity: 0.5;
}

.hero-counter-total {
  font-size: var(--fs-h4);
  opacity: 0.5;
}

/* Location Tag */
.hero-location {
  position: absolute;
  bottom: var(--space-3xl);
  left: var(--space-2xl);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--white);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
}

.hero-location-icon {
  color: var(--accent);
}

/* Scroll Indicator in Hero */
.hero-scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* Responsive Hero */
@media (max-width: 1024px) {
  .hero-arrows {
    display: none;
  }

  .hero-counter,
  .hero-location {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
  }
}

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

  .hero-slide-content {
    padding: 90px var(--container-padding) 100px;
  }

  .hero-subtitle::before,
  .hero-subtitle::after {
    width: 30px;
  }

  .hero-description {
    font-size: var(--fs-small);
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-nav {
    bottom: var(--space-2xl);
  }

  .hero-play-btn {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: var(--fs-tiny);
  }
}
