/* =========================================
   Hero Carousel Section Styles
   ========================================= */

.hero-carousel-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-carousel-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-carousel {
  width: 100%;
  height: 100%;
}

.hero-carousel-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: zoomIn 0.6s ease-out;
}

@keyframes zoomIn {
  from {
    transform: scale(1.05);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Dark overlay for readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.65) 0%,
    rgba(26, 26, 46, 0.55) 50%,
    rgba(14, 165, 233, 0.25) 100%
  );
  z-index: 2;
}

/* Content overlay positioning */
.hero-content-overlay {
  position: relative;
  z-index: 3;
  min-height: 600px;
  display: flex;
  align-items: center;
}

/* Navigation buttons styling */
.hero-carousel-prev,
.hero-carousel-next {
  z-index: 10;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: white;
  top: 50%;
  transform: translateY(-50%);
}

.hero-carousel-prev::after,
.hero-carousel-next::after {
  font-size: 1.5rem;
}

.hero-carousel-prev:hover,
.hero-carousel-next:hover {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-carousel-prev {
  left: 20px;
}

.hero-carousel-next {
  right: 20px;
}

/* Pagination dots styling */
.hero-carousel-pagination {
  position: absolute !important;
  bottom: 30px;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-carousel-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.hero-carousel-pagination .swiper-pagination-bullet:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.hero-carousel-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: linear-gradient(135deg, #d4af37, #e50914);
  border-color: white;
  width: 32px;
  border-radius: 6px;
  opacity: 1;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);
}

/* Hero text inside carousel */
.hero-text {
  animation: fadeInUp 1s ease-out;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  margin-bottom: 30px;
  line-height: 1.8;
}

/* Responsive hero carousel */
@media (max-width: 1200px) {
  .hero-carousel-prev,
  .hero-carousel-next {
    width: 45px;
    height: 45px;
  }
  
  .hero-carousel-prev::after,
  .hero-carousel-next::after {
    font-size: 1.2rem;
  }
  
  .hero-carousel-prev {
    left: 15px;
  }
  
  .hero-carousel-next {
    right: 15px;
  }
}

@media (max-width: 768px) {
  .hero-carousel-section {
    min-height: 450px;
  }
  
  .hero-content-overlay {
    min-height: 450px;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .hero-carousel-prev,
  .hero-carousel-next {
    width: 40px;
    height: 40px;
    display: none !important;
  }
  
  .hero-carousel-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
  
  .hero-carousel-pagination {
    bottom: 20px;
  }
}

@media (max-width: 576px) {
  .hero-carousel-section {
    min-height: 350px;
  }
  
  .hero-content-overlay {
    min-height: 350px;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .hero-carousel-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }
  
  .hero-carousel-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 24px;
  }
}
