/* ! Reset */
body,
html {
  /*font-family: 'Intro', Arial, Helvetica, sans-serif;*/
  font-family: "Raleway", sans-serif;
  color: #222;

  font-size: 13px;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background-color: #fff;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0 0 1rem 0;
  padding: 0;
}

ol,
ul {
  list-style-type: none;
}

img {
  height: auto;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1rem;
}

h5 {
  font-size: 0.8rem;
}

h6 {
  font-size: 0.6rem;
}

a {
  text-decoration: none
}

html, body {
  overflow-x: hidden;
}


.uppercase {
  text-transform: uppercase;
}

.text {
  margin: 0 auto;
  height: auto;
  width: 100%;
  align-items: center;
  text-align: center;
  padding: 50px 0 5px 0;
}

/*font family*/
.montserrat-div {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 3em;
  letter-spacing: 1px;
  color: #333;
}



.montserrat-div h3 {
  font-size: 14px;
}


@media (max-width: 768px) {
  .montserrat-div {
    font-size: 11px;
    line-height: 2em;
  }
}


.buttonReadMore {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;

  height: 30px;
  width: 30px;
  /*border: 1px solid #000;*/
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  background-color: transparent;
  cursor: pointer;
  font-size: 20px;
  text-decoration: none;
  margin: 0 auto;
  /* 💡 Questo centra l'elemento blocco */
}


.buttonReadMore:hover {
  background-color: #e720cd;
  color: #fff;
}


@media (max-width: 768px) {
  .buttonReadMore {
    height: 20px;
    width: 20px;
  }
}







/**********************RECAPITO E POSIZIONE IN TOP**************************/
.contatti-box {
  padding: 0.5rem;
  background-color: #fff;
  border-radius: 12px;

  /*box-shadow: 0 0 12px rgba(0,0,0,0.08);*/

  font-family: 'Raleway', sans-serif;
  max-width: 900px;
  margin: 1rem auto;
}

.contatti-title {
  font-size: clamp(1.5rem, 2vw, 2rem);
  color: #b41515;
  margin-bottom: 1rem;
  text-align: center;
}

.contatti-riga {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: nowrap;

  /*Crea barra inferiore per eventuale */
  /*overflow-x: auto;  Abilita scorrimento orizzontale se il contenuto fuoriesce*/
}

@media (max-width: 600px) {
  .contatti-riga {
    flex-direction: column;
    /* Diventa verticale */
    align-items: flex-start;
    /* Allinea a sinistra (opzionale) */
    gap: 1rem;
    /* Spazio tra i blocchi, ridotto su mobile */
    overflow-x: unset;
    /* Disattiva scroll orizzontale */
  }
}

.contatto {
  display: inline-flex;
  align-items: center;
  font-size: clamp(1rem, 2vw, 1.2rem);
  gap: 0.5rem;
  white-space: nowrap;
}

.telefono-link {
  font-weight: bold;
  text-decoration: none;
  color: #222;
}

.telefono-link:hover {
  color: #b41515;
  text-decoration: underline;
}

