/********* General CSS *********/
body {
  font-family: "Poppins", sans-serif;
}
.container-fluid {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 20px;
  padding-right: 20px;
}

/********** Top Bar CSS ***********/
.top-bar {
  height: auto;
  min-height: 50px;
  background: #efbdc6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 10px 20px;
  width: 100%;
  box-sizing: border-box;
}

.top-bar .text {
  max-width: 800px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  text-align: center;
  border: none;
  text-align: center;
}

.top-bar .text h2 {
  color: #323232;
  font-weight: 400;
  font-size: 20px;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 1px;
}
@media (max-width: 768px) {
  .top-bar .text h2 {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .top-bar .text h2 {
    font-size: 16px;
  }
}
/********** Top Bar Icon CSS ***********/
.top-Icon {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
  margin: 0 auto 10px;
}

.top-Icon img {
  max-width: 100%;
  height: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .top-Icon img {
    width: 60%;
  }
}

@media (max-width: 480px) {
  .top-Icon img {
    width: 80%;
  }
}

/*********** Nav Bar CSS **********/
.navbar {
  position: relative;
  transition: 0.5s;
  z-index: 999;
  background: #efa7ce;
  padding: 10px 0;
}

.navbar-brand {
  margin: 0;
}

.navbar-nav {
  margin: 0;
}

.navbar-brand img {
  width: 60px;
  height: auto;
  max-width: 100%;
  display: block;
  filter: brightness(0) invert(1);
}

.navbar-nav .nav-link.active {
  color: #ffffff;
  font-weight: 900;
}

.navbar.nav-sticky {
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .navbar-brand img {
    width: 30px;
  }
}
@media (max-width: 480px) {
  .navbar-brand img {
    width: 30px;
  }
}
.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  padding: 10px 10px 8px 10px;
  color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  background: rgba(256, 256, 256, 0.1);
  transition: none;
}

/*******************************/
/********** Hero CSS ***********/
/*******************************/
.hero {
  position: relative;
  width: 100%;
  padding: 90px 0;
  background: #adddda;
  margin-bottom: 45px;
  overflow: hidden;
}

/* Flores de fondo */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/flor.png"), url("../img/flor.png"),
    url("../img/flor.png"), url("../img/flor.png"), url("../img/flor.png"),
    url("../img/flor.png");
  background-repeat: no-repeat;
  background-position: 5% 10%, 30% 40%, 60% 15%, 80% 50%, 15% 80%, 90% 25%;
  background-size: 80px, 120px, 100px, 90px, 70px, 100px;
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}

/* Contenido encima de las flores */
.hero-text,
.hero .hero-btn,
.hero .hero-image {
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  color: #ffffff;
  font-size: 60px;
  margin-bottom: 20px;
  font-family: "Great Vibes", cursive;
  text-shadow: -2px -2px 0 #f8b88b, 2px -2px 0 #f8b88b, -2px 2px 0 #f8b88b,
    2px 2px 0 #f8b88b;
  padding-right: 30px;
  padding-left: 50px;
}

.hero .hero-btn {
  display: flex;
  justify-content: center;
  padding-top: 40px;
}

.hero .hero-btn .btn {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: white;
  background: #f46ab5;
  border-radius: 25px;
  transition: 0.3s;
}

.hero .hero-btn .btn:hover {
  color: #f46ab5;
  background: #ffffff;
}

.hero .hero-image {
  text-align: right;
  padding-right: 200px;
}

.hero .hero-image img {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f46ab5;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
    text-align: center;
  }

  .hero .hero-image {
    text-align: center;
    margin-top: 20px;
    padding-right: 0;
  }

  .hero .hero-image img {
    width: 150px;
    height: 150px;
  }

  .hero-text h1 {
    font-size: 28px;
    padding-left: 0;
    padding-right: 0;
  }

  /* Ajustar tamaño de flores en móvil */
  .hero::before {
    background-position: 10% 5%, 35% 30%, 60% 10%, 80% 40%, 20% 85%, 90% 20%;
    background-size: 50px, 70px, 60px, 50px, 45px, 55px;
  }
}

