/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&family=Montserrat:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&display=swap');
@font-face {
  font-family: "Century Gothic";
  src: url("fonts/CenturyGothic.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;700&display=swap');



body {
  font-family: 'Lato', sans-serif;
  color: #333;
  background-image: url('../img/fondo.webp'); /* Ruta relativa */
  background-size: cover; /* Ajusta la imagen para que cubra toda el área */
  background-position: center;
  background-repeat: no-repeat;
}

/* Header */
header {
  position: fixed;
  width: 100%;
  background-color: #f0f5f6;
  color: #1393a4;
  padding: 5px 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2); /* Sombra más destacada abajo */
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

header:hover {
  background-color: #e3f5f7;
}

/* Contenedor de los elementos dentro del header */
.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 80px;
}

/* Logo */
.logo img {
  height: 55px;
  width: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease-in-out;
}

.logo img:hover {
  transform: scale(1.1);
}

/* Navbar */
.navbar .menu {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
}

.navbar .menu li a {
  text-decoration: none;
  color: #1393a4;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 0.8px;
  transition: color 0.3s ease;
}

.navbar .menu li a:hover {
  color: #e3a319;
}

/* Submenu (Dropdown) - Versión de escritorio */
.dropdown {
  position: relative;
}

.submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgb(240, 245, 246); /* Fondo más suave con transparencia */
  display: none;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease; /* Suaviza la aparición */
  transform: translateY(10px); /* Desplazamiento suave al mostrar */
}

.submenu li {
  padding: 10px 20px;
}

.navbar .submenu li a {
  text-decoration: none;
  color: #1393a4;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

.submenu li a:hover {
  color: #e3a319;
}

/* Mostrar el Submenu al pasar el mouse (desktop) */
.dropdown:hover .submenu {
  display: block;
  opacity: 1;
  transform: translateY(0); /* El submenú se muestra de forma suave */
}

/* Flecha inicial apuntando hacia la derecha */
.dropdown .arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid transparent;
  border-bottom: 5px solid #1393a4; /* Color de la flecha */
  margin-left: 5px; /* Espacio entre el texto y la flecha */
  vertical-align: middle; /* Centra la flecha verticalmente */
  transition: transform 0.3s ease; /* Agrega transición para el cambio */
  transform: rotate(90deg); /* Inicialmente rota 90 grados para que apunte hacia la derecha */
}

/* Cuando el cursor pasa por encima del elemento con submenú */
.dropdown:hover .arrow {
  transform: rotate(180deg); /* Rota 180 grados para que apunte hacia abajo */
}

/* Botón CTA */
.cta .btn {
  background-color: #e3a319;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s ease;
  transition: transform 0.3s ease-in-out;
}

.cta .btn i {
  font-size: 1.5em; /* Ajusta el tamaño del ícono */
}


.cta .btn:hover {
  background-color: #61c486;
  transform: scale(1.1);
}

/* Menu Toggle (Mobile) */
.menu-toggle {
  display: none; /* Oculto en escritorio */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  align-items: center; /* Centra el contenido de forma horizontal */
  justify-content: center; /* Asegura que el contenido esté centrado en el eje vertical */
  padding-right: 15px; /* Añadir espacio a la derecha */
}

/* Asegurar que el texto "Menu" esté alineado con los iconos */
.menu-toggle p {
  font-size: 16px; /* Aseguramos un tamaño adecuado */
  color: #1393a4;
  font-weight: bold;
  margin: 0; /* Eliminar márgenes que puedan desalinear */
  display: flex;
  align-items: center; /* Aseguramos que el texto esté alineado verticalmente */
  justify-content: center; /* Centrar el texto horizontalmente */
  gap: 10px; /* Espacio entre el texto y los iconos */
}