.map-icon-link {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.map-icon-link:hover {
  transform: scale(1.1);
}

.social-links a {
  color: #444;
  font-size: clamp(1.5rem, 2vw, 2rem);
  /*font-size: 24px;*/
  transition: color 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  color: #e1306c; /* Instagram color */
}

.social-links a:nth-child(2):hover {
  color: #1877f2; /* Facebook color */
}




/* ! Grid System con grid e colonne a .col .tab. sma*/
.grid {
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1650px;
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;

}

.grid--center {
  justify-content: center;
  text-align: center;
  display: flex;
}

.align-right {
  text-align: right;
}

.col {
  flex: 1;
}

[class*='col-'] {
  position: relative;
  padding: 0 15px;
}

.grid .grid [class*='col-'] {
  padding: 0px;
}

.col-20 {
  width: 20%;
}

.col-25 {
  width: 25%;
}

.col-30 {
  width: 30%;
}

.col-33 {
  width: 33.33%;
}

.col-50 {
  width: 50%;
}

.col-70 {
  width: 70%;
}

.col-80 {
  width: 80%;
}

.col-100 {
  width: 100%;
}

@media (max-width: 991px) {
  .tab-20 {
    width: 20%;
  }

  .tab-25 {
    width: 25%;
  }

  .tab-33 {
    width: 33.33%;
  }

  .tab-50 {
    width: 50%;
  }

  .tab-100 {
    width: 100%;
  }
}

@media (max-width: 768px) {

  .sma-20 {
    width: 20%;
  }

  .sma-25 {
    width: 25%;
  }

  .sma-33 {
    width: 33.33%;
  }

  .sma-50 {
    width: 50%;
  }

  .sma-100 {
    width: 100%;
  }
}

/***************************MENU*******************************/
/* ==== BASE ==== */

.arrow {
  display: inline-block;
  margin-left: 0.4rem;
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #e720cd;
  transition: all 0.3s ease;
}

.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ==== DESKTOP ==== */
@media (min-width: 769px) {
  .main-nav {
    display: block;
  }

  .main-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }

  .main-nav li {
    position: relative;
  }

  .main-nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: black;
    text-decoration: none;
    padding: 0.5rem;
    transition: color 0.3s ease;
  }

  .main-nav a:hover {
    color: #e720cd;
  }

  .main-nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    min-width: 180px;
    z-index: 1000;

  }

  .main-nav li:hover>.submenu {
    display: block;
  }

  .submenu li a {
    padding: 0.5rem 1rem;
    display: block;
    font-size: 1rem;
    color: black;
    background-color: #fff;
  }

  .submenu li a:hover {
    background-color: #f3f3f3;
  }
}

/* ==== MOBILE ==== */
@media (max-width: 800px) {
  .menu-toggle {
    display: flex;
    position: fixed;
    top: 1rem;
    right: 1rem;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 220px;
    background-color: #d2a8a8;
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    transition: right 0.4s ease-in-out;
    z-index: 1000;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .main-nav ul li {
    border-bottom: 1px solid #444;
    width: 100%;
  }

  .main-nav a {
    font-size: 1.2rem;
    color: #fff;
  }

  /* SOTTOMENU slide */
  .submenu {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: #c59292;
    padding-left: 1rem;
  }

  .submenu.open-submenu {
    max-height: 500px;
  }

  .submenu a {
    color: #fff;
  }

  .main-nav a.open .arrow {
    transform: rotate(180deg);
  }
}

/**************HERO*******************************************************************************/

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;

  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 1;
}

.hero-figure {
  /*position: absolute;*/
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  margin: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-figure picture,
.hero-figure img {
  /*position: absolute;
  top: 0;
  left: 0;*/
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top;
  z-index: 1;

  display: block;
}

.hero-text {
  position: absolute;
  z-index: 3;
  text-align: center;
  color: white;
  padding: 2rem;
  top: 50%;

  width: 90%;
  /*transform: translateY(-50%);*/


  transform: translate(-50%, -50%);
  left: 50%;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 500;
  margin: 0 0 1rem;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6);
  line-height: 40px;
}

.hero-text p {
  font-size: clamp(1rem, 3vw, 1.5rem);
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);

}





/*BUTTON HERO*/
.hero-button-wrapper {
  position: absolute;
  bottom: 30px;
  /* distanza dal fondo */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;

}



.hero-button {
  display: inline-flex;
  /*padding: 8px 18px;*/
  padding: 0.75rem 1.5rem;
  gap: 0.5rem;
  font-size: 1.5rem;
  /* grande su desktop */
  font-weight: 400;
  background-color: #e720cd;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  transition: background-color 0.3s ease, transform 0.2s ease;
  align-items: center;
  text-align: center;

}

.hero-button:hover {
  background-color: #e58000;
  transform: scale(1.05);
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-button {
    font-size: 1.5rem;
    padding: 14px 28px;
  }
}

/* Smartphone (max-width: 600px) 


@media (max-width: 600px) {
  .hero-button {
    font-size: 1rem;
    padding: 12px 24px;

    flex-direction: column;
   
    gap: 0.3rem;
    
  }
}
*/


@media (max-width: 768px) {
  .text {
    width: 90%;
  }
}

.phone-icon {
  animation: none;
  transition: transform 0.3s ease;
}


