/* ==========================================================================
   hero.css - Hero Banner Styles (Static)
   ========================================================================== */

/* ------------------------------------------------------------------
   Hero Banner Container
   ------------------------------------------------------------------ */
.hero-banner {
  width: 100%;
  min-height: 700px;
  position: relative;
  margin-top: 120px; /* Space for fixed header (80px main + 40px top bar) */
  overflow: hidden;
}

/* ------------------------------------------------------------------
   Video Background
   ------------------------------------------------------------------ */
.hero-banner__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-banner__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner__video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

/* ------------------------------------------------------------------
   Hero Slide (Static)
   ------------------------------------------------------------------ */
.hero-slide {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark overlay for text readability - disabled */
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

/* Content wrapper inside each slide */
.hero-slide__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-content);
  margin: 0 auto;
  padding: var(--space-16) var(--container-padding);
  color: var(--color-white);
}

/* ------------------------------------------------------------------
   Hero Title
   ------------------------------------------------------------------ */
.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero__title span {
  color: var(--color-accent);
}

/* ------------------------------------------------------------------
   Hero Subtitle
   ------------------------------------------------------------------ */
.hero__subtitle {
  font-size: var(--text-xl);
  font-weight: var(--font-light);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  max-width: 650px;
}

/* ------------------------------------------------------------------
   Hero Buttons
   ------------------------------------------------------------------ */
.hero__buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero__buttons .btn {
  min-width: 180px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.hero__buttons .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.hero__buttons .btn:hover::before {
  left: 100%;
}

.hero__buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* ------------------------------------------------------------------
   Hero Badge (cert icon overlay)
   ------------------------------------------------------------------ */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-2) var(--space-4);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: var(--space-6);
}

.hero__badge i {
  color: var(--color-accent);
  font-size: var(--text-lg);
}

/* ------------------------------------------------------------------
   Slide Content Entrance Animations (Static)
   ------------------------------------------------------------------ */
.hero-slide .hero__badge {
  animation: fadeSlideUp 0.6s ease-out 0.1s forwards;
}

.hero-slide .hero__title {
  animation: fadeSlideUp 0.6s ease-out 0.3s forwards;
}

.hero-slide .hero__subtitle {
  animation: fadeSlideUp 0.6s ease-out 0.5s forwards;
}

.hero-slide .hero__buttons {
  animation: fadeSlideUp 0.6s ease-out 0.7s forwards;
}

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

/* ------------------------------------------------------------------
   Responsive: Tablet (768px - 1024px)
   ------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero-banner,
  .hero-slide {
    min-height: 600px;
  }

  .hero-banner {
    margin-top: 100px;
  }

  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__subtitle {
    font-size: var(--text-lg);
  }

  .hero-swiper__prev {
    left: var(--space-4);
  }

  .hero-swiper__next {
    right: var(--space-4);
  }
}

/* ------------------------------------------------------------------
   Responsive: Mobile (<768px)
   ------------------------------------------------------------------ */
@media (max-width: 767px) {
  .hero-banner,
  .hero-slide {
    min-height: 500px;
  }

  .hero-banner {
    margin-top: 60px;
  }

  .hero__title {
    font-size: var(--text-3xl);
  }

  .hero__subtitle {
    font-size: var(--text-base);
    margin-bottom: var(--space-6);
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .hero__badge {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-3);
  }
}

/* ------------------------------------------------------------------
   Responsive: Small Mobile (<480px)
   ------------------------------------------------------------------ */
@media (max-width: 479px) {
  .hero-banner,
  .hero-slide {
    min-height: 450px;
  }

  .hero-banner {
    margin-top: 60px;
  }

  .hero__title {
    font-size: var(--text-2xl);
  }

  .hero__subtitle {
    font-size: var(--text-sm);
  }
}
