/**
 * OSA Hero Slider Styles
 * Brand-compliant hero slider for HRD and LRS sites
 */

/* ===== SLIDER CONTAINER ===== */
.osa-hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--osa-navy, #0A1628);
}

.osa-hero-slider .slide {
  display: none;
  width: 100%;
  min-height: 480px;
  position: relative;
  animation: osaFadeIn 0.8s ease-in-out;
}

.osa-hero-slider .slide.active {
  display: flex;
  align-items: center;
}

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

/* ===== SLIDE INNER LAYOUT ===== */
.osa-hero-slider .slide-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  width: 100%;
  gap: 40px;
}

.osa-hero-slider .slide-content {
  flex: 1;
  max-width: 600px;
  z-index: 2;
}

.osa-hero-slider .slide-image {
  flex: 0 0 auto;
  z-index: 2;
  text-align: right;
}

.osa-hero-slider .slide-image img {
  max-height: 400px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}

/* ===== TYPOGRAPHY ===== */
.osa-hero-slider .slide-tagline {
  display: inline-block;
  background: var(--osa-orange, #E65100);
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.osa-hero-slider .slide-headline {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 16px 0;
}

.osa-hero-slider .slide-headline span {
  color: var(--osa-orange, #E65100);
}

.osa-hero-slider .slide-description {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin: 0 0 30px 0;
}

/* ===== CTAs ===== */
.osa-hero-slider .slide-ctas {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.osa-hero-slider .cta-primary {
  display: inline-block;
  background: var(--osa-orange, #E65100);
  color: #ffffff !important;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s ease;
  border: 2px solid var(--osa-orange, #E65100);
}

.osa-hero-slider .cta-primary:hover {
  background: #BF4300;
  border-color: #BF4300;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 81, 0, 0.4);
}

.osa-hero-slider .cta-secondary {
  display: inline-block;
  background: transparent;
  color: #ffffff !important;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.3s ease;
}

.osa-hero-slider .cta-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ===== SLIDER NAVIGATION DOTS ===== */
.osa-hero-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.osa-hero-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.osa-hero-dots .dot.active,
.osa-hero-dots .dot:hover {
  background: var(--osa-orange, #E65100);
  transform: scale(1.2);
}

/* ===== ARROW NAVIGATION ===== */
.osa-hero-slider .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.osa-hero-slider .slider-arrow:hover {
  background: var(--osa-orange, #E65100);
  border-color: var(--osa-orange, #E65100);
}

.osa-hero-slider .slider-arrow.prev { left: 20px; }
.osa-hero-slider .slider-arrow.next { right: 20px; }

/* ===== SLIDE BACKGROUNDS ===== */
.osa-hero-slider .slide-bg-gradient-1 {
  background: linear-gradient(135deg, #0A1628 0%, #0D2844 50%, #1565C0 100%);
}

.osa-hero-slider .slide-bg-gradient-2 {
  background: linear-gradient(135deg, #0A1628 0%, #1a1a3e 50%, #0D2844 100%);
}

.osa-hero-slider .slide-bg-gradient-3 {
  background: linear-gradient(135deg, #0D2844 0%, #0A1628 50%, #1565C0 100%);
}

/* Decorative circles */
.osa-hero-slider .slide::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(21,101,192,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.osa-hero-slider .slide::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(230,81,0,0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

/* ===== TRUST BAR BELOW SLIDER ===== */
.osa-hero-trust-bar {
  background: #0D2137;
  padding: 15px 20px;
  text-align: center;
  border-top: 1px solid rgba(21,101,192,0.3);
}

.osa-hero-trust-bar .trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.osa-hero-trust-bar .trust-item {
  color: rgba(255,255,255,0.8);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.osa-hero-trust-bar .trust-item .icon {
  font-size: 16px;
}

/* ===== LRS-SPECIFIC STYLES ===== */
.osa-hero-slider.lrs-slider .slide-headline {
  font-size: 42px;
}

.osa-hero-slider.lrs-slider .cta-primary {
  background: #2E7D32;
  border-color: #2E7D32;
}

.osa-hero-slider.lrs-slider .cta-primary:hover {
  background: #1B5E20;
  border-color: #1B5E20;
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .osa-hero-slider .slide-inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 25px 60px;
  }

  .osa-hero-slider .slide-content {
    max-width: 100%;
  }

  .osa-hero-slider .slide-image {
    text-align: center;
  }

  .osa-hero-slider .slide-image img {
    max-height: 280px;
  }

  .osa-hero-slider .slide-ctas {
    justify-content: center;
  }

  .osa-hero-slider .slide-headline {
    font-size: 34px;
  }

  .osa-hero-slider .slide-description {
    font-size: 16px;
  }

  .osa-hero-slider .slide {
    min-height: auto;
  }

  .osa-hero-slider .slider-arrow {
    display: none;
  }
}

@media (max-width: 600px) {
  .osa-hero-slider .slide-headline {
    font-size: 28px;
  }

  .osa-hero-slider .slide-tagline {
    font-size: 11px;
  }

  .osa-hero-slider .slide-inner {
    padding: 30px 20px 50px;
  }

  .osa-hero-slider .cta-primary,
  .osa-hero-slider .cta-secondary {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    text-align: center;
  }

  .osa-hero-trust-bar .trust-items {
    gap: 15px;
  }

  .osa-hero-trust-bar .trust-item {
    font-size: 11px;
  }
}