.hero-button:hover .phone-icon {
  animation: pulse 0.6s infinite alternate;
}

/* Animazione pulse sull’icona */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.2);
  }
}

@media (max-width: 768px) {
  .hero-button-wrapper span{font-size: 1rem;}
  .phone-icon{width: 30px; height: 30px;}
}


/*TESTO DI BENVENUTO*************************************************************************/

.servizi-centro {
  max-width: 1200px;
  margin: auto;
  padding: 2rem 1rem;
  font-family: "Raleway", sans-serif;
  color: #222;
}

.intro,
.cta {
  text-align: center;
  margin-bottom: 2rem;
}

.griglia-servizi {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.servizio {
  background-color: #f9f9f9;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.servizio h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #b41515;
}

.servizio ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0 0;
}

.servizio li {
  margin-bottom: 0.4rem;
}

.servizio p {
  margin: 0.5rem 0 0;
  font-size: 1rem;
}

@media (min-width: 600px) {
  .griglia-servizi {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .griglia-servizi {
    grid-template-columns: repeat(3, 1fr);
  }
}

/**********************INVITO SOCIAL******************************/
  .social-follow {
      font-family: 'Raleway', sans-serif;
      text-align: center;
      padding: 2rem;
      background-color: #f9f9f9;
      color: #222;
     border-radius: 1rem;
    }

    .social-follow h2 {
      color: #b41515;
      font-size: 1.8rem;
      margin-bottom: 1rem;
    }

    .social-follow p {
      font-size: 1.1rem;
      margin-bottom: 1rem;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }

    .social-follow ul {
      list-style: none;
      padding: 0;
      margin: 1.5rem 0;
    }

    .social-follow ul li {
      margin-bottom: 0.4rem;
    }

    .social-buttons {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      margin-top: 1rem;
      flex-wrap: wrap;
    }

    .social-buttons a {
      display: inline-block;
    }

    .social-buttons img {
      width: 40px;
      height: 40px;
      transition: transform 0.3s ease;
    }

    .social-buttons img:hover {
      transform: scale(1.1);
    }

    @media (max-width: 600px) {
      .social-follow h2 {
        font-size: 1.4rem;
      }

      .social-follow p {
        font-size: 1rem;
      }
    }

    /*BORDO LUMINOSO PERSISTENTE*/
    .social-follow {
  border: 2px solid transparent;
  box-shadow: none;
  transition: all 0.4s ease;
}

.social-follow.glow {
  border-color: rgba(255, 100, 100, 0.7);
  box-shadow: 0 0 15px rgba(255, 100, 100, 0.7);
}



/***********************TESTO SOLARIUM*********************************************************************/
.solarium-services {
  font-family: 'Raleway', sans-serif;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
  color: #222;
  background-color: #f9f9f9;
}

.solarium-services h2,
.solarium-services h3 {
  color: #b41515;
  margin-top: 1.5rem;
}

.solarium-services h3 {
  font-size: 1.3rem;
}

.solarium-services ul {
  padding-left: 1.2rem;
}

.solarium-services ul li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
}

.solarium-services p {
  margin-top: 0.5rem;
  font-size: 1rem;
}


/* 1 colonne con immagini con struttura a display grid e colonne a grid-template-columns Codice **************************/

.image-grid-wrapper-uno {
  /*padding: 1rem;*/
  width: 100%;
  position: relative;
  z-index: 1;
  /*margin-top: 2rem;*/
}

@media (min-width: 1024px) {
  .image-grid-wrapper-uno {
    width: 50%;
    margin: 0 auto;
    padding: 3rem;
  }
}

.image-grid-uno {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  /* desktop, tablet e mobile */
  padding: 1rem;
  box-sizing: border-box;
}

/*RENDE RETTAGOLARE LA SOLA IMMAGINE PER SCHERMI DESKTOP NELLA SOLA IMAGE-GRID-WRAPPER UNO QUINDI NELLA GRID A UNA COLONNA*/
@media (min-width: 1024px) {
  .image-grid-wrapper-uno .image-container img {
    aspect-ratio: 3 / 2;
    /* rettangolare: ad es. 1200x800 */
    height: auto;
    /* o puoi usare height: 400px per forzarla */
    object-fit: cover;
    /* mantiene proporzioni riempiendo il contenitore */
  }
}

