/* FONT BASE */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}

/* HEADER */
header {
  background: #43a047;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: auto;
}
.logo {
  height: 50px;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
nav ul li {
  margin-left: 20px;
}
nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}
nav ul li a:hover {
  color: #0077cc;
}

/* HERO */
.hero {
  background: url('images/hero.jpg') center/cover no-repeat;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
}
.hero-text {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}
.btn:hover {
  background: #005fa3;
}

/* SEZIONI */
.section {
  padding: 60px 20px;
  text-align: center;
}
.section.alt {
  background: #f9f9f9;
}
.container-column {
  max-width: 1000px;
  margin: auto;
}

/* SERVIZI */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.card {
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card i {
  color: #0077cc;
  margin-bottom: 15px;
  transition: color 0.3s;
}
.card h3 {
  margin-bottom: 10px;
}
.card p {
  font-size: 0.95rem;
  color: #555;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.card:hover i {
  color: #005fa3;
}

/* CONTATTI */
#contatti p {
  margin: 8px 0;
}
#contatti a {
  color: #0077cc;
  text-decoration: none;
}
#contatti a:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  background: #333;
  color: white;
  padding: 15px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* WHATSAPP BUTTON */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  font-size: 24px;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: background 0.3s;
}
.whatsapp:hover {
  background: #1ebc57;
}
