/* Barra de navegacion */
.navbar{
    padding: 2rem;
    background-color: #f5f6f7;
}
.navbar-collapse{
    align-items: center;
    justify-content: space-between;
}


/* Estilos generales */

section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
h1{
    font-size: 2.5rem;
    font-family: 'Rubik Dirt', cursive;
}

.seccion-oscura{
    color: white;
    background-color: #1b1b32;
}
.seccion-clara{
    color: black;
    background-color: white;
}
.seccion-titulo{
    font-size: 2rem;
    padding: 15px 0;
    font-family: 'Rubik Dirt', cursive;
}

.seccion-descripcion{
    font-size: 1.2rem;
    color: #584e4e;
}

.seccion-texto{
    font-size: 1.2rem;
}

.btn-info{
    font-size: 1.1rem;
    margin: 20px;    
}

.texto-negro{
    color: black;
}

.texto-blanco{
    color: white;
}

/* Seccion Hero */

.hero{
    background-color: #f5f6f7;
    min-height: 450px;
    text-align: center;
}
.logo-img {
  max-width: 240px; /* Doble del tamaño actual */
  width: 100%;      /* Escala dentro del contenedor */
  height: auto;
}


/* Estilo del navbar */
.custom-navbar {
  font-size: 1.1rem; /* Letras más grandes */
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Estilo de los links */
.navbar-nav .nav-link {
  color: #2c3e50;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #007bff;
}

/* Dropdown adaptativo */
.dropdown-menu {
  min-width: 160px;
  max-width: 100vw;
  word-wrap: break-word;
}

/* Evita desbordes horizontales */
body {
  overflow-x: hidden;
}



.hero-principal{
    padding: 3rem;
}
.hero-principal h2{
    font-size: 1.5rem;
    color: #615151;
}
.hero-imagen-empresa{
    border-radius: 10px;
    margin: 20px;
   width: 100%;
   height: 50vh; /* Ocupa la mitad de la altura visible */
   object-fit: cover; /* Recorta sin deformar */
   display: block;
}

/* Especialidades */

.especialidades{
    height: 500px;
    padding: 10px;
}
.especialidades .contenedor{
    max-width: 600px;
    text-align: center;

}

/* Productos */
.producto{
    padding: 40px 40px 60px 40px;
}
.producto i{
    font-size: 2.5rem;
    color: #7ade30;
    background-color: #0a0a23;
    padding: 8px 19px;
    border-radius: 50%;
}
.producto .columna{
    padding: 20px;
    border: 2px solid #8080804d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    transition: 0.2s ease-in;
}

.producto .columna:hover{
    color: white;
    background-color: #1b1b32;
}
.producto-titulo{
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}
.producto-img {
    width: 300px;     /* Ajusta el tamaño según tu preferencia */
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    margin: 20px;
  }
  
  
.badges-contenedor{
    font-size: 25px;
    font-weight: bold;
    margin: 10px 0;
}
.badge{
    margin: 5px;
}

/* Prods */
.prod{
    padding: 40px 40px 60px 40px;
}
.prod i{
    font-size: 2.5rem;
    color: #7ade30;
    background-color: #0a0a23;
    padding: 8px 19px;
    border-radius: 50%;
}
.prod .columna{
    padding: 20px;
    border: 2px solid #8080804d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    transition: 0.2s ease-in;
}

.prod .columna:hover{
    color: white;
    background-color: #1b1b32;
}
.prod-titulo{
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

.prod img{
    height: 100%;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    display: block;
    transition: all 0.2s ease;

}
  
/* Tratamientos */
.tratamientos-recientes{
    padding: 40px;
}
.tratamientos-recientes img{
    height: 100%;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    display: block;
    transition: all 0.2s ease;

}
.tratamientos-contenedor{
    padding-top: 60px;
    margin-bottom: 40px;
}
.tratamiento{
    position: relative;
}
.tratamientos-recientes .columna{
    padding: 20px;
    border: 2px solid #8080804d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    transition: 0.2s ease-in;
}
.overlay{
    transition: all 0.2s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.overlay p{
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 0;
}
.tratamiento:hover img{
    opacity: 0.2;
}
.tratamiento:hover .overlay{
    opacity: 1;
}
.overlay .iconos-contenedor{
    display: flex;
}
.overlay i{
    color: black;
    font-size: 60px;
    margin: 10px;
}

/* Articulos */
.articulos{
    min-height: 500px;
    padding: 30px;
}
.articulos .card{
    width: 80%;
    max-width: 600px;
    margin: 20px;
}
.articulos .card-header{
    font-weight: bold;
}

/* Testimonios */
.testimonios{
    padding: 40px 40px 80px 40px;
}
.testimonios .carousel{
    max-width: 800px;
}
.carousel-item{
    height: 500px;
}
.carousel-item .container{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;

}
.testimonio-imagen{
    height: 150px;
    border-width: 150px;
    margin: 10px 10px 20px 10px;

}

.testimonio-texto{
    max-width: 70%;
    font-size: 20px;
    text-align: center;
    font-family: "Share Tech Mono", serif;
}
.testimonio-info{
    font-weight: bold;
    text-align: center;
}
.testimonio-info p{
    margin-bottom: 0; 
}
.testimonio-info .cliente{
    font-size: 1.2rem;
}
.testimonio-info .cargo{
    font-size: 0.9rem;
    color: #656060;
}

/* Contacto */
.contacto .container{
    max-width: 1100px;
    min-height: 200px;
    padding: 20px;
}
.contacto .rectangulo{
    margin-top: -5rem;
    background-color: rgb(13, 110, 253);
    border-radius: 10px;
    box-shadow: 0px 1px 4px 1px white;
}
.contacto .row{
    width: 100%;
    display: flex;
    align-items: center;
}
.contacto .descripcion{
    color: white;
    font-size: 1.2rem;
}
.contacto button:hover{
    background-color: white;
    color: black;
}
.contacto button{
    color: white;
    font-weight: bold;
    background-color: transparent;
    border: 2px solid white;
    padding: 1.25em 2em;
    margin: 10px;
    border-radius: 100px;
    transition: all 0.2s ease-in-out;
}
.contacto button i{
    color: white;
    font-size: 1.3rem;
    transition: all0.2s ease-in-out;
}
.contacto button:hover i{
    color: black;
}

/* Pie de pagina (Footer) */
footer{
    min-height: 500px;
}
.footer-logo{
    height: 80px;
    width: 80px;
    margin: 10px;
}
.footer-texto{
    font-size: 1.5rem;
    padding: 20px;
    margin-bottom: 30px;
    font-family: "Quicksand", sans-serif;
}
.iconos-redes-sociales a{
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    margin: rgb(13, 110, 253);
    border: 2px solid white;
    border-radius: 50%;
    transition: all 0.2s ease-in;
}
.iconos-redes-sociales i{
    color: white;
    font-size: 1.5rem;
    transition: all 0.2s ease-in;
}
.iconos-redes-sociales a:hover{
    background-color: white;
    border: 2px solid rgb(13, 110, 253);
}
.iconos-redes-sociales a:hover i{
    color: black;
}
.derechos-de-autor{
    font-size: 15px;
    color: #aeaeae;
    padding: 20px;
}

/* Menu de Detalle de Prods */

#menuIconos {
  height: 100%;
  overflow-y: auto;
  text-align: center;
}

.icono-detalle {
  cursor: pointer;
  margin-bottom: 1rem;
  text-align: center;
}

.icono-detalle img {
  width: 80px;
  height: 50px;
  object-fit: contain;
}

.icono-detalle.activo {
  border: 2px solid #007bff;
  border-radius: 8px;
}

.object-fit-contain {
  object-fit: contain;
}

   
 /* Adaptable (Responsivo) */

 @media screen and (max-width: 767px) {
    .navbar-brand{
        display: none;
    }
    
} 
@media screen and (min-width: 700px){
    .hero-inferior-imagen{
        max-width: 600px;
    }
    
}  
@media screen and (max-width: 400px){
    .overlay p{
        font-size: 18px;
    }
    .overlay i{
        font-size: 40px;
    }
    
}

@media screen and (max-width: 800px){
    .testimonio-imagen{
        height: 120px;
        width: 120px;
    }
    .testimonio-texto{
        font-size: 18px;
    }
    
}