* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Poppins', sans-serif;
background-color: #f2f8fa;
color: #333;
margin: 0;
  padding: 0;
}

.navbar {
  position: absolute; /* así el video va atrás */
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}
.navbar.shrink {
  height: 60px; /* más chico al hacer scroll */
  padding: 5px 20px;
  background-color: rgba(255,255,255,0.95);
}

.logo {
  transition: all 0.3s ease;
}

.navbar.shrink .logo {
  width: 65px;
  transform: translateY(0); /* se mete dentro del navbar */
}
.logo {
  width: 150px;
  border-radius: 50%;
  box-shadow: 0px 5px 10px rgba(0,0,0,0.5);
  object-fit: cover;
  transform: translateY(24%); /* CLAVE: Baja el logo para que sobresalga */
  position: relative;
  z-index: 1001;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}

.nav-links ul {
  display: flex;
  gap: 21px;
  list-style: none;
  margin: 0 20px;
  padding: 0 4px;
}

.nav-links ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links ul li a:hover {
  color: #0078A8;
}

.menu-actions {
  display: flex;
  align-items: center;
  gap: 6px; /* más pegado */
  margin-left: auto;
}

.hamburger {
  display: none;
  font-size: 1.9rem;
  cursor: pointer;
  color: #0078A8;
}

.btn-reserva {
  background: #0078A8;
  color: white;
  padding: 8px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.3s;
}

.btn-reserva:hover {
  background: #005f86;
}

.mobile-only {
  display: none;
}
.desktop-only {
  display: inline-block;
}


.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: all 0.3s ease;
  z-index: 1000;
}

.right-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hero Section */
.snorkeling-main {
  padding-top: 0 !important;
}

.hero-snorkeling {
    position: relative;
    width: 100%;
    height: 80vh; /* Altura del hero */
    overflow: hidden
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
position: relative;
z-index: 2;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
color: white;
padding: 0 20px;
background: rgba(0, 0, 0, 0.2);
}

.hero-content h1 {
font-size: 3.8rem;
margin-bottom: 10px;
color: #FFC300;
font-weight: 900;
text-shadow: 
  -1px -1px 0 #000,  
  1px -1px 0 #000,  
  -1px 1px 0 #000,  
  1px 1px 0 #000,  
  0 0 10px #FFC300;
}

.hero-content p {
font-size: 1.5rem;
font-weight: 400;
color: #f0f0f0;
margin-bottom: 35px;
text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.btn-hero {
background: #00bcd4;
color: white;
padding: 14px 30px;
font-size: 1.1rem;
font-weight: 600;
border-radius: 30px;
text-decoration: none;
box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
transition: all 0.3s ease;
}

.btn-hero:hover {
background: #008c9e;
transform: translateY(-3px);
}

/* Sección Info */
.snorkeling-info {
padding: 70px 20px;
max-width: 1100px;
margin: auto;
}

.info-block {
margin-bottom: 70px;
padding-bottom: 40px;
border-bottom: 1px solid #dfe6e9;
}

.info-block:last-child {
border-bottom: none;
}

.info-block h2 {
font-size: 2.6rem;
font-weight: 700;
color: #0078A8;
margin-bottom: 25px;
text-align: center;
}

.info-block p {
font-size: 1.2rem;
font-weight: 400;
line-height: 1.8;
color: #333;
text-align: justify;
margin-bottom: 20px;
}

.info-block strong {
color: #0078A8;
}

.call-to-action {
text-align: center;
margin-top: 50px;
}

.call-to-action p {
font-size: 1.8rem;
font-weight: 700;
color: #0078A8;
margin-bottom: 30px;
max-width: 1000px; /* ahora más grande para que no corte */
margin-left: auto;
margin-right: auto;
line-height: 1.4;
word-break: normal;
white-space: normal;
}

.call-to-action a {
display: inline-block;
background: #00bcd4;
color: white;
padding: 14px 35px;
font-size: 1.2rem;
font-weight: 600;
border-radius: 30px;
text-decoration: none;
box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
transition: all 0.3s ease;
margin-top: 15px;
}

.call-to-action a:hover {
background: #008c9e;
transform: translateY(-3px);
}




/* Footer */
.footer {
  background: #003b5c;
color: white;
text-align: center;
padding: 20px;
}

/* Responsive */
/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
    font-size: 1.6rem;
    cursor: pointer;
  }
  .nav-links .btn-reserva {
    display: none;
  }
  .btn-reserva.mobile-only {
    display: inline-block;
    background-color: #00AEEF;
    color: white;
    padding: 6px 20px;
    font-size: 0.85rem;
    border-radius: 20px;
    text-decoration: none;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

}

