/* Style de base pour la modale */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 10000;
}

/* Uniformiser les slides */
.swiper-slide {
  width: 300px !important;
  height: 400px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  text-align: center;
  padding: 10px;
}

.swiper-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-info {
  padding: 10px;
}

.swiper-button-prev,
.swiper-button-next {
  color: #fff;
  top: 50%;
  transform: translateY(-50%);
}

.swiper-button-prev {
  left: 20px;
}

.swiper-button-next {
  right: 20px;
}

.swiper {
  padding: 40px 60px;
}

/* Centrer le carrousel */
.coverflowSwiper {
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
}
