html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

header {
  padding: 0;
  margin: 0;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-image: url(image/Fondo.png);
  background-color: #f2dcff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* *********** NAV *********** */
/* *********** NAV GLOBAL *********** */
nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: #4d4d4d;
}

#logoContainer {
  transition: max-height 0.7s ease, opacity 0.7s ease;
  max-height: 250px;
  overflow: hidden;
  background-color: #f9dede;
  border-radius: 50%;
}

#logoContainer.hide-logo {
  max-height: 0;
  opacity: 0;
}

.logoNav {
  height: 250px;
  width: auto;
  display: block;
  margin: 0 auto;
  transition: opacity 0.5s ease;
}

/* *********** NAVBAR *********** */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 60px;
  padding: 0 20px;
  margin-right: 15px;
}

.menu-toggle {
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  color: #f9dede;
}

.opciones {
  display: flex;
  align-items: center;
  list-style: none;
  font-family: "Roboto", sans-serif;
  font-size: 25px;
  font-weight: 300;
  color: #f9dede;
  margin: 0;
  padding: 0;
}

.opciones li {
  margin: 0 5%;
}

.opciones li:hover {
  color: #ffffff;
}

li a {
  color: inherit;
  text-decoration: none;
}

.redes-nav {
  display: flex;
  gap: 10px;
}

.redes {
  height: 24px;
  transition: transform 0.3s;
}

.redes:hover {
  transform: scale(1.1);
}

/* *********** RESPONSIVE *********** */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-left: 15px;
  }

  .nav-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 60px;
    padding: 0 20px;
    margin-right: 15px;
  }

  .opciones {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 60px;
    /* justo debajo del .nav-bar */
    left: 0;
    background-color: #4d4d4d;
    z-index: 999;
  }

  .opciones.show {
    display: flex;
  }

  .opciones li {
    padding: 10px 0;
    width: 100%;
    text-align: center;
    background-color: #4d4d4d;
    color: #f9dede;
  }

  .carousel h2 {
    font-size: 22px;
    text-align: center;
    padding: 0 10px;
    display: block;
    justify-content: center;
    align-items: center;
  }

  .presentacion {
    margin-top: 120px;
    padding: 40px 5px;
    min-height: 220px;
    background-image: url(image/Fondo.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.85);
    box-sizing: border-box;
  }

  body {
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
  }
}





