/* NAV/HEADER ESTILOS INICIO */

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  background-color: #25d366;
  border: none;
  border-radius:0%;
  padding: 15px 16px;
  font-size: 24px;
  color: white;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  text-align: center;
}
.whatsapp-float:hover {
  background-color: #1ebe57;
  color: white;
}
/* Botón flotante de WhatsApp FIN*/
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-brand img {
    height: 70px; /* Logo más grande */
    object-fit: contain;
    margin-right: 1rem;
  }
  
  .navbar .container {
    padding-left: 0; /* Quita un poco el margen izquierdo para pegar más el logo */
  }
  
  
/* Aplica a todos los links del navbar */
.nav-link {
  font-size: 1.2rem;
  margin-right: 1.5rem;
  color: #ffffff !important;
  position: relative;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #ffc107;
  transition: width 0.3s;
  position: absolute;
  bottom: 0;
  left: 0;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #ffc107 !important;
}

/* Evita que la letra se oscurezca al hacer clic */
.nav-link:focus,
.nav-link:active {
  color: #ffc107 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Estilo específico para el selector de idioma con flechita */
.custom-lang-toggle i {
  font-size: 0.8rem;
}


  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }
  
  .navbar-toggler {
    border: none;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  /* NAV/HEADER ESTILOS FIN */
  
 /* MAIN ESTILOS */

.hero {
  position: relative;
  width: 100%;
  height: 50vh; /* Toda la altura de la pantalla */
  background-image: url('../imagenes/imagen3R-principal.jpg');
  background-size: cover;
  background-position: center; 
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* Oscurece un poco para que el texto se vea bien */
  z-index: 1;
}

.hero .container {
  z-index: 2;
}

.hero h1 {
  font-family: 'Roboto Slab', serif;
  font-size: 2.5rem;
  color:#cdcbcb !important;
}
@media (max-width: 768px) {
  .hero {
    height: 60vh; /* Más bajito en celular */
  }
  .contenedor{
    display: flex;
    justify-content: center;
  }
  .hero h1 {
    font-size: 2rem; /* Texto más chico en celular */
  }
}
body{
  opacity: 1;
  transition: opacity 0.5s ease;
}
body.fade{
  opacity: 0;
  transition: opacity 0.5s ease;
}
/* Carrusel de la sección servicios */
.carousel-inner img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* Ajuste de altura del carrusel en pantallas pequeñas */
@media (max-width: 768px) {
  .carousel-inner img {
    height: 250px;
  }
}

/* Mejora visual del texto en la sección servicios */
.lead {
  font-size: 1.3rem;
  font-weight: 500;
  color: #ecebeb;
}
@media (max-width: 576px) {
  .lead {
    font-size: 1,1rem; /*0.85rem si quieres más pequeño */
    padding: 10px;
  }
}

@media (max-width: 576px) {
  .contacto-padding p{
    padding: 0px 10px !important;
  }
}

/* Botón amarillo estilizado */
.btn-warning {
  font-size: 1.1rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius:3px!important;
}

.barra-amarilla {
  border-left: 5px solid #ffc107;
  padding-left: 10px;
}

.actividad-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actividad-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.list-group-item{
  background-color:#000 ;
  color: #ffffff;
}
.list-group-item:hover {
  background-color: #4f4f4f;
}

.gallery-img {
  width: 100%;
  height: 180px; /* Puedes ajustar este valor */
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
}
/* MAIN FIN */



/*ESTILOS FOOTER*/
footer a:hover {
  color: #ffc107 !important;
  text-decoration: underline;
}





/* Mejora el fondo, sombra y bordes del dropdown */
.dropdown-menu {
  background-color: #1f1f1f; /* gris oscuro elegante */
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 160px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: none;
}

/* Estilo para cada ítem del menú */
.dropdown-item {
  color: #f8f9fa; /* blanco suave */
  padding: 0.6rem 1rem;
  font-size: 1rem;
  transition:0.3s, color 0.3s;
}

/* Hover más suave y con color personalizado */
.dropdown-item:hover {
  background-color: #ffc107; /* Amarillo Bootstrap */
  color: #212529; /* texto oscuro al hacer hover */
  border-radius: 5px;
}

/* Línea divisoria más sutil */
.dropdown-divider {
  border-top: 1px solid #555;
  margin: 0.3rem 1rem;
}

