/* Centra l'ultimo servizio */
.servizio-centro {
  display: block;
  
  
  text-align: center;
  width: 600px;
  padding-right: 100em;
}
/* Cookie banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(212, 165, 165, 0.98);
  color: #333;
  z-index: 9999;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
  font-size: 1em;
}
.cookie-banner-content {
  max-width: 900px;
  margin: auto;
  padding: 1em 2em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}
#cookie-banner a {
  color: #a46060;
  text-decoration: underline;
}
#accept-cookies {
  background: #a46060;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5em 1.2em;
  cursor: pointer;
  font-size: 1em;
}
body {
  font-family: 'Cormorant Garamond', serif;
  margin: 0;
  padding: 0;
  background-color: #fff9f9;
  color: #333;
}
h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Header */
header {
  background-image: url('Banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #d4a5a5; /* Fallback color */
  color: white;
  min-height: 360px; /* altezza banner desktop aumentata */
  display: flex;
  align-items: center; /* centra verticalmente il contenuto */
  justify-content: center; /* centra orizzontalmente */
  text-align: center;
  padding: 1.5em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Overlay semi-trasparente per migliorare la leggibilità del testo */
header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(212, 165, 165, 0.3);
  z-index: 1;
}

/* Assicura che il testo sia sopra l'overlay */
header h1 {
  position: relative;
  z-index: 2;
  margin: 0; /* elimina spazio extra che altera l'altezza percepita */
}

/* Bottone menu */
#menu-toggle {
  position: fixed;
  top: 1em;
  left: 1em;
  z-index: 1000;
  cursor: pointer;
}

.menu-toggle-content {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  padding: 4px 8px;
  border-radius: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.menu-toggle-content img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.menu-toggle-content:hover img {
  transform: rotate(20deg);
  filter: drop-shadow(0 0 5px #d4a5a5);
}

.menu-toggle-content span {
  font-weight: bold;
  font-size: 1.6em;
  color: #d4a5a5;
}

/* Menu laterale */
#side-menu {
  position: fixed;
  left: -220px;
  top: 0;
  width: 220px;
  height: 100%;
  background-color: #d4a5a5;
  padding-top: 60px;
  z-index: 999;
  transition: left 0.3s ease;
  text-align: left;
}

#side-menu.open {
  left: 0;
}

#side-menu ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

#side-menu ul li a {
  display: block;
  padding: 0.6em 1.5em; /* ← aumentato da 1em a 1.5em */
  text-align: left;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

#side-menu ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Overlay */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  z-index: 500;
  display: none;
}

#side-menu.open ~ #overlay {
  display: block;
}

/* Slider galleria */


.galleria-titolo {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5em;
  color: #d4a5a5;
  margin-bottom: 0.5em;
}

.gallery-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
  max-width: 900px;
  margin: auto;
}

.gallery-strip img {
  width: 250px;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  transition: all 0.4s ease;
}

.gallery-strip img.blurred {
  filter: blur(2px) brightness(0.6);
  opacity: 0.6;
  transform: scale(0.95);
}

.gallery-strip img.active {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.frase-ispirata {
  text-align: center;
  font-style: italic;
  font-size: 1.3em;
  color: #a46060;
  margin-top: 2em;
}

  

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Titolo Galleria centrato */
.galleria-titolo {
  text-align: center;
  font-size: 3em;
  color: #d4a5a5;
  margin-bottom: 1em;
  text-shadow: none; /* elimina effetto sfocato ereditato dagli h1 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Logo del negozio */
#logo-box {
  position: fixed;
  top: 1em;
  right: 1em;
  z-index: 1000;
}

#logo-box img {
  width: 64px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

#logo-box:hover img {
  transform: scale(1.05);
}