/************ PRESENTACIÓN ************/
.presentacion {
  margin-top: 310px;
  background-image: url(image/Fondo.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f2dcff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 20px;
  font-family: "Spectral", serif;
}

.texto-inicial {
  max-width: 800px;
  width: 100%;
  font-size: 25px;
  text-align: center;
  line-height: 1.6;
  color: #4d4d4d;
  margin: auto;
}

/************ TÍTULO DE SERVICIOS ************/
.titulo-servicios {
  background-color: #4d4d4d;
  color: #f9dede;
  text-align: center;
  padding: 80px 20px;
}

.titulo {
  font-family: "Spectral", serif;
  font-weight: 100;
  font-size: 32px;
  text-transform: uppercase;
}

.slogan {
  font-family: "Roboto", sans-serif;
  font-size: 25px;
  font-weight: 150;
}

.titulo-servicios .titulo {
  margin-bottom: 16px;
  letter-spacing: 1px;
  margin: 0;
  padding: 0;
}

.titulo-servicios .slogan {
  margin: 0;
  padding: 0;
}

/************ RESPONSIVE ************/
@media (max-width: 768px) {
  .texto-inicial {
    font-size: 20px;
    padding: 0 10px;
  }

  .titulo-servicios .titulo {
    font-size: 26px;
  }

  .titulo-servicios .slogan {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .texto-inicial {
    font-size: 18px;
  }

  .titulo-servicios .titulo {
    font-size: 22px;
  }

  .titulo-servicios .slogan {
    font-size: 18px;
  }
}

/* *********** SERVICIOS ESPECÍFICOS *********** */

/* *********** FONDOS CON PARALLAX *********** */
.servicio-imagen {
  position: relative;
  height: 85vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

/* *********** FONDOS POR SERVICIO *********** */
.fondo-cejas {
  background-image: url("image/Ceja.png");
}

.fondo-facial {
  background-image: url("image/Tratamiento Facial Oro.png");
}

.fondo-manos {
  background-image: url("image/Manicura.png");
}

.fondo-cuerpo {
  background-image: url("image/Titan.webp");
}

.fondo-labios {
  background-image: url("image/Labios.png");
}

/* *********** SLOGAN *********** */
.slogan-contenido {
  margin: 20px;
  background-color: rgba(249, 222, 222, 0.95);
  color: #4d4d4d;
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 5px;
  opacity: 0;
  transform: translateY(20px);
  filter: brightness(60%);
  transition: opacity 1.5s ease, filter 1.5s ease, transform 1.5s ease;
  max-width: 90%;
}

.slogan-contenido.visible {
  opacity: 1;
  transform: translateY(0);
  filter: brightness(100%);
}

/* *********** TEXTO DE SERVICIOS *********** */
.servicio-texto {
  background-color: #f9dede;
  color: #4d4d4d;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  text-align: center;
}

.servicio-texto h2 {
  font-family: "Roboto", sans-serif;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.servicio-texto ul {
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  font-weight: 350;
  list-style: none;
  padding-left: 0;
  max-width: 600px;
  width: 100%;
  margin: 0;
}

.servicio-texto ul li {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .servicio-imagen {
    height: 60vh;
    background-attachment: scroll;
  }

  .slogan-contenido {
    font-size: 1rem;
    padding: 8px 12px;
    max-width: 85%;
  }

  .servicio-texto h2 {
    font-size: 1.6rem;
  }

  .servicio-texto ul li {
    font-size: 1rem;
  }
}

/* *************** INICIO DE CARRUSEL **************** */
.carousel {
  justify-items: center;
  background-color: #4d4d4d;
  width: 100%;
  padding: 25px 0px;
}

.carousel h2 {
  color: #f9dede;
  font-family: "Spectral", serif;
  font-weight: 100;
  font-size: 32px;
  text-transform: uppercase;

}

@media(min-width:768px) {

  .carousel {

    margin: 0px auto;

  }

}

.carrusel-list {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 304px;
  padding: 10px 0px;
  margin: 0px auto;
  max-width: 90vw;
  overflow: hidden;

}

.carrusel-track {
  position: relative;
  top: 0;
  left: 0;
  gap: 70px;
  display: flex;
  justify-content: center;
  transition: .5s ease-in-out;

}

.LogoGoogle {
  width: 30px;
  height: 30px;
}

.valoracion {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #f9dede;
  width: 350px;
  min-height: 300px;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  flex-shrink: 0;

}

.usuario {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

.textoUsuario {
  display: flex;
  flex-direction: column;
}

.textoUsuario p {
  margin: 0;
  padding: 0;
}

.carrusel-arrow {
  border-radius: 30px;
  background-color: #ffffff;
  position: absolute;
  z-index: 4;
  width: 48px;
  height: 48px;
  text-align: center;
  border: 0;
  cursor: pointer;
}

.carrusel-arrow:focus {
  outline: 0;
}

.carrusel-arrow svg {
  width: 12px;
  height: 100%;
  color: rgba(0, 0, 0, 0.7);
}

.carousel-prev {
  left: 0px;
}

.carrusel-next {
  right: 0px;
}

@media (max-width: 768px) {
  .carrusel-list {
    height: auto;
    margin: auto 10px;
  }

  .carrusel-track {
    gap: 0;
    transition: 0.5s ease-in-out;
  }

  .valoracion {
    width: 90vw;
    max-width: 100vw;
    box-sizing: border-box;
    padding: 20px;
    flex-shrink: 0;
  }

  .carousel h4 {
    font-size: 22px;
    text-align: center;
    padding: 0 10px;
  }

  .carrusel-arrow {
    top: 50%;
    transform: translateY(-50%);
  }

  .carrusel-prev {
    left: 10px;
  }

  .carrusel-next {
    right: 10px;
  }
}



/* *********** CONTACTO *********** */
.informacion-general {
  width: 100%;
  background-color: #4d4d4d71;
  padding: 30px 50px;
  box-sizing: border-box;
  text-align: center;
}

.informacion-general h2 {
  color: #f9dede;
  font-family: "Spectral", serif;
  font-weight: 100;
  font-size: 32px;
  text-transform: uppercase;
}

.datos-cont {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-around;
}

/* *********** Bloques generales *********** */
.datos {
  background-color: #4d4d4d;
  color: #f9dede;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  flex: 1 1 300px;
  min-width: 260px;
  border-radius: 8px;
}

.datos h3 {
  font-family: 'Segoe UI', sans-serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 15px;
}

/* *********** Mapa *********** */
.mapa {
  width: 100%;
  max-width: 400px;
  height: 250px;
  border: none;
  margin-top: 15px;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.mapa:hover {
  transform: scale(1.03);
}

/* Horario */
.horario ul {
  list-style: none;
  padding: 0;
  margin: 50px 0 0 0;
  text-align: center;
}

.horario li {
  padding: 10px;
  text-transform: uppercase;
}

/* *********** Redes y Contacto *********** */

.bloque {
  width: 90%;
  height: auto;
  justify-content: center;
}

.contacto-datos address,
.redes-datos address {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-style: normal;
}

.contacto-datos a,
.redes-datos a {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
  color: #f9dede;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.contacto-datos a:hover,
.redes-datos a:hover {
  transform: scale(1.03);
}

/* *********** Iconos *********** */
.redes {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* *********** Redes sociales *********** */
.redes-datos,
.contacto-datos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .datos-cont {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .datos {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
  }

  .bloque {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contacto-datos address,
  .redes-datos address {
    align-items: center;
    text-align: center;
  }

  .mapa {
    max-width: 100%;
  }

  .contacto-datos a,
  .redes-datos a {
    grid-template-columns: 1fr;
    row-gap: 6px;
    text-align: center;
    justify-items: center;
    transition: transform 0.2s ease;
  }

  .contacto-datos a:hover,
  .redes-datos a:hover {
    transform: scale(1.03);
  }

  .contacto-datos a img,
  .redes-datos a img {
    margin: 0 auto;
  }

}


/* *********** WhatsApp *********** */
.whatsapp-float {
  position: fixed;
  z-index: 1000;
  width: 70px;
  height: 70px;
  bottom: 30px;
  right: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  transition: 0.5s;
}

.whatsapp-float img {
  width: 90%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
}