body {
    margin: 0;
    font-family: 'Libre Baskerville', serif;
}


/*#f5f8fa*/

.navbar {
  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-button {
  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-button:hover {
  background-color: #33AA66;
  transform: scale(1.05);
}




.contatti-section {
  /*  margin-top: 120px;  */
    padding: 0 12vw;
}

.contatti-section h2 {
    font-size: 2.5rem;
    color: #1a8c46;
    margin-bottom: 30px;
	text-align: center;
}

.contatti-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.info-box, .form-box {
    flex: 1;
    min-width: 300px;
}

.info-box h3, .form-box h3, .mappa h3 {
    color: #1a8c46;
    margin-bottom: 10px;
}

.info-box p {
    margin-bottom: 15px;
    line-height: 1.4;
}

.form-box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


.whatsapp-link {
    color: black;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-link:hover {
    color: #33AA66;
    text-decoration: underline;
}

.whatsapp-icon {
    width: 22px;
    height: 22px;
    display: inline-block;
}




input, textarea {
    padding: 10px;
    border: 1px solid #bfbfbf;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Libre Baskerville', serif;
}

button {
    background-color: #007832;
    color: white;
    border: none;
    padding: 12px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #33AA66;
    transform: scale(1.05);
}

.mappa {
    margin-top: 50px;
}

.mappa iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 10px;
	margin-bottom: 40px;
}


.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;
}


  .footer {
	font-size: 0.9rem;
  }
  
}


/* MOBILE */
@media screen and (max-width: 900px) {
    .contatti-section {
        margin-top: 90px;
        padding: 0 8vw;
    }

    .contatti-section h2 {
        font-size: 2.2rem;
    }
}