/* Chi sono */
.chi-sono {
  padding: 3em 1.5em;
  max-width: 800px;
  margin: auto;
  text-align: left;
  font-size: 1.1em;
  line-height: 1.8;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.chi-sono h2 {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5em;
  color: #d4a5a5;
  margin-bottom: 1em;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*Servizi */
.servizi {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Due colonne fisse */
  gap: 2em;
  padding: 2em;
  max-width: 1200px;
  margin: 0 auto;
}

.servizio {
  background-color: #fff5f5;
  border-radius: 10px;
  padding: 1.5em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.servizio:hover {
  transform: scale(1.02);
}

.servizio img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1em;
}

.servizio h2 {
  color: #d4a5a5;
  margin-bottom: 0.5em;
}

.servizio p {
  line-height: 1.5;
}




/* Footer */
.footer-full {
  background-color: #d4a5a5;
  color: white;
  padding: 3em 1em 2em;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeFooter 1s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes fadeFooter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  max-width: 1000px;
  margin: auto;
  text-align: left;
}

.footer-column {
  flex: 1 1 220px;
}

.footer-column h3 {
  margin-bottom: 0.5em;
  font-size: 1.2em;
}

.footer-column p,
.footer-column ul li {
  margin: 0.3em 0;
  font-size: 1em;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li a,
.footer-full a {
  color: white;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover,
.footer-full a:hover {
  color: #fff0f0;
}

.footer-copy {
  margin-top: 2em;
  font-size: 0.9em;
  color: #f5f5f5;
}



/*Preventivo */
.form-section {
  padding: 2em;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.preventivo-form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 1em;
}

.preventivo-form label {
  text-align: left;
  font-weight: bold;
  color: #d4a5a5;
}

.preventivo-form input,
.preventivo-form select,
.preventivo-form textarea {
  padding: 0.8em;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  background-color: #fff9f9;
}

.preventivo-form textarea {
  resize: vertical;
}

.preventivo-form button {
  background-color: #d4a5a5;
  color: white;
  border: none;
  padding: 1em;
  font-size: 1em;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.preventivo-form button:hover {
  background-color: #a46060;
}

/* Link attivo nel menu */
#side-menu a.active-page {
  background-color: #ffffff33;
  padding: 0.4em 1em;
  border-radius: 20px;
}

/*appuntamento */

.form-section {
  padding: 2em;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.appuntamento-form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 1em;
}

.appuntamento-form label {
  text-align: left;
  font-weight: bold;
  color: #d4a5a5;
}

.appuntamento-form input,
.appuntamento-form select,
.appuntamento-form textarea {
  padding: 0.8em;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  background-color: #fff9f9;
}

.appuntamento-form textarea {
  resize: vertical;
}

.appuntamento-form button {
  background-color: #d4a5a5;
  color: white;
  border: none;
  padding: 1em;
  font-size: 1em;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.appuntamento-form button:hover {
  background-color: #a46060;
}

/* orari */

.orari-section {
  padding: 2em;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.orari-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}

.orari-table th, .orari-table td {
  border: 1px solid #ccc;
  padding: 1em;
  font-size: 1em;
}

.orari-table th {
  background-color: #d4a5a5;
  color: white;
}

.orari-table tr.highlighted {
  background-color: #fff0f0;
  font-weight: bold;
}

.festivi {
  margin-top: 2em;
  font-style: italic;
}

/* dove siamo */
.dove-section {
  padding: 2em;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.indirizzo-box h2 {
  color: #d4a5a5;
  margin-bottom: 0.3em;
}

.indirizzo-box p {
  font-size: 1.1em;
  line-height: 1.5;
}

.mappa-btn {
  margin: 1em 0;
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
}

.mappa-btn a {
  background-color: #d4a5a5;
  color: white;
  padding: 0.6em 1.2em;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.mappa-btn a:hover {
  background-color: #a46060;
}

.mappa-embed {
  margin-top: 2em;
}

/* Contatti */

.contatti-section {
  padding: 2em;
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.contatti-section p {
  font-size: 1.1em;
  margin-bottom: 2em;
}

.contatto-box {
  background-color: #fff5f5;
  padding: 1.5em;
  margin-bottom: 1.5em;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.contatto-box h2 {
  color: #d4a5a5;
  margin-bottom: 0.5em;
}

.contatto-box p a {
  color: #a46060;
  text-decoration: none;
  font-weight: bold;
}

.contatto-box p a:hover {
  text-decoration: underline;
}

/* Recensioni */

.recensioni-section {
  padding: 2em;
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.recensioni-section p {
  font-size: 1.1em;
  margin-bottom: 1.5em;
}

.qr-box {
  background-color: #fff5f5;
  padding: 2em;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.qr-box img {
  width: 200px;
  height: 200px;
  margin-bottom: 1em;
}

.qr-box a {
  display: inline-block;
  margin-top: 1em;
  background-color: #d4a5a5;
  color: white;
  padding: 0.6em 1.2em;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.qr-box a:hover {
  background-color: #a46060;
}

/* Icona WhatsApp flottante */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 2px 2px 15px rgba(0,0,0,0.4);
}

.whatsapp-icon {
  font-size: 32px;
  line-height: 1;
}

/* Alternativa con testo "WA" */
.whatsapp-float::before {
  content: "WA";
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.whatsapp-icon {
  display: none;
}

/* Animazione di pulsazione per l'icona WhatsApp */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.whatsapp-float {
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  animation: none;
}

/* RESPONSIVE DESIGN - MOBILE */
@media (max-width: 768px) {
  /* Header/banner responsive */
  header {
    min-height: 200px;
    padding: 1.2em;
    background-position: center top; /* mostra parte alta su schermi stretti */
  }
  
  /* Form appuntamento ottimizzato per mobile */
  .form-section {
    padding: 1em;
    margin: 0;
  }
  
  .appuntamento-form {
    gap: 1.2em;
  }
  
  .appuntamento-form input,
  .appuntamento-form select,
  .appuntamento-form textarea {
    padding: 1em;
    font-size: 16px; /* Previene zoom automatico su iOS */
    border-radius: 12px;
    border: 2px solid #ddd;
    background-color: white;
  }
  
  .appuntamento-form input:focus,
  .appuntamento-form select:focus,
  .appuntamento-form textarea:focus {
    border-color: #d4a5a5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 165, 165, 0.1);
  }
  
  .appuntamento-form button {
    padding: 1.2em;
    font-size: 1.1em;
    border-radius: 12px;
    margin-top: 1em;
  }
  
  .appuntamento-form label {
    font-size: 1.1em;
    margin-bottom: 0.3em;
  }
  
  /* Header responsive */
  header h1 {
    font-size: 2.2em;
    padding: 1em;
  }
  
  /* Menu toggle più grande per touch */
  #menu-toggle {
    top: 0.8em;
    left: 0.8em;
  }
  
  .menu-toggle-content {
    padding: 6px 12px;
    gap: 8px;
  }
  
  .menu-toggle-content img {
  width: 24px;
  height: 24px;
  }
  
  .menu-toggle-content span {
    font-size: 1.8em;
  }
  
  /* Logo responsive */
  #logo-box {
    top: 0.8em;
    right: 0.8em;
  }
  
  #logo-box img {
  width: 32px;
  }
  
  /* WhatsApp button più accessibile */
  .whatsapp-float {
    width: 65px;
    height: 65px;
    bottom: 25px;
    right: 15px;
  }
  
  .whatsapp-float::before {
    font-size: 20px;
  }
  
  /* Servizi grid responsive */
  .servizi {
    grid-template-columns: 1fr;
    gap: 1.5em;
    padding: 1em;
  }
  
  /* Galleria responsive - mantiene layout orizzontale */
  .gallery-strip {
    flex-direction: row;
    gap: 0.8em;
    overflow-x: auto;
    padding: 0 1em;
  }
  
  .gallery-strip img {
    width: 180px;
    height: 220px;
    flex-shrink: 0;
  }
  
  .gallery-strip img.blurred {
    width: 160px;
    height: 200px;
  }
  
  .gallery-strip img.active {
    width: 200px;
    height: 240px;
  }
  
  /* Scroll orizzontale fluido */
  .gallery-strip::-webkit-scrollbar {
    height: 4px;
  }
  
  .gallery-strip::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }
  
  .gallery-strip::-webkit-scrollbar-thumb {
    background: #d4a5a5;
    border-radius: 10px;
  }
  
  /* Tabella orari responsive */
  .orari-table {
    font-size: 0.9em;
  }
  
  .orari-table th,
  .orari-table td {
    padding: 0.7em 0.5em;
  }
  
  /* Contatti responsive */
  .contatto-box {
    padding: 1.2em;
    margin-bottom: 1em;
  }
  
  /* Footer responsive */
  .footer-content {
    flex-direction: column;
    gap: 1.5em;
    text-align: center;
  }
  
  /* Generale responsive */
  .chi-sono,
  .contatti-section,
  .recensioni-section,
  .dove-section,
  .orari-section {
    padding: 1.5em 1em;
  }
  
  /* Menu laterale responsive */
  #side-menu {
    width: 250px;
    left: -250px;
  }
  
  #side-menu ul li a {
    padding: 1em 1.5em;
    font-size: 1.1em;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  /* Footer mobile: meno spazio tra colonne */
  .footer-content {
    gap: 0.7em;
    padding-bottom: 0.5em;
  }
  /* Menu e logo più piccoli su smartphone */
  #menu-toggle {
    top: 0.5em;
    left: 0.5em;
  }
  .menu-toggle-content {
    padding: 2px 6px;
    gap: 5px;
  }
  .menu-toggle-content img {
  width: 16px;
  height: 16px;
  }
  .menu-toggle-content span {
    font-size: 0.5em;
  }
  #logo-box {
    top: 0.5em;
    right: 0.5em;
  }
  #logo-box img {
    width: 18px;
  }
  /* Header/banner extra small */
  header {
    min-height: 160px;
    padding: 1em;
    background-position: center top;
  }
  header h1 {
    font-size: 1.6em;
  }
  
  .appuntamento-form input,
  .appuntamento-form select,
  .appuntamento-form textarea {
    font-size: 16px;
    padding: 1.1em;
  }
  
  header h1 {
    font-size: 1.8em;
  }
  
  .galleria-titolo {
    font-size: 2em;
  }
  
  .chi-sono h2 {
    font-size: 2em;
  }
  
  .whatsapp-float {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 10px;
  }

    /* Recensioni mobile */
    .recensioni-section {
      padding: 1em 0.5em;
      font-size: 1em;
    }
    .recensioni-section p {
      font-size: 1em;
      margin-bottom: 1em;
    }
    .qr-box {
      padding: 1em;
      border-radius: 8px;
      box-shadow: 0 1px 4px rgba(0,0,0,0.08);
      margin: 0 auto 1em auto;
      max-width: 95vw;
    }
    .qr-box img {
      width: 140px;
      height: 140px;
      margin-bottom: 0.7em;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
    .qr-box a {
      font-size: 1em;
      padding: 0.5em 1em;
      border-radius: 20px;
      margin-top: 0.5em;
      display: inline-block;
    }
    .qr-box p {
      font-size: 0.95em;
      margin-bottom: 0.5em;
    }
    header {
      min-height: 120px;
      padding: 0.7em;
    }
    .galleria-titolo {
      font-size: 1.3em;
      margin-top: 1em;
      margin-bottom: 1em;
    }
  
  .menu-toggle-content span {
    font-size: 1.6em;
  }
  
  /* Galleria extra small - ancora più compatta ma orizzontale */
  .gallery-strip img {
    width: 140px;
    height: 180px;
  }
  
  .gallery-strip img.blurred {
    width: 120px;
    height: 160px;
  }
  
  .gallery-strip img.active {
    width: 160px;
    height: 200px;
  }
}

/* Desktop wide: aumenta altezza banner su monitor grandi */
@media (min-width: 1440px) {
  header {
    min-height: 420px;
  }
}

@media (min-width: 1920px) {
  header {
    min-height: 500px;
  }
}

