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: 28vh;                 /* 23% de la altura de la pantalla */
  max-height: 35vh;             /* 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: 1.5rem 1rem 2rem;  
  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;
}

.menu-button {
  display: none; /* Oculta en escritorio */
}


/* Efecto hover para mejor interactividad */
.menu-button:hover img {
  transform: scale(1.1);
}

/* Subtítulo debajo del logo */
.subtitle {
  margin-top: 2rem;
  color: #ffffff;
  font-family: 'bd-supper', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  text-align: center;
  padding: 0 1rem;
}

.instructions {
  margin-top: 1rem;
  color: #ffffff;
  font-family: 'bd-supper', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
  padding: 0 1rem;
  max-width: 1000px;
}
.zona-manglar {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.img-panoramica {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Tarjeta de contenido */
.tarjeta-zona {
  position: absolute;
  background-color: rgba(119, 215, 205, 0.7);
  color: #19535A;
  max-width: 450px;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
  right: 5%;  
  top: 50%;
  transform: translateY(-50%);
  backdrop-filter: blur(4px); /* efecto visual de vidrio esmerilado */
}

.tarjeta-cordillera{
    position: absolute;
  background-color: rgba(25, 83, 90, 0.7);
  color: #77d7cd;
  max-width: 450px;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  backdrop-filter: blur(4px); /* efecto visual de vidrio esmerilado */
}
/* Elementos internos */
.zona-label {
  font-size: 0.9rem;
  font-weight: bold;
  color: #19535A;
  margin: 0;
}
.zona-labelCord{
font-size: 0.9rem;
  font-weight: bold;
  color: #77d7cd;
  margin: 0;
}
.zona-titulo {
  font-size: 2rem;
  margin: 0;
  
}

.zona-prof {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  color: #19535A;
}

.zona-profCord{
   font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  color: #77d7cd; 
}
.zona-descripcion {
  font-size: 0.95rem;
  line-height: 1;
  margin: 0;
}

.btn-video {
  margin-top: 16px;        /* Separación del texto */
  display: flex;
  justify-content: center; /* Centrado horizontal */
  align-items: center;
  align-self: center;      /* Centra dentro del contenedor padre */
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.btn-video img {
  width: 160px;
  height: auto;
}

/* 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);
}

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


@media (max-width: 768px) {
  
   .nav-logo {
    top: 1.5rem; /* igual que el botón de menú */
    left: 1rem;
    width: 160px !important;
  }
  .nav-links {
    display: none; /* Oculta la navegación en móviles */
  }
   .nav-container {
    padding-top: 6rem; /* nuevo espacio arriba para evitar colisión con logo */
    height: auto;      /* permite que crezca si el contenido lo necesita */
  }
  .zona-manglar {
    position: relative;
    height: 65vh;
    overflow: hidden;
    /* separación del nav */
  }

  .img-panoramica {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .tarjeta-zona {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
     padding: 2.5rem 1rem 1rem;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: flex-start;
     overflow: hidden;
    width: 85%;
    max-height: 85%;
    padding: 20px;
    background-color: rgba(119, 215, 205, 0.7);
    border-radius: 16px;
    z-index: 2;
    text-align: center;
  }
  

  .tarjeta-zona::-webkit-scrollbar {
    display: none;
  }

  .zona-label,
  .zona-titulo,
  .zona-prof 
  .zona-labelCord
  .zona-profCord{
    margin: 2px 0; /* menos espacio entre ellos */
    font-size: 0.95rem;
  }

  .zona-titulo {
    font-size: 1.5rem;
  }

  .zona-descripcion {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .btn-video {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto 0;
    background: none;
    border: none;
    padding: 12px;
    cursor: pointer;
  }

  .btn-video img {
    width: 140px;
    height: auto;
  }
  .subtitle {
    font-size: 1.2rem;
    margin-top: 1rem;
  }

  .instructions {
    font-size: 1rem;
    margin-top: 0.5rem;
    padding: 0 1rem;
  }

    /* 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;
  }
}
@media (min-width: 769px) {
  .subtitle {
    margin-top: 3.5rem; /* Baja el subtítulo */
  }

  .instructions {
    margin-top: 2rem;   /* Baja las instrucciones */
    font-size: 1.3rem;  /* Opcional: un poco más grande en PC */
  }
}

