/* ================================
   Swiper Slider CSS
   ================================ */

/* Slider full width */
.swiper {
  width: 98%;
  height: 70vh;
  overflow: hidden;
  position: relative;
}

.swiper-slide {
  background-size: cover;
  background-position: center center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-caption {
  text-align: center;
  color: white;
  text-shadow: 0 2px 5px rgba(0,0,0,0.4);
  max-width: 90%;
}

.slide-caption h2 {
  font-size: calc(16px + 1.5vw);
  margin: 0 0 10px 0;
}

.slide-caption p {
  font-size: calc(12px + 1vw);
  margin: 0;
}

@media (max-width: 767px) {
  .swiper {
    height: 60vh;
  }
  .slide-caption h2 {
    font-size: calc(14px + 2vw);
  }
  .slide-caption p {
    font-size: calc(12px + 1.5vw);
  }
}

/* Caption responsive tweaks */
.slide-caption a {
  color: white;
  text-decoration: none;
}

.tp-caption, .swiper-slide {
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

/* Puntini di paginazione */
.swiper-pagination-bullet {
  width: 14px;       /* dimensione più grande */
  height: 14px;
  background: #ffffff; /* colore base */
  opacity: 0.7;
  margin: 0 6px !important;
  transition: all 0.3s ease;
  border: 2px solid #326B63; /* bordo opzionale per contrasto */
}

.swiper-pagination-bullet-active {
  background: #326B63;  /* colore puntino attivo */
  opacity: 1;
}

/* Frecce navigazione */
.swiper-button-next,
.swiper-button-prev {
  color: #326B63;      /* colore frecce */
  width: 35px;         /* larghezza frecce */
  height: 35px;
  border-radius: 50%;  /* frecce rotonde */
  background: rgba(255,255,255,0.3); /* sfondo semitrasparente */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(50,107,99,0.8);
  color: #ffffff;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px; /* dimensione simbolo freccia */
}


/* ================================
   Swiper Slider CSS
   ================================ */