/************************2 Colonne con immagini con struttura con display grid e colonne a grid-template-columns************************/
.image-grid-wrapper-due {
  /*padding: 1rem;*/
  width: 100%;
  position: relative;
  z-index: 1;
  /*margin-top: 2rem;*/
}

@media (min-width: 1024px) {
  .image-grid-wrapper-due {
    width: 50%;
    margin: 0 auto;
    padding: 3rem;
  }
}

.image-grid-due {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  /* mobile */
  padding: 1rem;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .image-grid-due {
    grid-template-columns: repeat(2, 1fr);
    /* tablet */
  }
}

@media (min-width: 1024px) {
  .image-grid-due {
    grid-template-columns: repeat(2, 1fr);
    /* desktop */
  }
}

/*********************4 Colonne con immagini con struttura con display grid e colonne a grid-template-columns***********************/
.image-grid-wrapper-quattro {
  /*padding: 1rem;*/
  width: 100%;
  position: relative;
  z-index: 1;
  /*margin-top: 2rem;*/
}

@media (min-width: 1024px) {
  .image-grid-wrapper-quattro {
    width: 50%;
    margin: 0 auto;
    padding: 3rem;
  }
}

.image-grid-quattro {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  /* mobile */
  padding: 1rem;
  box-sizing: border-box;
}



/*
@media (min-width: 1024px) {
  .image-grid-quattro {
    grid-template-columns: repeat(2, 1fr);
   
  }
}
  */

@media (min-width: 2560px) {
  .image-grid-quattro {
    grid-template-columns: repeat(2, 1fr);
    /* desktop */
  }
}




/*********************6 Colonne con immagini con struttura con display grid e colonne a grid-template-columns***********************/
.image-grid-wrapper {
  /*padding: 1rem;*/
  width: 100%;
  position: relative;
  z-index: 1;
  /*margin-top: 2rem;*/
}

@media (min-width: 1024px) {
  .image-grid-wrapper {
    width: 90%;
    margin: 0 auto;
    padding: 3rem;

  }
}

.image-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  /* mobile */
  padding: 1rem;
  box-sizing: border-box;

}

@media (min-width: 600px) {
  .image-grid {
    grid-template-columns: repeat(3, 1fr);
    /* tablet */
  }
}

@media (min-width: 1024px) {
  .image-grid {
    grid-template-columns: repeat(6, 1fr);
    /* desktop */
  }
}

.image-container {
  position: relative;
  overflow: hidden;
  margin-top: 5px;
  border-radius: 30px;

}

/*
.panel-text {
  position: relative;
  margin-left: -100px;
  margin-top: 200px;
  align-items: center;
  text-align: center;
  background-color: white;
  height: 50%;
  width: 100%;
  display: flex;


}
*/
@media (min-width: 1024px) {
  .panel-text {
    font-size: 30px;
  }

}

@media (max-width: 768px) {
  .panel-text {
    margin-left: 0;
    margin-top: 0;
  }
}

.image-container img {
  width: 100%;
  height: 100%;
  display: block;
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
  opacity: 1;
  object-fit: contain;

}



.image-container img:hover {
  opacity: 0.5;
}

figure {
  position: relative;
  margin: 0 auto;
}

figcaption {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: block;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  text-align: center;
  width: 100%;

  /*background-color: #e720cd;*/
  /*  margin: 0 auto;
  justify-content: center;
  pointer-events: none;*/

}

figcaption.bg-rosa {
  background-color: #f3d1ee;
}

figcaption.bg-verde {
  background-color: #bfeed2;
}

figcaption.bg-arancio {
  background-color: #f7b5ac;
}

figcaption.bg-azzurro {
  background-color: #a3aeb5;
}

figcaption.bg-giallo {
  background-color: #d1d7b4;
}

figcaption.bg-blu {
  background-color: #aea8d1;
}

figcaption.bg-verde-light {
  background-color: #b2daa6;
}

figcaption a {
  margin-top: 0.5rem;
  text-align: center;
  display: inline-block;
}



