
  body {
    padding-top: 100px; /* margine superiore sotto la navbar */
  }


.row a { text-decoration: none; color: #59918c; }
.row a:hover { text-decoration: none; color: #3f7b76; }

.navbar.scrolled {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease-in-out;
}
.title {
  font-size: 2.5em;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
}

.subtitle {
  font-size: 1.6em;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
}

.image-container {
  width: 100%;
  max-width: 100%;
  max-height: 75vh; /* massimo 75% dell'altezza viewport */
  position: relative;
  overflow: hidden;
  box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  margin: auto;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.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: green; /* 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: #59918c;
  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: #59918c;
  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: 270px;
  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 */
}
  .text-brown {
  color: #8B5E3C; /* oppure prova #6c4f3d, #7B4F2D, #A0522D */
}

