/**
 * T20 NPL Lightweight Hero Slider CSS
 * Replaces heavy Revolution Slider with high-performance, mobile-optimized hero slider
 */

.npl-hero-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #0b1120;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
}

.npl-hero-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.npl-hero-slide {
  position: relative;
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 380px;
  max-height: 640px;
  height: 56vw;
}

@media (min-width: 768px) {
  .npl-hero-slide {
    min-height: 480px;
    max-height: 640px;
    height: 42vw;
  }
}

@media (min-width: 1200px) {
  .npl-hero-slide {
    min-height: 540px;
    max-height: 680px;
    height: 36vw;
  }
}

/* Background Image Layer */
.npl-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* Gradient Overlay for Readability */
.npl-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.72) 65%, rgba(15, 23, 42, 0.92) 100%);
  z-index: 2;
}

/* Content Container */
.npl-slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1140px;
  padding: 30px 20px 40px;
  text-align: center;
  box-sizing: border-box;
  color: #ffffff;
}

@media (min-width: 768px) {
  .npl-slide-content {
    padding: 40px 40px 50px;
  }
}

/* Badge / Eyebrow */
.npl-slide-badge {
  display: inline-block;
  background: rgba(225, 7, 7, 0.95);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(225, 7, 7, 0.35);
}

@media (min-width: 640px) {
  .npl-slide-badge {
    font-size: 13px;
    padding: 7px 18px;
    margin-bottom: 16px;
  }
}

/* Title */
.npl-slide-title {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

@media (min-width: 640px) {
  .npl-slide-title {
    font-size: 36px;
    margin-bottom: 14px;
  }
}

@media (min-width: 1024px) {
  .npl-slide-title {
    font-size: 46px;
    line-height: 1.15;
  }
}

/* Subtitle / Description */
.npl-slide-desc {
  font-size: 13.5px;
  line-height: 1.45;
  color: #f1f5f9;
  max-width: 700px;
  margin: 0 auto 18px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
  font-weight: 500;
}

@media (min-width: 640px) {
  .npl-slide-desc {
    font-size: 16px;
    margin-bottom: 24px;
  }
}

@media (min-width: 1024px) {
  .npl-slide-desc {
    font-size: 18px;
  }
}

/* Buttons / Actions */
.npl-slide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.npl-slider-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e10707 0%, #b70000 100%);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(225, 7, 7, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

@media (min-width: 640px) {
  .npl-slider-btn-primary {
    font-size: 16px;
    padding: 14px 30px;
  }
}

.npl-slider-btn-primary:hover {
  background: linear-gradient(135deg, #f00909 0%, #c40000 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 7, 7, 0.55);
}

.npl-slider-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

@media (min-width: 640px) {
  .npl-slider-btn-secondary {
    font-size: 15px;
    padding: 14px 26px;
  }
}

.npl-slider-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Slider Arrows */
.npl-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  background: rgba(15, 23, 42, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.npl-slider-arrow:hover {
  background: #e10707;
  border-color: #e10707;
  transform: translateY(-50%) scale(1.1);
}

.npl-slider-arrow.prev {
  left: 14px;
}

.npl-slider-arrow.next {
  right: 14px;
}

@media (max-width: 640px) {
  .npl-slider-arrow {
    width: 36px;
    height: 36px;
  }
  .npl-slider-arrow.prev { left: 8px; }
  .npl-slider-arrow.next { right: 8px; }
}

.npl-slider-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Slider Dots / Pagination */
.npl-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.npl-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  outline: none;
}

.npl-slider-dot.is-active {
  width: 28px;
  border-radius: 10px;
  background: #e10707;
}