/* Aseguramos que las líneas estén bien alineadas */
.menu-toggle span {
  height: 4px;
  width: 30px;
  background-color: #000000;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

/* Aseguramos que las líneas estén bien alineadas */
.menu-toggle span:first-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  /* Navbar: Ocultar menú por defecto */
  .navbar .menu {
    display: none; /* El menú se oculta por defecto en pantallas pequeñas */
    flex-direction: column;
    background-color: #f9f9f9; /* Fondo claro */
    position: absolute;
    top: 60px;
    right: 20px;
    border-radius: 5px;
    padding: 15px;
    width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%); /* Iniciar desde fuera del cuadro */
    transition: transform 0.3s ease;
    gap: 30px; /* Espacio entre los elementos */
  }

  /* Mostrar el menú cuando se activa el botón */
  .menu-active .menu {
    display: flex;
    transform: translateX(0); /* Menú entra en la pantalla */
  }

  .menu-toggle {
    display: flex; /* Mostrar el botón de menú en móviles */
  }

  .navbar .menu li a {
    font-size: 20px; /* Aumentar tamaño de la fuente */
    padding: 15px;
  }

  /* Submenú dentro del recuadro del menú (móvil) */
  .submenu {
    display: none; /* Inicialmente no se muestra */
    background-color:#f9f9f9; /* Fondo más suave */
    width: 100%; /* Aseguramos que el submenú ocupe todo el ancho */
    margin-top: 10px;
    padding-left: 20px;
    position: static;
    box-shadow: none;
  }

 .navbar .submenu li a {
    font-size: 17px; /* Tamaño de fuente adecuado para móviles */
    font-weight: bold;
    padding: 10px 0;
  }

  /* Mostrar submenú al hacer clic en el ítem del menú */
  .menu-item:hover + .submenu {
    display: block;
  }

  .btn-reserva {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e3a319;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    width: 100%;
    margin-top: 10px;
    transition: background-color 0.3s ease;
  }

  .btn-reserva:hover {
    background-color: #61c486;
  }

  /* Logo centrado en móvil */
  .logo img {
    height: 50px; /* Reducir tamaño del logo */
    margin: 0 auto;
    padding-left: 15px; /* Añadir espacio a la derecha */
  }

  /* Ajustes del contenedor */
  .container {
    gap: 10px; /* Reducir espacio entre el logo y el menú */
  }

  /* Botón de reservar oculto en móvil */
  .cta .btn {
    display: none;
  }

  /* Mostrar el submenú cuando se pasa el mouse sobre "Servicios" */
  .menu-active .dropdown:hover .submenu {
    display: block;
    margin-top: 10px; /* Espacio entre los elementos */
  }
}
/*__________________________________________________________________________________ */

/* Banner */
.banner-container {
  position: relative;
  width: 100%;
  height: 80vh; /* Ajuste de la altura en proporción al alto de la pantalla */
  text-align: left;
  overflow: hidden;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2); /* Sombra en la parte de abajo */
}

.banner-container video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Mantiene la relación de aspecto sin distorsionar y recorta el video si es necesario */
  display: block;
}

/* Capa overlay con gradiente de izquierda a derecha más intenso */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(97, 196, 134, 0.9), rgba(97, 196, 134, 0.6), rgba(97, 196, 134, 0.3), rgba(97, 196, 134, 0)); 
}

.banner-text {
  position: absolute;
  top: 55%; /* Centrado vertical */
  left: 14%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: left; /* Texto alineado a la izquierda */
  color: #fff;
  padding: 0 20px;
  text-align: left;
}

.banner-text h1 {
  font-size: 5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #1294a7; /* Color de relleno del texto */
  text-transform: uppercase;
  line-height: 0.9;
  -webkit-text-stroke: 4px white; /* Borde blanco */
  paint-order: stroke fill; /* Prioriza el borde sin afectar el relleno */
  text-shadow: 0px 0px 4px rgba(255, 255, 255, 0.7); /* Suaviza los bordes internos */
}

