body {
  margin: 0;
  overflow-x: hidden;           /* Oculta el scroll horizontal */
  background:  #77d7cd;         /* Color de fondo principal (azul verdoso) */
  font-family: 'Quicksand', sans-serif;
  -webkit-touch-callout: none;  /* Deshabilita selección de texto en móviles */
  -webkit-user-select: none;
  user-select: none;
  
  min-height: 100vh;            /* Altura mínima igual al viewport */
}


/* Menú navegación (pantallas grandes) */
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 1.5rem;
  right: 1rem;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #9AE2D9;
}

/* Contenedor de la barra de navegación superior */
.nav-container {
  background:#19535A ;          /* Color oscuro para contraste */
  position: relative;           /* Permite posicionamiento absoluto de hijos */
  height: 22vh;                 /* 23% de la altura de la pantalla */
  max-height: 22vh;             /* Fija altura máxima */
  display: flex;
  flex-direction: column;       /* Apila elementos verticalmente */
  align-items: center;
  justify-content: flex-start;  /* Alinea contenido en la parte superior */
  overflow: hidden;  
  padding-top: 10px; /* Espacio superior para logo y menú */
  justify-content: center; /* Centrar contenido verticalmente */           /* Oculta cualquier contenido que sobresalga */
}

/* Logo en la barra de navegación */
.nav-logo {
  position: absolute;
  top: 20%; 
  left: 1rem;
  width: 160px !important; /* Aumenta el tamaño forzadamente */
  height: auto !important; /* Mantiene la proporción */
  max-width: none !important; /* Elimina restricciones de tamaño */
  max-height: none !important;
  transform: none;
  
}

.nav-logo2{
  position: absolute;
  top: 70%!important; 
  left: 1rem;
  width: 360px !important; /* Aumenta el tamaño forzadamente */
  height: auto !important; /* Mantiene la proporción */
  max-width: none !important; /* Elimina restricciones de tamaño */
  max-height: none !important;
  transform: none;
  align-items: center;
}

/* Botón de menú hamburguesa */
.menu-button {
  display: none; /* Oculta en escritorio */
}


.menu-button:hover img {
  transform: scale(1.1);
}

.intro-container{
    color: #ffffff;
    font-size: 1.2rem;
}

.main-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto 1rem;
 
  width: 90%;
}

.shark-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 770px;
}

.shark-icon {
  position: absolute;
  width: 60px;
  height: auto;
  bottom: 0;
  z-index: 2;
  pointer-events: none; /* Para que no interfieran con clics */
}

.shark-left {
  left: 0;
  transform: rotateY(180deg); /* Voltea hacia la derecha */
}

.shark-right {
  right: 0;
}
.main-logo {
  width:90%;
  max-width: 770px;
  height: auto;
  border-radius: 20px; /* Bordes redondeados */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* Sombras sutiles */
}

.intro-container {
  color: #ffffff;
  font-size: 1.2rem;
  padding: 1.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
  line-height: 1.6;
}

.resaltado {
  color: #19535A;
  font-weight: bold;
  padding: 0 4px;
  border-radius: 4px;
}

.equipo-tecnico {
  padding: 3rem 1rem;
  background-color: #19535A;
  color: white;
  text-align: center;
}
.bg-marinero {
  padding: 3rem 1rem;
  text-align: center;
  background-color: #9AE2D9 !important;
  color: #19535A; /* Ajusta el texto si es necesario */
}
.equipo-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #9AE2D9;
}
.bg-marinero .equipo-title {
  color: #19535A; 
}


.tecnico-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  justify-items: center;
}
.marino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  justify-items: center;
  color: #19535A;
}

.integrante {
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease;
}

.integrante:hover {
  transform: scale(1.05);
}

.foto-integrante {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #9AE2D9;
}

.nombre {
  margin-top: 0.5rem;
  font-weight: bold;
  color: #9AE2D9;
}

.bg-marinero .nombre {
  color: #19535A;
}

