/* Hero Slider Styles */
.hero-slider-section {
  position: relative;
  padding: 0.8rem 0; /* Réduit de 1.2rem à 0.8rem */
  margin: 0;
}

.hero-slider-container {
  height: 85vh;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  /*box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);*/
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 85vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  border-radius: 20px;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
  border-radius: 20px;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 0 3rem;
  max-width: 700px;
}

.hero-subtitle {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
}

.hero-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
  margin-right: 1rem;
  border-radius: 2px;
}

.hero-title {
  font-size: 2.75rem; /* Réduit de 3.5rem à 2.75rem */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem; /* Réduit de 1.2rem à 1.1rem */
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-buttons .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.hero-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.hero-buttons .btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.hero-buttons .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
}

/* Slide Counter */
.hero-slide-counter {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-slide-counter .separator {
  margin: 0 0.5rem;
  opacity: 0.6;
}

/* Navigation */
.hero-navigation {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  z-index: 4;
}

.hero-nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 1.5rem 2rem;
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-slide-dots {
  display: flex;
  gap: 0.75rem;
}

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

.hero-dot.active {
  background: white;
  transform: scale(1.2);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

.hero-pagination {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
  font-weight: 600;
}

.progress-line {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}



/* Navigation repositionnée dans le container */
.hero-navigation {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  z-index: 4;
}

/* Progress Bar repositionnée dans le container */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 4;
  border-radius: 0 0 20px 20px;
  display: none;
}

/* Le container doit être en position relative */
.hero-slider-section .container {
  position: relative;
}



.hero-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 0 0 20px 20px;
}

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

.animated {
  animation-duration: 0.8s;
  animation-fill-mode: both;
}

.fadeInUp {
  animation-name: fadeInUp;
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.75rem; /* Réduit de 3rem à 2.75rem */
  }

  .hero-content {
    padding: 0 2rem;
  }
}

@media (max-width: 992px) {
  .hero-slider-container,
  .hero-slide {
    height: 75vh;
  }

  .hero-title {
    font-size: 2.25rem; /* Réduit de 2.5rem à 2.25rem */
  }

  .hero-slide-counter {
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
  }

  .hero-navigation {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }

  .hero-nav-wrapper {
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-slider-section {
    padding: 1rem 0;
  }

  .hero-slider-container,
  .hero-slide {
    height: 70vh;
    border-radius: 15px;
  }

  .hero-content {
    padding: 0 1.5rem;
  }

  .hero-title {
    font-size: 1.75rem; /* Réduit de 2rem à 1.75rem */
  }

  .hero-description {
    font-size: 0.95rem; /* Réduit de 1rem à 0.95rem */
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    padding: 0.75rem 1.5rem;
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-controls {
    gap: 1rem;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-slide-counter {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-slider-container,
  .hero-slide {
    height: 60vh;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 1.5rem; /* Réduit de 1.75rem à 1.5rem */
  }

  .hero-nav-wrapper {
    padding: 0.75rem 1rem;
  }
}
