<style>
    :root { --gap: 20px; }
    body { font-family: Arial, sans-serif; margin: 0; padding: 0; }

header {
  background: #003366;
  color: #fff;
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.21), rgba(0, 0, 0, 0.922)), url('img/6465bba1-d6e8-474d-8dd7-1bcf4ac7231e.jpg');
  background-size: cover;
  background-position: top center; 
  background-repeat: no-repeat;
  height: 55vh; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

header {
  background-color: #1a1a1a;
  color: white;
  text-align: center;
  padding: 20px 10px; 
}

header img {
  height: 100px; 
  margin-bottom: 5px;
}

header h1 {
  font-size: 2.2rem; 
  margin: 8px 0;
}

header .tagline {
  font-size: 1rem;
  color: #ccc;
  margin: 0 0 10px 0;
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

header nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -5px;
  background-color: #00aaff;
  transition: width 0.3s ease;
}

header nav ul li a:hover {
  color: #00aaff;
}

header nav ul li a:hover::after {
  width: 100%;
}


    
    .section { padding: 3rem 1rem; text-align: center; }

.slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.viewport {
  overflow: hidden;
}

.slider {
  display: flex;
  gap: 24px; 
  transition: transform 0.4s ease;
  will-change: transform;
}

.servizi-slider .card {
  position: relative;
  flex: 0 0 auto;
  width: 280px;
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
  background: #f0f4f9;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}
.servizi-slider .card:hover {
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.servizi-slider .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.servizi-slider .card:hover .card-img {
  transform: scale(1.1);
}

.servizi-slider .card-inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 1rem;
  text-align: left;
}
.servizi-slider .card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  font-weight: 600;
}
.servizi-slider .card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0.9;
}

/* Sezione recensioni */
.recensioni-section {
  background: #f8f9fc;
  padding: 60px 20px;
  text-align: center;
}

.recensioni-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #004aad;
}

.review-note {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
  font-style: italic;
}

/* Layout griglia */
.recensioni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Card recensione */
.review-card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.review-stars {
  color: #ffcc00;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.review-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
}

.review-text::before {
  content: "“";
  font-size: 2rem;
  color: #004aad;
  position: absolute;
  left: -10px;
  top: -10px;
}

.review-author {
  font-weight: bold;
  color: #004aad;
}


.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #005599;
  color: #fff;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: background 0.3s ease, transform 0.2s ease;
}
.nav-btn:hover {
  background: #0077cc;
  transform: translateY(-50%) scale(1.1);
}
.nav-btn:disabled {
  opacity: 0.4;
  cursor: default;
  transform: translateY(-50%);
}

.nav-btn.prev { left: -60px; }
.nav-btn.next { right: -60px; }

    #chi-siamo {
    background: linear-gradient(135deg, #f0f4f9, #ffffff);
    padding: 4rem 1.5rem;
    }

    .about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    background: #e4e4e4;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .about:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    }

    .about img {
    width: 360px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
    }
    .about img:hover {
    transform: scale(1.05);
    }

    .about-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    }
    .about-text p {
    margin-bottom: 1rem;
    }
    .about-text p:first-child {
    font-weight: 500;
    font-size: 1.2rem;
    color: #005599; /* accent color */
    }
    .about-text p:last-child {
    font-style: italic;
    color: #555;
    }

    @media (max-width: 900px) {
    .about {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    .about img {
        width: 100%;
        max-width: 400px;
    }
    .about-text {
        font-size: 1rem;
    }
    }

    .review-note { font-size: 0.9rem; color: #666; margin-top: 0.5rem; margin-bottom: 1.5rem; }
    .review-card { flex: 0 0 auto; border-radius: 16px; background: #f9f9f9; padding: 1.5rem; box-shadow: 0 2px 10px rgba(0,0,0,0.08); text-align: left; min-height: 150px; width: 100%; max-width: 300px; box-sizing: border-box; }
    .review-author { font-weight: bold; margin-bottom: 0.5rem; }
    .review-stars { color: gold; margin-bottom: 0.5rem; }

    footer { background: #003366; color: #fff; padding: 3rem 1rem; text-align: center; }
    .contact-container { max-width: 1000px; margin: 0 auto; background: #fff; color: #333; border-radius: 16px; padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
    .contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; text-align: left; }
    .contact-item { display: flex; align-items: center; gap: 0.5rem; font-size: 1rem; }
    .contact-item span { font-size: 1.3rem; }
    .contact-item a { color: inherit; text-decoration: underline; }
    iframe { width: 100%; height: 300px; border: 0; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.2); }

    @media (max-width: 700px) {
      .about { flex-direction: column; text-align: center; }
      .about img { width: 100%; max-width: 350px; }
      header h1 { font-size: 1.8rem; }
      nav ul { flex-direction: column; gap: 0.5rem; }
    }

    .hero-servizi {
  position: relative;
  background: url("img/pexels-vojtech-okenka-127162-390426.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
  border-radius: 20px;
  overflow: hidden;
  margin: 3rem auto;
  max-width: 1200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.hero-servizi .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  border-radius: 20px;
}

.hero-servizi .hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-servizi h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-servizi p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-hero {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  background: #ffcc00;
  color: #000;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-hero:hover {
  background: #fff;
  color: #003366;
  transform: scale(1.07);
}

.social-section {
  background: #f9f9f9;
  padding: 3rem 1rem;
  border-radius: 16px;
  max-width: 900px;
  margin: 2rem auto;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
}

.social-section h2 {
  font-size: 1.8rem;
  color: #003366;
  margin-bottom: 1rem;
}

.social-text {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-icon.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}

.social-icon.facebook {
  background: #1877f2;
  color: #fff;
}

.social-icon:hover {
  transform: scale(1.08);
}

.copyright {
  background: #003366;
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  margin-top: 0;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

  </style>