@media (min-width:769px){.call-button{display:none}}
@media (max-width:768px){section{padding:30px 15px}}
body{font-family:Arial,sans-serif;margin:0;padding:0;background-color:#fff;color:#333;overflow-x:hidden}
.main-container{min-height:100vh;display:flex;flex-direction:column}
.main-container>*{flex:1}
header{background-color:#FAFAF9;color:#2C3E50;text-align:center;padding:20px}
header h1{margin:0;font-size:28px}
.green-slogan{font-style:italic;color:#2e7d32;font-size:1.2em;margin-top:5px}
.logo-titolo{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;max-width:900px;margin:0 auto;text-align:left}
.logo-titolo>div{text-align:left}
.logo{width:140px;height:auto}
.checklist{list-style:none;padding-left:1.8em}
.checklist li{background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/5/50/Yes_Check_Circle.svg/1024px-Yes_Check_Circle.svg.png') no-repeat left center;
;background-size:1.3em 1.3em;padding-left:2.5em}

/* ========== MENU HAMBURGER ========== */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  box-sizing: border-box;
  z-index: 2000;
}
.menu-btn:focus {
  outline: none;
}
.menu-btn .bar {
  width: 100%;
  height: 3px;
  background-color: #dadada; /* colore visibile */
  border-radius: 3px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}
/* Animazione apertura menu */
.menu-btn.open .bar:nth-child(1) {
  transform: rotate(45deg);
}
.menu-btn.open .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}
.menu-btn.open .bar:nth-child(3) {
  transform: rotate(-45deg);
}

/* Nav link container */
.nav-links {
  display: flex;
  justify-content: center;
  background-color: #34495E;
  flex-wrap: wrap;
  transition: max-height 0.35s ease;
  overflow: hidden;
  max-height: none;
}

/* Desktop styles */
@media (min-width: 769px) {
  .menu-btn {
    display: none !important;
  }
  .nav-links {
    max-height: none !important;
    display: flex !important;
  }
  nav a {
    color: #fff;
    padding: 14px 20px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
  }
  nav a:hover {
    background-color: #5D6D7E;
    color: white;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  nav {
    position: relative;
  }
  .menu-btn {
    display: flex !important;
    position: absolute;
    top: 15px;
    right: 20px;
  }
  .nav-links {
    flex-direction: column;
    max-height: 0;
    width: 100%;
    overflow: hidden;
  }
  .nav-links.open {
    max-height: 500px; /* abbastanza grande da mostrare tutti i link */
  }
  nav a {
    padding: 12px 20px;
    border-top: 1px solid #5D6D7E;
    color: white;
    display: block;
    text-align: left;
  }
  nav a:hover,
  nav a:focus {
    background-color: #5D6D7E;
    outline: none;
  }
}

section{padding:40px 20px;margin:10px;animation:fadeIn 1s ease-in-out}
section h2{font-size:24px;margin-bottom:20px;color:#34495E;text-align:center}
section h3{font-size:18px;color:#2C3E50;margin-bottom:10px}
.services,.contact{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.services div,.contact div{background:#fff;padding:25px;border:1px solid #BDC3C7;border-radius:10px;box-shadow:0 4px 8px rgba(0,0,0,.1);text-align:center;transition:transform .3s ease,box-shadow .3s ease}
.services div:hover{transform:translateY(-10px);box-shadow:0 10px 20px rgba(0,0,0,.2)}
.services img,.contact img{width:100%;max-width:200px;display:block;margin:0 auto 15px auto;border-radius:8px;height:auto}
.services p,.services ul{text-align:left;font-size:15px;line-height:1.5}
.services ul{padding-left:20px;list-style:none}
footer{background-color:#2C3E50;color:#fff;text-align:center;padding:20px;margin-top:40px;width:100%;z-index:999}
.footer-content{display:flex;justify-content:space-between;align-items:center;background-color:#34495E;border-top:1px solid #BDC3C7;padding:10px 20px;flex-wrap:wrap;gap:10px}
.footer-links ul{list-style:none;display:flex;gap:15px;padding:0;margin:0;flex-wrap:wrap;justify-content:center}
.footer-links ul li a{text-decoration:none;color:#fff;font-size:14px}
.footer-links ul li a:hover{color:#16A085}
.footer-social{display:flex;align-items:center;gap:10px}
.footer-social img{width:24px;height:24px}
footer p{font-size:12px;margin:10px 0 0}
.cookie-banner{position:fixed;bottom:0;width:100%;background-color:#34495E;color:#fff;padding:15px;z-index:1000;font-size:14px;box-shadow:0 -2px 8px rgba(0,0,0,.2);display:none;flex-direction:column;align-items:center;gap:10px}
.cookie-options{display:flex;gap:15px;justify-content:center;margin:10px 0}
.cookie-buttons{display:flex;flex-direction:column;align-items:center;gap:10px}
.cookie-buttons button{background-color:#1ABC9C;border:none;color:#fff;padding:8px 16px;cursor:pointer;border-radius:5px;font-weight:bold}
.cookie-buttons button:hover{background-color:#16A085}
.cookie-buttons a{color:#1ABC9C;font-size:13px;text-decoration:underline}
.call-button{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background-color:#1ABC9C;color:#fff;padding:10px 20px;border-radius:50px;text-decoration:none;font-size:14px;text-align:center;box-shadow:0 5px 15px rgba(0,0,0,.3);z-index:1000;white-space:nowrap}
.call-button:hover{background-color:#16A085;transform:translateX(-50%) scale(1.05)}
.map-container{width:100%;border-radius:10px;overflow:hidden;box-shadow:0 4px 8px rgba(0,0,0,.1);margin:0 auto}
.map-container iframe{width:100%!important;height:400px;border:0}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.button{background-color:#1ABC9C;color:#fff;border:none;padding:10px 20px;border-radius:5px;text-transform:uppercase;font-weight:bold;cursor:pointer;transition:background-color .3s ease}
.button:hover{background-color:#16A085}
/* === PROMOZIONE OVERLAY === */
.promo-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7); /* sfondo semi-trasparente */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.promo-modal {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  overflow: auto;
}

.promo-modal img {
  width: 100%;
  max-width: 400px;  /* limite larghezza su desktop */
  max-height: 80vh;  /* limite altezza su schermo */
  height: auto;
  border-radius: 8px;
  display: block;
}


.promo-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  z-index: 10;
}

.promo-close:hover {
  color: #1ABC9C;
}
