/* 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 */
    }
    
    .nav-link {
      font-size: 1.2rem; /* Letras más grandes */
      margin-right: 1.5rem;
      color: #ffffff;
      position: relative; /* Para poder hacer el subrayado en hover */
      transition: all 0.3s ease;
      white-space: nowrap;
    }
    
    .nav-link::after {
      content: '';
      display: block;
      width: 0;
      height: 2px;
      background: #ffc107; /* Amarillo Bootstrap */
      transition: width 0.3s;
      position: absolute;
      bottom: 0;
      left: 0;
    }
    
    .nav-link:hover::after {
      width: 100%;
    }
    .nav-link:hover {
      color: #ffc107 !important;
    }

    .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 */
    }
  
    .hero h1 {
      font-size: 2rem; /* Texto más chico en celular */
    }
  }
  .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;
    }
  }
/* Estilo de los valores (tarjetas) */
.card {
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Asegurar el tamaño igual para todas las tarjetas */
    height: 100%;
}
.card-body {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 25px;
}
.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}



/* Efecto Hover en las tarjetas */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
/*FIN MAIN ESTILOS*/

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