body {
  margin: 0;
}

/*#f5f8fa*/

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  font-family: 'Libre Baskerville', serif;
  background-color: #737676;
}

.logo {
  height: 70px; /* Adatta la dimensione in base al tuo design */
  margin-left: 12vw;
  animation: rotazione 30s linear infinite;
}

@keyframes rotazione {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


.navbar-center {
  display: flex;
  gap: 60px;
  flex-grow: 1;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}



/* Hamburger */
.hamburger {
  display: none;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  color: white;
}

/* Link di navigazione */
.nav-links a {
  display: block;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s;
  font-family: 'Libre Baskerville', serif;
}

.nav-links a:hover {
  color: #33AA66;
  transform: scale(1.1);
}

/* Pulsante a destra */
.cta-hero {
  background-color: #007832;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1.1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Libre Baskerville', serif;
}

.cta-hero:hover {
  background-color: #33AA66;
  transform: scale(1.05);
}





body {
    font-family: 'Libre Baskerville', serif;
    margin: 0;
    color: #333;
}



.servizi-section {
	margin-top: 120px;
    padding: 0px 12vw;
}


.servizi-section h1 {
    font-size: 2.7rem;
    margin-bottom: 10px;
}

.servizi-section p {
    font-size: 1.1rem;
    max-width: 1200px;
    margin: 0 auto 60px;
}


.servizi-titolo {
    text-align: center;
    color: #1a8c46;
    font-size: 2.4rem;
    margin-bottom: 50px;
}

.servizi-lista {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.servizio-voce {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #d3d3d3;
}

.servizio-voce:last-child {
    border-bottom: none;
}

.servizio-voce img {
    width: 120px;
    height: 100px;
    object-fit: contain;
}

.servizio-voce h3 {
    font-size: 1.5rem;
    color: #1a8c46;
    margin: 0 0 8px;
}

.servizio-voce p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

/* Mobile */
@media screen and (max-width: 900px) {
    .servizio-voce {
        flex-direction: column;
        align-items: flex-start;
    }

    .servizio-voce img {
        width: 100px;
        height: 90px;
    }
}


/* PROCESSO */
.processo {
    background-color: #f5f8fa;
    padding: 60px 12vw;
    text-align: center;
}

.processo h2 {
    color: #1a8c46;
    margin-bottom: 50px;
}

.timeline {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.step {
    width: 180px;
}

.step-num {
    display: inline-block;
    width: 45px;
    height: 45px;
    background-color: #1a8c46;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* CTA FINALE */
.cta-finale {
    text-align: center;
    padding: 60px 20px;
    background-color: #e8f5ec;
}

.cta-finale h2 {
    color: #1a8c46;
    margin-bottom: 20px;
}




.footer {
    background-color: #737676;
    color: white;
    text-align: center;
	padding: 20px 0px;
	font-family: 'Libre Baskerville', serif;
}


@media screen and (max-width: 1100px) {

.navbar {
	height: 70px;
	justify-content: space-between;
}

.navbar-center {
    display: none;
	gap: 0px;
 }
   

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #737676;
    width: 100%;
    position: absolute;
    top: 70px; /* altezza navbar */ 
    left: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
	transition: max-height 0.4s ease, opacity 0.4s ease;
  }
  
  .nav-links.show {
     display: flex;
  }


.nav-links a {
	padding: 20px; /* <-- potrebbe causare spazio extra */
} 

.nav-links a:hover {
    color: grey;
    background-color: white;	/* oppure il colore che preferisci */
}

.logo {
  height: 60px;
  margin-left: 8vw
}


.hamburger {
    display: block;
    cursor: pointer;
	margin-right: 8vw;
}
  
  
.hero-img {
  max-width: 120px;
}
  
.hero .navbar.menu-open {
  background-color: #737676;
}


    .servizi {
        padding: 120px 8vw 60px;
    }

    .servizio-card img {
        height: 160px;
    }



.footer {
  font-size: 0.9rem;
}
  
}



/* RESPONSIVE */
@media screen and (max-width: 1100px) {
    .servizi {
        padding: 120px 8vw 60px;
    }

    .servizio-card img {
        height: 160px;
    }
}