figcaption h3,
figcaption .text-figcaption {
  pointer-events: auto;
  /*per permettere il clic su link o pulsanti */
}

/*Pannello a scorrimento verticale per visualizzazione testo*/
.panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  color: #111;
  padding: 1rem;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
  z-index: 1;
  height: 100%;
  overflow-y: auto;
  pointer-events: none;
}

.panel.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}


.panel-content {
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
}

.panel h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}


/*PUBBLICITA'PRODOTTI*/
.prodotti {
  background-color: #fffdf7;
  color: #333;
  padding: 3rem 1rem;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.contenitore {
  max-width: 960px;
  margin: 0 auto;
}

.prodotti h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #b41515;
  margin-bottom: 1rem;
  text-align: center;
}

.elenco-prodotti {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.elenco-prodotti li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd;
}

.nome-prodotto {
  font-weight: bold;
  color: #000;
}

.call-to-action {
  text-align: center;
  font-size: 1.2rem;
  margin-top: 2rem;
  background-color: #f7f2eb;
  padding: 1rem;
  border-left: 4px solid #b41515;
}



/************SLIDER PRODOTTI************************/
/* CONTENITORE GENERALE */
.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
  padding: 1rem 0;
}

/* BOTTONI FRECCIA */
.slider-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  padding: 0 1rem;
  z-index: 10;
}
.slider-btn:focus {
  outline: 2px solid #000;
}

/* CONTENITORE SCORRIBILE */
.slider {
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  flex: 1;
}
.slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

/* TRACK + SLIDE */
.slider-track {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}
.slider-track li {
  scroll-snap-align: center;
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 1rem;
}

/* CONTENUTO SLIDE */
.slide-content {
  text-align: center;
  width: 100%;
  max-width: 400px;
}
.text-top,
.text-bottom {
  font-size: 1rem;
  margin: 0.5rem 0;
  color: #333;
}
figure {
  margin: 0;
}
.slider-img {
  width: 70%;
  max-width: 250px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ccc;
}

/* Responsive */
@media (max-width: 600px) {
  .text-top,
  .text-bottom {
    font-size: 0.9rem;
  }
  .slider-img {
    width: 80%;
    max-width: 200px;
  }
}




/******************ORARI************************************/
.orari {
  background-color: #fafafa;
  color: #222;
  padding: 3rem 1rem;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.orari h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #b41515;
  margin-bottom: 1rem;
  text-align: center;
}

.tabella-orari {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  border-collapse: collapse;
  text-align: left;
  font-size: 1rem;
}

.tabella-orari th,
.tabella-orari td {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
}

.tabella-orari thead {
  background-color: #f1f1f1;
}

.tabella-orari td small {
  color: #666;
  font-style: italic;
  display: block;
  margin-top: 0.25rem;
}

.nota-estiva {
  text-align: center;
  font-size: 1rem;
  margin-top: 2rem;
  background-color: #fff8f5;
  padding: 1rem;
  border-left: 4px solid #b41515;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.paragrafo-centrato {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
}

/*********************MAPPA********************************/
.mappa-google {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}




/************************FOOTER*******************************************************************************/
.site-footer {
  background-color: #111;
  color: #eee;
  padding: 2rem 1rem;
  font-family: 'Arial', sans-serif;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  gap: 2rem;
}

@media (max-width: 768px) {
  .footer-container{gap: 0.5rem;}
}

.footer-col {
  flex: 1 1 250px;
  min-width: 220px;
}

.footer-col h3,
.footer-col h4 {
  color: #f4d03f;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #444;
  margin-top: 2rem;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-col{max-height: 150px;} /*Altezza max colonna su mobile*/
}



/*Icona telefono*/


.phone-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #28a745;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.phone-float:hover {
  background-color: #218838;
  transform: scale(1.1);
}

.phone-float svg {
  pointer-events: none;
}



/******************************MANICURE****************/
.manicure-section {
  font-family: 'Raleway', sans-serif;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
  color: #222;
  line-height: 1.6;
}

.manicure-section h2,
.manicure-section h3 {
  color: #b41515;
  margin-top: 1.5rem;
}

