body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f9f9f9;
}

header {
  background-color: #2c3e50;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  background-color: white;
}

h1 {
  color: #f9f9f9;
}

h2 {
  color: #2c3e50;
}

ul {
  margin-top: 10px;
}

.cta {
  background-color: #3498db;
  color: white;
  padding: 15px 20px;
  text-align: center;
  margin: 20px 10px 20px 0;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
}

.cta:hover {
  background-color: #2980b9;
}

.intro {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.intro-text {
  flex: 1 1 350px;
}

.img-placeholder {
  width: 100%;
  height: 300px;
  background: #f2f2f2;
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  color: #777;
  font-size: 14px;
}

.img2 {
  width: 100%;
  height: 700px;
  background: #f2f2f2;
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  color: #777;
  font-size: 14px;
}


/* Responsive */
@media (max-width: 768px) {
  .intro {
    flex-direction: column;
  }
}

.carousel {
  position: relative;
  max-width: 400px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 8px;
}

.carousel2 {
  position: relative;
  max-width: 200px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 8px;
}



.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.carousel-track img {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

/* Bottoni */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 22px;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-btn:hover {
  background-color: rgba(0,0,0,0.7);
}

.blocco-img {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin: 40px 0;
}

.blocco-img-text {
  flex: 1 1 400px;
}

.blocco-img-img {
  flex: 1 1 300px;
  text-align: center;
}

.blocco-img-img img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

/* Mobile */
@media (max-width: 768px) {
  .blocco-img {
    flex-direction: column;
  }
}
