
.navbar.scrolled {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease-in-out;
}

.jumbotron a { color: black; }
.jumbotron a:hover { color: black; }
.row a { text-decoration: none; color: #59918c; }
.row a:hover { text-decoration: none; color: #3f7b76; }

  .image-container {
      width: 100%;
      height: 100vh;
      position: relative;
    }
    .image-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    
    .overlay-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      text-align: center;
      z-index: 10;
      text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    }
    .overlay-text span {
      font-size: 3rem;
      margin: 0;
      display: block;
    }
    .overlay-text p {
      font-size: 1.5rem;
    }

.service-card {
  background-color: #e6f2ff;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  background-color: #f8f9fa; /* magenta chiarissimo */
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-card h5 {
  margin-top: 15px;
  font-weight: 600;
  color: #2c2e35;
}

.service-card img {
  transition: transform 0.3s ease;
}

.service-card:hover img {
  transform: scale(1.02);
}

.service-card i.icon {
  font-size: 40px;
  color: #2c2e35; /* grigio scuro iniziale */
  transition: color 0.3s ease, transform 0.3s ease;
}

.service-card:hover i.icon {
  color: brown; /* magenta al passaggio */
  transform: scale(1.2);
}

/* cookie-banner */
#cookie-banner {
  position: fixed;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 90%;
  max-width: 420px;
  background-color: #2c2e35;
  color: #fff;
  padding: 1.5em 1.5em 1em;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#cookie-banner.show {
  opacity: 1;
  visibility: visible;
}

#cookie-banner p {
  font-size: 14px;
  margin-bottom: 1em;
}

#cookie-banner a {
  color: #198754;
  text-decoration: underline;
  font-weight: bold;
}

#cookie-banner .btn-group {
  display: flex;
  justify-content: center;
  gap: 10px;
}

#cookie-banner button {
  padding: 0.6em 1.2em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

#cookie-banner .accept {
  background-color: #198754;
  color: white;
}

#cookie-banner .reject {
  background-color: #444;
  color: white;
}

#cookie-banner .close-banner {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
}

/* immagini */
.img-equal {
  height: 400px;
  width: 100%;
  object-fit: cover;
  object-position: bottom; /* 👉 mostra la parte bassa dell'immagine */
  border-radius: .25rem;
  box-shadow: 5px 5px 6px 0px #000000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-equal:hover {
  transform: translateY(-5px);
  box-shadow: 7px 7px 10px 0px #000000; /* ombra ancora più forte al passaggio */


.title {
  font-size: 2.5rem;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
}

.subtitle {
  font-size: 1.6rem;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
}

  .servizio-icon {
    transition: all 0.3s ease;
    color: #6c757d;
  }

  .servizio-icon:hover {
    color: #198754;
    transform: scale(1.1);
  }

  .servizio-box {
    text-align: center;
    margin-bottom: 2rem;
  }

  .servizio-box i {
    margin-bottom: 0.5rem;
  }

  .servizio-box p {
    margin: 0;
  }
  
  .text-brown {
  color: #8B5E3C; /* oppure prova #6c4f3d, #7B4F2D, #A0522D */
}