.banner-text p {
  font-size: 1.5rem; /* Frase más pequeña */
  font-family: 'Poppins', sans-serif; /* Fuente Poppins */
  font-weight: 500; /* Negrita */
  color: #ffffff; /* Color blanco */
  margin: 0; /* Sin margen extra */
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
  .banner-container {
    height: 50vh;
  }

  .banner-text {
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .banner-text h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
  }

  .banner-text p {
    font-size: 1.3rem;
    line-height: 1.1;
  
  }
}

/* Ajustes para pantallas extra pequeñas */
@media (max-width: 480px) {
  .banner-container {
    height: 40vh;
  }

  .banner-text {
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .banner-text h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
  }

  .banner-text p {
    font-size: 1.2rem;
    line-height: 1.1;
  
  }
}


/* ______________________________________________________________ */


/* Estilos generales para la sección */
.facial-clinicos-section {
  margin: 20px auto;
  padding: 20px;
  max-width: 1000px;
  text-align: center; /* Centra contenido hijo (imagen y botón) */
}

.facial-clinicos-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: #111; /* Negro elegante y suave */
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-out;
  position: relative;
}

.facial-clinicos-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin: 8px auto 0;
  background: #61c486; /* Color de marca como detalle */
  border-radius: 3px;
}

/* Animación suave de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Estilos generales para la sección de Facial Clínico */
.facial-container {
  display: flex;
  justify-content: space-between;
  margin: 20px;
  padding: 20px;
  background-color: transparent;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
  align-items: center;
}

/* Centrado del título dentro de la sección */
.facial-title {
  font-size: 1.8rem;
  color: #61C486;
  margin-bottom: 30px;
  text-align: center; /* Centra el título */
  width: 100%; /* Asegura que el título ocupe todo el ancho del contenedor */
}

/* --- Modificaciones para la imagen --- */
.facial-image {
  width: 100%;
  max-width: 500px; /* Tamaño máximo de la imagen */
  height: auto;
  border-radius: 10px;
  margin: 0 auto 20px auto; /* Centrar y separar de botón */
  display: block; /* Para que el margin auto funcione */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facial-image:hover {
  transform: translateY(-10px) scale(1.05); /* Se eleva y hace zoom un poco */
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25); /* Sombra más intensa */
}

/* --- Centrar el botón --- */
.reservation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* Centrar ícono y texto */
  background-color: #1294A7;
  color: white;
  font-size: 1.2rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin: 0 auto; /* Centrar botón dentro del contenedor */
}

.reservation-button i {
  font-size: 25px;
  margin-right: 8px;
}

.reservation-button:hover {
  background-color: #61C486;
}

/* Línea divisoria */
.divider-line {
  border: 0;
  border-top: 1px solid #1393A4;
  margin: 30px auto;
  width: 86%;
}

/* Estilos de responsividad */
@media (max-width: 768px) {
  .facial-clinicos-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .facial-container {
    flex-direction: column;
  }

  .facial-left {
    padding: 15px;
  }

  .facial-right {
    margin-top: 20px;
  }

  .facial-title {
    font-size: 1.5rem;
  }

  .facial-description {
    font-size: 0.8rem;
  }

  .price-text {
    font-size: 1rem;
  }

  /* Imagen responsiva más pequeña */
  .facial-image {
    max-width: 100%;
  }

  .reservation-button {
    font-size: 1rem;
    padding: 12px 20px;
  }

  .reservation-button i{
    font-size: 22px;
  }
}



/* ______________________________________________________________ */