@keyframes floatFlowers {
  0% {
    background-position: 5% 10%, 30% 40%, 60% 15%, 80% 50%, 15% 80%, 90% 25%;
  }
  50% {
    background-position: 6% 12%, 32% 38%, 62% 18%, 82% 48%, 13% 82%, 88% 27%;
  }
  100% {
    background-position: 5% 10%, 30% 40%, 60% 15%, 80% 50%, 15% 80%, 90% 25%;
  }
}

.hero::before {
  animation: floatFlowers 10s ease-in-out infinite;
}

/*******************************/
/********** About CSS **********/
.about {
  position: relative;
  width: 100%;
  padding: 45px 0;
}

.about h1 {
  padding-bottom: 50px;
  font-family: "Poppins", sans-serif;
  color: #323232;
}

.about .about-img {
  position: relative;
  height: 100%;
  margin: 60px 0 0 60px;
}

.about .about-img img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.about .about-img::before {
  position: absolute;
  content: "";
  top: -60px;
  right: 60px;
  bottom: 60px;
  left: -60px;
  background: #ff83a8;
  z-index: 0;
}

.about .about-img::after {
  position: absolute;
  content: "";
  top: -30px;
  right: 30px;
  bottom: 30px;
  left: -30px;
  background: transparent;
  border: 1px solid #ffffff;
  z-index: 2;
}

.about p {
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 767.98px) {
  .about .about-img {
    margin-bottom: 30px;
    height: auto;
  }
}
.about {
  overflow: hidden; /* evita que pseudo-elementos se desborden */
}
/********** Top Bar About CSS ***********/
.top-bar-about {
  height: auto;
  min-height: 50px;
  background: #efbdc6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 10px 20px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 0;
  margin-top: 20px;
}
.top-bar-about .text h2 {
  color: #323232;
  font-weight: 400;
  font-size: 50px;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 1px;
}
@media (max-width: 768px) {
  .top-bar-about .text h2 {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .top-bar-about .text h2 {
    font-size: 16px;
  }
}

/*******************************/
/********** Carrusel Servicios **********/
/*******************************/
.services {
  padding: 80px 0;
  background: #fef6f8;
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-family: "Poppins", sans-serif;
  color: #333;
  margin-bottom: 40px;
}

.nav-tabs {
  border-bottom: none;
  margin-bottom: 30px;
}

.nav-tabs .nav-link {
  color: #f46ab5;
  border: 2px solid #f46ab5;
  border-radius: 30px;
  margin: 0 10px;
  padding: 10px 20px;
  font-weight: 500;
  transition: 0.3s;
}

.nav-tabs .nav-link.active {
  background-color: #f46ab5;
  color: #fff;
}

.nav-tabs .nav-link:hover {
  background-color: #f46ab5;
  color: #fff;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #f46ab5;
  border-radius: 50%;
  padding: 15px;
}

/* Tamaño uniforme para todas las imágenes del carrusel */
.services .carousel-inner img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
}

/* Ajusta el contenedor del carrusel */
.services .carousel-inner {
  border-radius: 20px;
  overflow: hidden;
}

/* Caja de descripción debajo de cada imagen */
.carousel-caption-custom {
  background-color: #fff;
  color: #333;
  border-radius: 15px;
  padding: 15px;
  margin-top: 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-caption-custom h5 {
  font-size: 20px;
  color: #f46ab5;
  margin-bottom: 5px;
  font-weight: 600;
}

.carousel-caption-custom p {
  font-size: 15px;
  margin-bottom: 5px;
}

.carousel-caption-custom .price {
  font-weight: bold;
  color: #333;
  font-size: 16px;
  display: block;
}

/* Responsivo */
@media (max-width: 768px) {
  .services .carousel-inner img {
    height: 250px;
  }

  .carousel-caption-custom {
    padding: 10px;
  }

  .carousel-caption-custom h5 {
    font-size: 18px;
  }

  .carousel-caption-custom p,
  .carousel-caption-custom .price {
    font-size: 14px;
  }
}
/* Botón dentro del carrusel */
.carousel-caption-custom .btn-agendar {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #f46ab5; /* Rosa principal del spa */
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(244, 106, 181, 0.3);
}

.carousel-caption-custom .btn-agendar:hover {
  background: #efa7ce; /* Rosa más claro al pasar mouse */
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(244, 106, 181, 0.5);
}

#servicesTabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto; /* Activa scroll horizontal */
  -webkit-overflow-scrolling: touch; /* Suaviza en móviles */
  scrollbar-width: thin; /* (Opcional) scrollbar delgado en Firefox */
  scrollbar-color: #f46ab5 transparent; /* (Opcional) color del scrollbar */
  gap: 10px;
  padding-bottom: 10px;
}