.navegacion-final {
  padding: 60px 20px;
  text-align: center;
  background-color: #f1f8ff;
}

.navegacion-final h2 {
  font-size: 1.8em;
  margin-bottom: 30px;
  color: #0078A8;
}

.grid-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card-link {
  position: relative;
  overflow: hidden;
  background: #000;
  border: 2px solid #0078A8;
  border-radius: 15px;
  width: 130px;
  height: 130px;
  text-decoration: none;
  color: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
  text-align: center;
  order: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.card-link video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.6);
}

.card-link h3 {
  position: relative;
  z-index: 1;
  font-size: 1.2em;
  margin: 0;
  padding: 10px 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}


.card-link:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Tarjeta activa */
.active-page {
  border: 3px solid #00c8ff;
  box-shadow: 0 0 20px #00c8ff, 0 0 30px #00c8ff;
  transform: scale(1.1);
  z-index: 2;
  order: -1; /* Se coloca al principio */
}

/* Tarjetas no vistas */
.unread {
  order: 0; /* Se colocan después de la activa */
}

/* Tarjetas vistas */
.read {
  opacity: 0.6;
  order: 1; /* Se colocan al final */
}

/* Responsive */
@media (max-width: 768px) {
  .card-link {
    width: 100%;
    max-width: 300px;
  }
}

/* Tablets y pantallas medianas */

@media screen and (max-width: 1024px) {
  .hero-snorkeling {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.2rem;
    padding: 0 10px;
  }

  .btn-hero {
    font-size: 1rem;
    padding: 12px 26px;
  }
}

/* Celulares grandes (tipo iPhone 14+) */
@media screen and (max-width: 768px) {
  .hero-snorkeling {
    height: 65vh;
  }

  .hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1.5rem;
    padding: 0 8px;
  }

  .btn-hero {
    font-size: 0.95rem;
    padding: 10px 22px;
  }
}

/* Celulares chicos tipo iPhone SE, 5 */
@media screen and (max-width: 480px) {
  .hero-snorkeling {
    height: 80vh;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn-hero {
    font-size: 0.8rem;
    padding: 8px 18px;
  }
}
@media screen and (max-width: 400px) {
  .hero-snorkeling {
    height: 80vh;
  }

  .hero-content {
    top: 55%;
    transform: translateY(-50%);
    padding: 0 12px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 0.9rem;
    line-height: 1.4;
  }


  .btn-hero {
    font-size: 0.85rem;
    padding: 8px 20px;
  }
}
/* Extra chicos tipo 320px */
@media screen and (max-width: 320px) {
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 6px;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .btn-hero {
    font-size: 0.75rem;
    padding: 7px 16px;
  }
}
@media screen and (max-width: 768px) {
  .logo {
    width: 80px;
    transform: translateY(35%);
  }
}

@media screen and (max-width: 480px) {
  .logo {
    width: 80px;
    transform: translateY(30%);
  }
}

@media screen and (max-width: 360px) {
  .logo {
    width: 90px;
    transform: translateY(19%);
  }
}
/* Dropdown menú servicios */
.dropdown {
  position: relative;
}

.dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  border-radius: 6px;
  min-width: 220px;
  z-index: 1000;
}

.dropdown .dropdown-menu li {
  padding: 0;
}

.dropdown .dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

.dropdown .dropdown-menu a:hover {
  background-color: #f3f3f3;
  color: #0078A8;
}

/* Mostrar menú al pasar el mouse en desktop */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Responsive: menú desplegable dentro del menú móvil */
@media screen and (max-width: 768px) {
  .dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    padding: 0;
    background: transparent;
    min-width: 100%;
  }

  .dropdown .dropdown-menu a {
    padding: 8px 0;
    text-align: center;
    font-size: 1rem;
  }

  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }
}
  .lang-selector {
  position: fixed;
  top: 90px; /* debajo del navbar */
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.lang-selector img {
  width: 50px;
  height: 35px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 5px;
  border: 1px solid #ccc;

  transition: transform 0.2s ease;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
  
  .lang-selector img:hover {
    transform: scale(1.1);
  }
  
  .lang-options {
    display: none;
    flex-direction: column;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 5px;
    gap: 6px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  }
  
  .lang-selector.open .lang-options {
    display: flex;
  }
   @media screen and (max-width: 768px) {
  .lang-selector img{
      width:40px;
      height: 30px;
  }
}
@media screen and (max-width: 480px){
  .lang-selector img{
    top:60px;
      width:40px;
      height: 25px;
  }
}