.bg-marinero .foto-integrante {
  border: 3px solid #19535A;
}

/* POPUP */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background-color: #9AE2D9;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
}

.popup-content img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #19535A;
}

.popup-content h3 {
  margin: 0.5rem 0;
  font-size: 1.5rem;
  color: #19535A;
}

.popup-content p {
  font-size: 1rem;
  color: #19535A;
}

#popup-links img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}


.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
}

.icono-red {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.icono-red:hover {
  transform: scale(1.2);
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.close-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

/* Estilos del menú móvil */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: #9AE2D9;
  color: #19535A;
  font-family: 'bd-supper', sans-serif;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: opacity 0.3s ease;
}

.mobile-menu.hidden {
  display: none;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse; /* Esto invierte el orden: logo a la derecha */
}

.menu-logo {
  height: 50px;
  margin-left: auto; /* asegura que quede a la derecha */
}

.close-button {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  margin-right: auto; /* asegura que quede a la izquierda */
}

.close-button img {
  width: 100%;
  height: auto;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: #9AE2D9;
  color: #19535A;
  font-family: 'bd-supper', sans-serif;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: opacity 0.3s ease;
}

.mobile-menu.hidden {
  display: none;
}

.menu-header {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  flex-direction: row; 
  padding: 0 0.5rem;
}

.menu-logo {
  height: 50px;
}

.close-button {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
}

.close-button img {
  width: 100%;
  height: auto;
}

/* Estilo de enlaces */
.menu-links {
  list-style: none;
  margin-top: 2rem;
  padding: 0;
  font-size: 1.7rem; /* Más grande */
  font-weight: bold; /* En negrita */
  font-family: 'bd-supper', sans-serif;
}
.menu-links a,
.menu-links span {
  color: #19535A;
  text-decoration: none;
  display: block;
  font-size: inherit;
  font-weight: inherit;
}

.menu-links li {
  margin-bottom: 1rem;
}



/* Submenú */
.submenu-items {
  padding-left: 1rem;
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.submenu-items li {
  margin-bottom: 0.5rem;
}


footer {
  background: #19535A;
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}


.alianzaBio {
  font-family: 'Poppins', sans-serif;
   font-weight: bold;
  color: #ffffff;
  font-size: 1.8rem;
  width: 100%;
  right: 3rem;
  text-align: center;
  margin: 0 8% 20px 0;
  position: relative;
  z-index: 1;
}

.image-Container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1rem auto;
  max-width: 1000px;
}

.image-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 1000px;
}

.image-item img {
  width: 22%;
  max-width: 100px;
  height: auto;
}

.ConoceAB {
  color: #77d7cd;
  width: 80%;
  text-align: left;
  margin: 20px auto;
  line-height: 1.5;
  padding: 15px;
  display: block;
  text-decoration: none; /* Quita subrayado */
  font-weight: bold; /* Opcional, si quieres que sea en negrita */
}

.ConoceAB:hover {
  text-decoration: none; /* Efecto al pasar el mouse */
}

/* Posicionamiento de la imagen */
.alianzaBioIMG {
  display: block;
  margin: 1rem auto; /* centra horizontalmente */
  max-width: 200px;
  height: auto;
}



.Ecos {
  font-family: 'Poppins', sans-serif;
  color: #9b9b98;
  font-size: 1rem;
  width: 100%;
  text-align: center;
  margin-top: auto;
  padding: 20px 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .nav-logo {
    width: 100px;
  }

  .main-logo {
    width: 90vw;
  }

  .intro-text {
    font-size: 1.1rem;
    padding: 0 10px;
  }

  .alianzaBio {
    font-size: 1.4rem;
  }

  .image-item img {
    max-width: 60px;
  }

  .alianzaBioIMG {
    max-width: 180px;
  }

  
  .nav-links {
    display: none; /* Oculta menú en móviles */
  }

  /* Botón de menú (esquina superior derecha) */
.menu-button {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }

  .menu-button img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
  }

}