/* ========================= BASE ========================= */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #333;
  background-color: #ffffff;
  padding-top: 80px;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 80px 20px;
  text-align: center;
}

/* ========================= NAVBAR ========================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 18px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  z-index: 1000;
  background: transparent;
  transition: all 0.4s ease;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 4px;
  color: #000;

  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo {
  letter-spacing: 1px;
}

.paw {
  width: 26px;
  height: 26px;
  object-fit: contain;
  transform: translateY(1px); /* micro aggiustamento */
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.logo {
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #000;
}

.nav-menu {
  display: flex;
  gap: 18px;
  align-items: center;
  flex: 1;              /* 🔥 OCCUPA SPAZIO MA NON SPINGE */
  justify-content: center;
  margin-right: 10px;
  margin-left: auto;
  flex-wrap: wrap; /* QUESTO RISOLVE */
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
}

.nav-menu {
  flex-wrap: wrap;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #222;
  transition: 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.btn-nav {
  background: #222;
  color: white !important;
  padding: 10px 18px;
  border-radius: 6px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
    flex-shrink: 0;       /* 🔥 NON SI SCHIACCIA */
  font-size: 16px;
 font-weight: 600;
  background: white;
  padding: 6px 10px;
  border-radius: 8px;
  margin-left: 20px;    /* 🔥 VA A DESTRA SENZA USCIRE */
  white-space: nowrap;
}

.lang-btn {
  cursor: pointer;
  color: #000;
  opacity: 1;
  font-weight: 500;
}

.lang-btn:hover {
  opacity: 1;
}

.lang-btn.active {
  opacity: 1;
  font-weight: 700;
  text-decoration: underline;
  color: #000;
}

.lang-btn:not(.active) {
  opacity: 0.6;
}

/* ========================= HAMBURGER ========================= */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #333;
  margin: 4px 0;
  transition: 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 70px;
    right: 20px;
    background: white;
    flex-direction: column;
    width: 220px;
    padding: 25px;
    border-radius: 14px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .nav-menu.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
}

/* ========================= HERO ========================= */
.hero {
  height: 100vh;
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 0 20px;

  background: url('hero.jpg') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-content {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 4px; /* 👈 QUI controlli distanza logo-titolo */
}

.hero-logo {
  margin-bottom: -35px;
}

/* LOGO */
.hero-logo img {
  width: 340px;
  height: auto;
  display: block;
  margin: 0;
}

/* TESTI */
.hero-title {
  margin: 0;
  font-size: 46px;
  font-family: 'Cormorant Garamond', serif;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.1;

}
/* ========================= HERO CTA ========================= */

.hero-cta {
  display: inline-block;
  margin-top: 22px;
  padding: 13px 28px;

  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;

  text-decoration: none;
  color: #fff;

  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 30px;

  position: relative;
  z-index: 5;

  transition: all 0.35s ease;
}

.hero-cta:hover {
  background: #fff;
  color: #000;

  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

  /* 👇 CONTORNO */
text-shadow: 
  0px 2px 6px rgba(0,0,0,0.6),
  0px 0px 2px rgba(0,0,0,0.8);
}

.hero-subtitle {
  margin: 0;
  font-size: 1.2rem;
  color: #fff;
  max-width: 600px;
  line-height: 1.5;
}
/* ========================= GALLERY ========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  filter: brightness(1.15);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ========================= CTA ========================= */
.cta {
  background: #fff9f0;
  padding: 100px 20px;
  border-radius: 12px;
}

/* ========================= RECENSIONI UPGRADE ========================= */

/* GRID */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

/* CARD */
.review-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

/* HOVER */
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* STELLE */
.review-stars {
  color: #FFB400;
  font-size: 18px;
  margin-bottom: 10px;
}

/* TESTO */
.review-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}

/* AUTORE */
.review-author {
  font-size: 14px;
  color: #777;
  font-weight: 500;
}
/* ========================= FAQ PREMIUM ========================= */

.faq {
  max-width: 800px;
  margin: auto;
}

/* CARD */
.faq-item {
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  background: #fef7f0;
  transition: all 0.3s ease;
}

/* HOVER */
.faq-item:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* DOMANDA */
.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;

  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  color: #222;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ICONA + */
.faq-question::after {
  content: "+";
  font-size: 20px;
  transition: 0.3s;
}

/* ICONA APERTA */
.faq-question.active::after {
  content: "–";
}

/* RISPOSTA */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;

  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #555;
  padding: 0 20px;
}

/* APERTA */
.faq-answer.active {
  max-height: 200px;
  padding: 0 20px 18px;
}
/* ========================= WHATSAPP ========================= */
.whatsapp-float { 
  position: fixed; 
  bottom: 80px; 
  right: 20px; 
  background: #25D366; 
  padding: 15px; 
  border-radius: 50%; 
}

/* ========================= CONTATTI UPGRADE ========================= */
#contatti {
  text-align: center;
}

#contatti p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

#contatti a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

#contatti a:hover {
  text-decoration: underline;
  opacity: 0.7;
}

#contatti .cta-buttons {
  margin-top: 25px;
}