.manicure-section ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.manicure-section ul li {
  list-style: disc;
  margin-bottom: 0.4rem;
}

.manicure-section p {
  margin: 0.8rem 0;
}

@media (max-width: 600px) {
  .manicure-section {
    padding: 1rem;
    font-size: 1rem;
  }

  .manicure-section h2 {
    font-size: 1.4rem;
  }

  .manicure-section h3 {
    font-size: 1.2rem;
  }
}

/***********************PEDICURE***************************/
.pedicure-section {
  font-family: 'Raleway', sans-serif;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
  color: #222;
  line-height: 1.6;
}

.pedicure-section h2,
.pedicure-section h3 {
  color: #b41515;
  margin-top: 1.5rem;
}

.pedicure-section ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.pedicure-section ul li {
  list-style: disc;
  margin-bottom: 0.4rem;
}

.pedicure-section p {
  margin: 0.8rem 0;
}

@media (max-width: 600px) {
  .pedicure-section {
    padding: 1rem;
    font-size: 1rem;
  }

  .pedicure-section h2 {
    font-size: 1.4rem;
  }

  .pedicure-section h3 {
    font-size: 1.2rem;
  }
}

/*******************TRUCCO***********************************/
.trucco-hero-section {
  width: 100%;
  background-color: #fff;
  padding: 0;
  margin: 0;
}

.trucco-hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.trucco-img {
  flex: 1 1 50%;
  min-width: 300px;
  max-height: 100vh;
  overflow: hidden;
}

.trucco-img picture,
.trucco-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trucco-testo {
  flex: 1 1 50%;
  padding: 2rem;
  box-sizing: border-box;
  background-color: #faf8f4;
  color: #333;

  line-height: 1.6;
}

.trucco-testo h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #b41515;
  margin-bottom: 1rem;
}

.trucco-testo p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .trucco-hero-container {
    flex-direction: column;
  }

  .trucco-img,
  .trucco-testo {
    flex: 1 1 100%;
  }
}

/*FRECCIA PER RITORNO IN ALTO*/
#backToTop {
  position: fixed;
  bottom: 12rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  font-size: 1.8rem;
  background: linear-gradient(145deg, #f7d774, #e8b200);
  color: #2c2a2a;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.5);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.7),
    0 0 20px rgba(255, 215, 0, 0.4);
  transition: box-shadow 0.3s ease;
  z-index: 999;
}

#backToTop:hover {
  box-shadow: 0 0 15px rgba(255, 215, 0, 1),
    0 0 30px rgba(255, 215, 0, 0.6);
}



  /**************FINESTRE POPUP AVVISI CLIENTI*********************/


 
#popup-carousel {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  /*border: 3px solid #ff6600;*/
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  max-width: 90%;
  max-height: 80vh;
    min-height: 300px;
  width: 300px;
  animation: fadeIn 0.6s ease-out;
  color: #000;
  display: flex;
  align-items: center;
    justify-content: center;
  background-repeat: no-repeat;
display: flex;
transition: all 1s cubic-bezier(.215, .61, .355, 1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

#popup-carousel .popup-content {
  position: relative;
  text-align: center;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.85);
  padding: 3rem;
  /*border-radius: 15px;*/
  height: 60%;
 opacity: 0.5;
}

#popup-carousel .avviso-testo p {
  font-size: 1.2rem;
  line-height: 1.5;
  font-weight: bold;
  margin:0;

}

  #popup-carousel button#chiudi-avviso {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 1.5rem;
  background: #fff;
  border: 2px solid #ff6600;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
}

#popup-carousel button#chiudi-avviso:hover {
  /*background: #ffd;*/
  transform: scale(1.1);
}

@media (max-width: 768px) {
  #popup-carousel {
    /*width: 50%;*/
    font-size: 1rem;
    /*bottom:30vh;
    left:50vw;
    */
     transform: translateX(-50%);
  }
  #popup-carousel .avviso-testo p {
    font-size: 1rem;
  }
}


@media (max-width: 600px) {
  #popup-carousel {
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    max-width: 60vw;
  }
}

/* ===== POPUP PROMO RDS (indipendente) ===== */

