.cards-section {
  background-color: #95a5a6;
}

.cards-carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex: 1;
  min-height: 0;
  margin-top: 40px;

}

.cards-carousel-track-container {
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding:15px 0px;
}

.cards-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
  height: 100%;
}

.card-slide {
  flex: 0 0 300px;
    height: 95%;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  backdrop-filter: blur(40%);
  transition: all 0.3s ease;
  border: 1px solid black;
  
}

.card-slide:hover {
  backdrop-filter: blur(0);
  filter: blur(0);
  transform: translateY(-10px);
  opacity: 1;
}

.card-slide img {
  width: 300px;
  height: 300px;
  object-fit: fill;
}

.card-content {
  padding: 20px;
  font-size: 15px;
}

.card-content p {
  margin: 10px 0;
  color: #333;
}

.cards-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0);
  border: none;
  cursor: pointer;
  font-size: 18px;
  width: 50%;
  height: 100%;
  z-index: 10;
  transition: all 0.3s;
}

.cards-prev-btn {
  left: 0;
}

.cards-next-btn {
  right: 0;
}
.cards-dots-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  margin-bottom: 20px;
  padding: 10px 0;
}

.cards-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.cards-dot:hover {
  background-color: #999;
  transform: scale(1.2);
}

.cards-dot.active {
  background-color: #c6634d;
  transform: scale(1.2);
}


.card-slide-place-holder {
  position: relative;  /* se serve per eventuali riferimenti */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.nome-centrato {
  text-align: center;
  width: 100%;
  position: absolute;
  color: white;
  justify-content: center;
  font-size: 40px;
  font-family: 'Inter Tight', sans-serif;
   top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.card-slide-place-holder img {
  display: block;
  max-width: 100%;
}



/* Aggiungi alla fine del tuo carouselUser.css */

@media screen and (max-width: 800px) {
  .cards-carousel-track {
    gap: 15px;
  }
  
  .cards-carousel-btn {
    width: 30px;
  }
  
  .cards-prev-btn {
    left: 0;
  }
  
  .cards-next-btn {
    right: 0;
  }
  

  
  /* Nascondi i button su mobile se vuoi, o lasciali */
  .cards-carousel-btn {
    opacity: 0.7;
  }
}