/**
 * Événements Slider Widget - Styles
 */

/* Container principal */
.esw-container {
  width: 100%;
  overflow: hidden;
}

.esw-content-wrapper {
  display: flex;
  align-items: stretch;
  min-height: 500px;
}

/* Partie gauche */
.esw-left-content {
  flex: 0 0 40%;
  max-width: 40%;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #ffffff;
}

.esw-section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a4e;
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.esw-section-subtitle {
  font-size: 18px;
  color: #333333;
  margin: 0 0 30px 0;
  line-height: 1.5;
}

.esw-main-button {
  display: inline-block;
  padding: 14px 28px;
  background-color: #1a89bd;
  color: #ffffff;
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.esw-main-button:hover {
  background-color: #9a1750;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(185, 28, 92, 0.3);
}

/* Partie droite - Slider */
.esw-right-content {
  flex: 0 0 60%;
  max-width: 60%;
  position: relative;
}

.esw-slider {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.esw-slide {
  position: relative;
  overflow: hidden;
}

.esw-slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

.esw-slide:hover .esw-slide-image {
  transform: scale(1.05);
}

.esw-no-image {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.esw-slide-overlay {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background-color: rgba(26, 26, 78, 0.9);
  padding: 25px 30px;
  max-width: 350px;
  border-radius: 0;
  text-align: center;
}
button.esw-nav-btn {
  border-radius: 0 !important;
}
.esw-slide-title {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin: 0 0 15px 0;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.esw-slide-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: #fff;
  color: #1a89bd !important;
  text-decoration: none;
  border: 1px solid #ffffff;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.esw-slide-button:hover {
  background-color: transparent;
  color: #fff !important;
}

/* Navigation */
.esw-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: transparent !important;
  color: #1a89bd;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
}

.esw-nav-btn:hover {
  color: #1a89bd;
  background-color: transparent !important;
}

.esw-nav-btn svg {
  width: 20px;
  height: 20px;
}

.esw-nav-prev {
  left: 15px;
}

.esw-nav-next {
  right: 15px;
}

/* Responsive */
@media (max-width: 1024px) {
  .esw-content-wrapper {
    flex-direction: column;
  }

  .esw-left-content,
  .esw-right-content {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .esw-left-content {
    padding: 40px 30px;
    text-align: center;
    align-items: center;
  }

  .esw-main-button {
    align-self: center;
  }

  .esw-slider {
    min-height: 400px;
  }

  .esw-slide-overlay {
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .esw-section-title {
    font-size: 26px;
  }

  .esw-section-subtitle {
    font-size: 16px;
  }

  .esw-slider {
    min-height: 350px;
  }

  .esw-slide-overlay {
    padding: 20px;
  }

  .esw-slide-title {
    font-size: 14px;
  }

  .esw-nav-btn {
    width: 40px;
    height: 40px;
  }

  .esw-nav-btn svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .esw-left-content {
    padding: 30px 20px;
  }

  .esw-section-title {
    font-size: 22px;
  }

  .esw-slider {
    min-height: 300px;
  }

  .esw-slide-overlay {
    bottom: 15px;
    right: 15px;
    left: 15px;
    padding: 15px;
  }

  .esw-slide-title {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .esw-slide-button {
    padding: 8px 20px;
    font-size: 12px;
  }
}