#servicesTabs::-webkit-scrollbar {
  height: 6px;
}
#servicesTabs::-webkit-scrollbar-thumb {
  background-color: #f46ab5;
  border-radius: 10px;
}
#servicesTabs::-webkit-scrollbar-track {
  background: transparent;
}

#servicesTabs .nav-item {
  flex: 0 0 auto;
}
/* Mapa */

.mapa {
  background: #fef6f8;
  padding: 60px 0;
  text-align: center;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/*******************************/
/******* Testimonial CSS *******/
/*******************************/
/* Centra cada slide del carousel */
.carousel-item {
  display: flex;
  justify-content: center;
}

/* Contenedor del testimonial */
.testimonial-item {
  max-width: 350px;
  width: 100%;
  text-align: center;
  position: relative;
  margin: 0 auto; /* centra horizontalmente */
  margin-top: 10px;
}

/* Imagen circular flotando sobre el cuadro */
.testimonial-img {
  position: relative;
  z-index: 2;
  margin-bottom: -60px; /* flota sobre el cuadro */
}

.testimonial-img img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 0 0 5px #f7aac5;
}

/* Cuadro rosa */
.testimonial-text {
  background-color: #ff83a8;
  color: #fff;
  padding: 80px 25px 30px;
  border-radius: 15px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Texto interno */
.testimonial-text p {
  font-size: 15px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.testimonial-text h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #343148;
}

.testimonial-text h4 {
  font-size: 14px;
  color: #fff;
}
#testimonios {
  background-color: #adddda;
  padding: 60px 0;
}
/* Ajuste responsive */
@media (max-width: 768px) {
  .testimonial-item {
    max-width: 90%;
  }

  .testimonial-img img {
    width: 100px;
    height: 100px;
  }

  .testimonial-text {
    padding: 70px 20px 25px;
  }

  .testimonial-img {
    margin-bottom: -50px; /* ajusta flotación en móvil */
  }
}
/*******************************/
/********* Pricing CSS *********/
/*******************************/
.discount {
  position: relative;
  width: 100%;
  padding: 90px 0;
  background: linear-gradient(
      rgba(247, 202, 201, 0.7),
      rgba(247, 202, 201, 0.7)
    ),
    url(../img/discount.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.discount .container {
  max-width: 750px;
  text-align: center;
}

.discount .section-header {
  margin-bottom: 20px;
}

.discount .section-header p {
  color: #343148;
  background: transparent;
}

.discount .section-header p::after {
  display: none;
}

.discount .discount-text p {
  color: #454545;

  font-size: 60px;
  font-family: "Great Vibes", cursive;
}

.discount .discount-text .btn {
  margin-top: 10px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #f7cac9;
  background: #343148;
  border-radius: 0;
  transition: 0.3s;
}

.discount .discount-text .btn:hover {
  color: #343148;
  background: #ffffff;
}
.lined-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.lined-title::before,
.lined-title::after {
  content: "";
  width: 50px;
  height: 2px;
  background-color: black;
}
/*Footer*/

.footer-social {
  background-color: #adddda;
  color: #333;
  padding: 40px 20px 20px;
  font-family: "Poppins", sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-info {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 16px;
}

/* Sección de redes e imagen */
.social-section {
  display: flex;
  align-items: center;
  gap: 15px; /* espacio entre redes e imagen */
}

.social-icons a {
  margin: 0 5px;
  color: #333;
  font-size: 20px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #f7caca;
}

/* Imagen circular */
.footer-image img {
  width: 100px; /* tamaño pequeño */
  height: 100px;
  border-radius: 50%; /* circular */
  object-fit: cover;
  border: 2px solid #f7caca; /* opcional: borde rosa pastel */
}

.footer-bottom {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: #555;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-info {
    justify-content: center;
    gap: 15px;
  }

  .social-section {
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
  }

  .social-icons a {
    margin: 5px;
  }
}
