/* Reset */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f7e9e9; /* rosa pastello */
  color: #333;
}

/* NAVBAR */
.navbar {
  width: 100%;
  padding: 25px 1000px; /* DESKTOP */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
}

.logo {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #333;
}

.menu a {
  margin-left: 30px;
  text-decoration: none;
  color: #333;
  font-size: 25px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

.menu a:hover {
  opacity: 0.7;
}

/* HERO CARD */
.hero-card {
  width: 90%;
  max-width: 1500px;
  padding: 120px 50px 60px 50px;
  margin: 50px auto;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-radius: 10px;
}

/* TESTO */
.text-col {
  width: 48%;
  margin-top: -80px;
}

.text-col h1 {
  font-size: 36px;
  line-height: 1.2;
  font-family: Georgia, "Times New Roman", serif;
}

.sub {
  font-size: 22px;
  font-weight: normal;
}

.intro {
  font-size: 30px;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
}

.citazione {
  font-size: 16px;
  font-style: italic;
  text-align: right;
  margin-top: 5px;
  opacity: 0.75;
  font-family: Georgia, "Times New Roman", serif;
  margin-right: 40px;
}

/* BOTTONE */
.btn {
  display: inline-block;
  margin-top: 25px;
  background: #333;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

.btn:hover {
  opacity: 0.9;
}

/* FOTO A DESTRA */
.img-col {
  width: 70%;
  display: flex;
  justify-content: center;
}

.side-photo {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin-top: -90px;
  margin-left: 80px;
}

/* CHI SONO */
.chi-foto {
  width: 75%;
  margin-left: 0;
  margin-top: 0;
  border-radius: 40px;
  object-fit: cover;
}

.chi-intro {
  font-size: 20px;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
  margin-bottom: 20px;
}

.firma {
  width: 200px;
  margin-top: 10px;
  display: block;
  margin-left: auto;
}

/* SERVIZI */
.servizi-grid {
  display: flex;
  justify-content: center;
  width: 70%;
  margin: 40px auto;
}

.servizio img {
  width: 100%;
  height: auto;
  border-radius: 40px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.servizio img:hover {
  transform: scale(1.03);
}

/* MAPPA */
.mappa {
  width: 90%;
  margin: 40px auto 100px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* INTRO SERVIZI */
.intro-servizi {
  width: 80%;
  margin: 100px auto 40px auto;
  text-align: center;
}

.intro-servizi p {
  font-size: 20px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
  color: #333;
  padding: 20px 40px;
}

/* ===== RESPONSIVE (tablet + telefono) ===== */
@media (max-width: 900px) {

  /* NAVBAR */
  .navbar {
    padding: 16px 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .menu {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 0 !important;
  }

  .menu a {
    margin-left: 0 !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
    display: block !important;
  }

  /* HERO */
  .hero-card {
    width: 92vw !important;
    max-width: 520px !important;
    margin: 18px auto !important;
    padding: 24px 16px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }

  .text-col {
    width: 100% !important;
    margin-top: 0 !important;
  }

  .text-col h1 {
    font-size: 34px !important;
  }

  .intro {
    font-size: 26px !important;
  }

  .citazione {
    margin-right: 0 !important;
  }

  .img-col {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .side-photo {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 12px !important;
  }

  /* tutte le immagini responsive */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* SERVIZI */
  .servizi-grid {
    width: 92% !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .intro-servizi {
    width: 92% !important;
    margin: 40px auto 20px auto !important;
  }

  .intro-servizi p {
    padding: 12px 10px !important;
    font-size: 18px !important;
  }
}
/* ===== TUNING MOBILE: più simile al PC (incolla in fondo) ===== */
@media (max-width: 768px){

  /* menu: non enorme e non in colonna */
  .menu{
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
  }

  .menu a{
    font-size: 18px !important;
    margin-left: 0 !important;
  }

  /* Chi sono: immagine centrata e testo centrato */
  .chi-foto{
    width: 92% !important;
    max-width: 520px !important;
    margin: 18px auto 10px auto !important;
    display: block !important;
    border-radius: 18px !important;
  }

  .chi-intro{
    width: 92% !important;
    max-width: 560px !important;
    margin: 0 auto 24px auto !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
  }

  body{ overflow-x: hidden !important; }
}
