/* Video background styles for hero section */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  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;
  z-index: -2;
}

.bg-image {
  display: none !important;
}

/* Ensure proper z-index stacking */
.single-slide {
  z-index: 1;
}

.dl-slider .overlay {
  z-index: -1;
}

/* Mobile optimization for hero slider */
@media (max-width: 767px) {
  .slider-content-wrap {
    padding-top: 100px !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .dl-caption.big {
    font-size: 24px !important;
    line-height: 1.2 !important;
  }
  
  .dl-caption.medium {
    font-size: 18px !important;
  }
  
  .dl-caption.small {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
  
  .dl-btn {
    font-size: 12px !important;
    padding: 8px 15px !important;
  }
}

@media (max-width: 480px) {
  .slider-content-wrap {
    padding-top: 80px !important;
  }
  
  .dl-caption.big {
    font-size: 20px !important;
  }
  
  .dl-caption.medium {
    font-size: 16px !important;
  }
  
  .dl-caption.small {
    font-size: 12px !important;
  }
}


/* REMOVE MOBILE GAP CAUSED BY SLICK'S FIXED HEIGHT */
@media (max-width: 767px) {
  .hero-section-wrapper .slick-list,
  .hero-section-wrapper .slick-track,
  .hero-section-wrapper .single-slide {
    height: auto !important;
  }

  .hero-section-wrapper .slick-list {
    overflow: visible !important;
  }

  /* Ensure video container matches content height */
  .video-background,
  .hero-video {
    height: 100% !important;
    max-height: 100% !important;
  }

  /* Remove bottom spacing pushed by slick */
  #main-slider,
  .dl-slider {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
}