/* ========================= ANIMAZIONI ========================= */
.fade-in { opacity: 0; transform: translateY(30px); transition: 0.8s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========================= MAPPA (NUOVA) ========================= */
.map-container {
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ========================= RESPONSIVE ========================= */
/* ========================= RESPONSIVE ========================= */
@media (max-width: 768px) {
  h1.hero-title { font-size: 34px; }
  .hero { height: 90vh; }
  .hero-subtitle { font-size: 1.1rem; }

  /* LINGUA */
  .lang-switch {
    margin-top: 10px;
  }
}

/* ========================= LINGUA CORRETTA ========================= */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 20px;
}

.lang-btn {
  cursor: pointer;
  color: #333;
  opacity: 0.7;
  font-weight: 500;
  transition: 0.2s;
}

.lang-btn:hover {
  opacity: 1;
}

.lang-btn.active {
  opacity: 1;
  font-weight: 700;
  text-decoration: underline;
}

/* 🔥 FIX DEFINITIVO NAVBAR */
.navbar {
  display: flex;
  align-items: center;
}


/* LINGUA SEMPRE VISIBILE */
.lang-switch {
   position: fixed;
  right: 70px; /* un po’ a sinistra dell’hamburger */
  top: 22px;
  z-index: 1000;
}

/* 🔥 DESKTOP FIX NAVBAR */
@media (min-width: 900px) {
 .nav-menu {
  position: fixed;
  top: 70px;
  right: 20px;
  background: white;
  flex-direction: column;
  width: 220px;
  padding: 20px;
  border-radius: 12px;
  display: none;              /* chiuso */
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nav-menu.active {
  display: flex;              /* 🔥 SI APRE */
}

  .menu-toggle {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  right: 20px;
  top: 25px;
  z-index: 1000;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #000; /* NERO = sempre visibile */
  margin: 4px 0;
}

.hero-logo {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.hero-content {
  gap: 0px !important;
}

.hero-title {
  margin-top: 0 !important;
}
}

/* ========================= LA CASA UPGRADE ========================= */

/* restringe leggermente la larghezza per eleganza */
#la-casa {
  max-width: 800px;
}

/* sottotitolo elegante */
.casa-intro {
  font-size: 18px;
  color: #666;
  margin-top: -10px;
  margin-bottom: 25px;
  font-style: italic;
}

/* testo allineato a sinistra (più leggibile) */
.casa-text {
  text-align: left;
}

/* paragrafi più ariosi */
.casa-text p {
  font-size: 16.5px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 18px;
}

/* ========================= SERVIZI PREMIUM ========================= */

.servizi-section {
  max-width: 1000px;
}

.servizi-intro {
  font-size: 18px;
  color: #666;
  margin-top: -10px;
  margin-bottom: 50px;
}

/* GRID */
.servizi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

/* CARD */
.servizio-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 18px;
  text-align: left;

  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
  border: 1px solid rgba(0,0,0,0.04);
}

/* HOVER PREMIUM */
.servizio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* ICONA */
.servizio-icon {
  font-size: 28px;
  margin-bottom: 15px;
}

/* TITOLO */
.servizio-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

/* LISTA */
.servizio-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.servizio-card li {
  font-size: 15.5px;
  color: #444;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ========================= CTA SERVIZI ========================= */

.servizi-cta {
  margin-top: 60px;
  text-align: center;
}

/* ❌ NON più generico su tutti i p */
/* ✔ usiamo una classe dedicata SOLO se serve */
.servizi-cta .cta-text {
  font-size: 22px;
  color: #222;
  margin-bottom: 20px;
  font-weight: 500;
}

/* 👉 mantieni coerenza con intro sopra */
.servizi-cta .servizi-intro {
  font-weight: 600;
}

/* BOTTONE */
.btn-servizi {
  display: inline-block;
  padding: 14px 30px;
  background: #222;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* ✨ HOVER PREMIUM */
.btn-servizi:hover {
  background: #000;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* NOTA SOTTO */
.servizi-note {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #777;
}

/* ========================= CHI SIAMO PREMIUM ========================= */

.chi-siamo-section {
  max-width: 780px;
  margin: auto;
  text-align: center;
}

/* INTRO (coerente con CASA + SERVIZI) */
.chi-siamo-intro {
  font-size: 20px;
  color: #444;
  margin-bottom: 25px;
  font-weight: 500;
  line-height: 1.6;
}

/* BADGE HOST (effetto Airbnb) */
.host-badge {
  margin: 10px 0 25px;
}

.host-badge span {
  display: inline-block;
  background: #fef7f0;
  color: #222;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* TESTO */
.chi-siamo-text {
  max-width: 680px;
  margin: auto;
}

.chi-siamo-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 16px;
}

/* ✨ MICRO DETTAGLIO PREMIUM */
.chi-siamo-text p:last-child {
  margin-bottom: 0;
}

/* ========================= FIRMA HOST ========================= */

.host-signature {
  margin-top: 35px;
  text-align: center;
}

/* LINEA ELEGANTE */
.signature-line {
  display: block;
  width: 50px;
  height: 2px;
  background: #d6d6d6;
  margin: 0 auto 12px;
  border-radius: 2px;
}

/* NOME */
.signature-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #111;
  letter-spacing: 1px;
  margin: 0;
}

@media (max-width: 768px) {

  .hero-cta {
    padding: 12px 22px;
    font-size: 14px;
  }

  /* HERO più compatta */
  .hero {
    padding: 110px 20px 50px;
    height: auto;
    min-height: 90vh;
  }

  /* LOGO più piccolo */
  .hero-logo img {
    width: 160px;
  }

  /* TITOLO più leggibile */
  .hero-title {
    font-size: 26px;
    line-height: 1.3;
    text-align: center;
  }

  /* SOTTOTITOLO */
  .hero-subtitle {
    font-size: 1rem;
    text-align: center;
  }

  /* SPAZI */
  .hero-content {
    gap: 12px;
  }

  