/* ===============================
   RESET BASE
================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

/* ===============================
   MENU PRINCIPALE
================================= */
.main-menu {
  background: #0b7a45;
  padding: 15px 20px;
}


.main-menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.main-menu a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.main-menu a:hover {
  color: #f0f0f0;
  text-decoration: underline;
}

/* ===============================
   HERO
================================= */
.hero {
  height: 80vh;
  background: url('biodis.svg') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #0b7a45;
}

/* Tasto verde ovalizzato */
.btn-preventivo {
  display: block;         /* diventa blocco */
  width: fit-content;     /* si adatta al contenuto */
  margin: 400px auto 0;    /* 20px sopra, automatico a sx/dx */
  padding: 15px 40px;
  background: #0b7a45;
  color: white;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}


.btn-preventivo:hover {
  background: #095e34;
  transform: scale(1.05);
}

/* ===============================
   CARD SERVIZI
================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
  padding: 40px 20px 60px 20px;
}

.card {
  position: relative;
  height: 250px;
  border-radius: 15px;
  overflow: hidden;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

/* COLORI NATURALI */
.card-derattizzazione { 
  background-image: url('onecard.jpg'); 
  background-size: cover; 
  background-position: center;
  background-repeat: no-repeat;
}  
  
.card-insetti { 
  background-image: url('insetti.JPG'); 
  background-size: cover; 
  background-position: center;
  background-repeat: no-repeat; 
}          

.card-volatili { background: #a1d6a1; }        
.card-disinfezione { background: #a1d6a1; }    

.card-overlay {
  background: rgba(0,0,0,0.4);
  padding: 20px;
  width: 100%;
  text-align: left;
}

.card-overlay h3 { margin-bottom: 10px; font-size: 22px; }
.card-overlay p { font-size: 16px; }

/* HOVER INGROSSAMENTO */
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* ===============================
   FOOTER
================================= */
.site-footer {
  background: #0b7a45;
  padding: 20px;
  text-align: center;
}

.icon-social {
  width: 60px;
  height: 60px;
  filter: invert(100%);
  transition: transform 0.3s;
}

.icon-social:hover {
  transform: scale(1.4);
}

.container {
  height: 10vh;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #0b7a45;
}

.container3 {
  padding: 15px;
  max-width: 800px;
  margin: 0 auto;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  text-align: center;
  
}

.snapshot {
  color: green;
  text-align: center;
}

.immagini {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
}