/* TABS */
.sticky-tabs .nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    width: 100%;
}

.sticky-tabs .nav-link {
    flex: 1 1 0;
    min-width: 0;
    margin: 0 !important;
    border-radius: 0;
    padding: 0.4rem 0;
    text-align: center;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.sticky-tabs .nav-link i {
    font-size: 1rem;
}

/* MÓVIL */
@media (max-width: 576px) {
    .sticky-tabs .nav-link {
        font-size: 0;
        padding: 0.5rem 0.2rem;
    }

    .sticky-tabs .nav-link i {
        font-size: 1.5rem;
        font-weight: bold;
        margin: 0;
    }
}

/* HERO */
.hero-wrap {
    position: relative;
}

/* TEXTO RGB CENTRADO */
.rgb-text-container-middle {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    text-align: center;
    pointer-events: none;
}

/* TEXTO */
.rgb-text {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    animation: rgbColor 5s infinite linear;
    text-shadow: 0 0 10px rgba(0,0,0,0.7);
}

/* ANIMACIÓN RGB */
@keyframes rgbColor {
    0%   { color: red; }
    33%  { color: lime; }
    66%  { color: blue; }
    100% { color: red; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .rgb-text {
        font-size: 1.4rem;
    }
}

/* SOLO MÓVIL */
.rgb-text-container-middle {
    display: none;
}

@media (max-width: 768px) {
    .rgb-text-container-middle {
        display: block;
    }
}



   @media (max-width: 768px) {
    #index {
      height: 200px !important; /* Altura reducida solo en móvil */
      background-size: cover;
      background-position: center;
    }
  }

  /* Altura normal en pantallas grandes */
  @media (min-width: 769px) {
    #index {
      height: 100vh; /* o la altura que tenías antes */
    }
  }



  .footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  border-top: 1px solid #ddd;
}

/* Para que no tape el contenido */
body {
  padding-bottom: 70px;
}

/* Quitar fondo y borde de botones */
.footer-nav .btn {
  border: none;
  background: none;
}

/* Efecto activo */
.footer-nav .btn:hover {
  color: #dc3545;
}

.nav-tabs .nav-link {
  flex: 1;
  text-align: center;
  font-size: 0.9rem;
}