/* Línea superior del footer */
.footer-top-line {
    width: 100%;
    height: 5px;
    background-color: white;
    box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.3);
  }
  
  /* Footer general */
  .footer {
    background-color: #1393A4;
    color: white;
    padding: 20px 0;
  }
  
  /* Contenedor del footer */
  .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap; /* Mantener en una sola línea en escritorio */
    margin: 0 50px;
  }
  
  /* Footer izquierdo */
  .footer-left {
    width: 25%;
    text-align: center;
    margin-left: 80px;
    margin-right: 30px;
    border-right: 2px solid white;
    padding-right: 30px;
    margin-top: 40px;
  }
  
  .footer-logo {
    max-width: 50%;
    height: auto;
    margin-bottom: 20px;
  }
  
  .social-icons {
    margin-bottom: 20px;
  }
  
  /* Animaciones para los íconos de redes sociales */
  .social-icons a {
    display: inline-block; /* Aseguramos que el enlace envuelva el ícono */
    transition: transform 0.3s ease; /* Suaviza el cambio */
  }
  
  .social-icons a:hover {
    transform: scale(1.3); /* Agranda el ícono al pasar el cursor */
  }
  
  .social-icon {
    font-size: 35px;
    color: white;
    margin: 0 15px;
    transition: color 0.3s ease; /* Opcional: cambia el color suavemente */
  }
  
  
  .follow-text {
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 1px;
  }
  
  /* Footer derecho */
  .footer-right {
    width: 70%;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap; /* Mantener elementos en línea en escritorio */
  }
  
  /* Servicios */
  .footer-services {
    width: 48%;
    margin-right: 2%;
    margin-left: 180px;
    margin-top: 40px;
  }
  
  .footer-services h4 {
    font-size: 1.5em;
    margin-bottom: 20px;
  }
  
  .footer-services ul {
    list-style-type: none;
    padding: 0;
  }
  
  .footer-services li {
    margin: 25px 0;
    font-size: 1.2em;
  }
  
  
  
  /* Aviso Legal */
  .footer-legal {
    width: 48%;
    margin-top: 40px;
  }
  
  .footer-legal h4 {
    font-size: 1.5em;
    margin-bottom: 20px;
  }
  
  .footer-legal ul {
    list-style-type: none;
    padding: 0;
  }
  
  .footer-legal li {
    margin: 25px 0;
    font-size: 1.2em;
  }
  
  
  
  .footer-services a,
  .footer-legal a {
    text-decoration: none;
    color: white;
    display: inline-block;
    font-size: 1em;
    transition: transform 0.4s ease-in-out; /* Más suave */
  }
  
  .footer-services a:hover,
  .footer-legal a:hover {
    transform: scale(1.1); /* Aumenta el tamaño al 110% */
  }
  
  /* Frase central entre servicios y aviso legal */
  .footer-tagline {
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
    margin: 20px 0;
    margin-left: 450px;
    margin-top: -50px;
    margin-bottom: 80px;
  }
  
  /* Pie de página */
  .footer-bottom {
    margin-top: 30px;
    text-align: center;
  }
  
  .footer-hr {
    border: 0;
    border-top: 1px solid white;
    margin-bottom: 20px;
  }
  
  /* Estilo para dispositivos móviles */
  @media (max-width: 768px) {
    /* Línea superior del footer */
  .footer-top-line {
    margin-top: 60px;
  }
  
  
    .footer-container {
      flex-direction: column; /* Cambiar a columnas en móvil */
      align-items: center;
      margin: 0 20px;
    }
  
    .footer-left {
      width: 100%;
      margin: 20px 0;
      border-right: none; /* Eliminar línea divisoria en móvil */
      padding-right: 0;
    }
  
    .footer-right {
      width: 100%;
      flex-wrap: wrap; /* Apilar elementos en móvil */
      justify-content: center;
    }
  
    .footer-services,
    .footer-legal {
      width: 90%;
      margin: 20px 0;
      text-align: center; /* Centrar en móvil */
    }
  
    .footer-tagline {
      margin: 20px auto;
    }
  
    .footer-logo {
      max-width: 40%;
    }
  
  }
  
  @media (max-width: 480px) {
    .footer-logo {
      max-width: 20%;
    }
  
    .footer-services h4,
    .footer-legal h4 {
      font-size: 1.2em;
    }
  
    .footer-services li,
    .footer-legal li {
      font-size: 1.1em;
    }
  
    .footer-tagline {
      font-size: 1.2em; /* Reducir tamaño del texto */
    }
  }
