/* RESET */
body {
  padding-top: 90px;
}
a {
  color: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px; /* 👈 mismo tamaño que el otro */
  z-index: 1000;
  background: rgba(0,0,0,0.85);
}


/* NAV CONTAINER */
.nav-container {
  width: 100%;
  height: 100%;   /* 👈 clave */
  padding: 0 40px; /* 👈 quitamos padding vertical */
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* LOGO */
.logo-img {
  height: 80px;
}

/* ================= DESKTOP ================= */
.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
   font-family: 'Poppins', Arial, sans-serif;

}


.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #03ac99;
  transition: 0.3s;
}

.nav a:hover {
  color: #03ac99;
}

.nav a:hover::after {
  width: 100%;
}

/* BOTÓN HAMBURGUESA */
.menu-toggle {
  display: none;
  width: 36px;
  height: 26px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 3000;
}

.menu-toggle span {
  width: 100%;
  height: 4px;
  background: #03ac99;
  border-radius: 4px;
  transition: 0.35s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}



/* OCULTAR EXTRAS EN DESKTOP */
.nav-mobile-extra {
  display: none;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .menu-toggle {
    display: flex;
  }

  /* MENU MOBILE – SIN PARPADEO */
  .nav {
    position: fixed;
    inset: 0;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;

    opacity: 0;
    pointer-events: none;

    /* ❌ SIN TRANSICIÓN AQUÍ */
    transition: none;
  }

  /* ✅ TRANSICIÓN SOLO CUANDO SE ACTIVA */
  .nav.active {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.35s ease;
  }

  /* LINKS MOBILE */
  .nav a {
    font-size: 2rem;
    font-weight: bold;
    color: #03ac99;
    letter-spacing: 1px;
    text-decoration: none;

    opacity: 0;
    transform: translateY(20px);

    /* ✨ SOMBRA EN TEXTO */
    text-shadow:
      
      0 8px 18px rgba(0,0,0,0.25);
  }

  .nav.active a {
    animation: itemIn 0.5s ease forwards;
  }

  .nav.active a:nth-child(1) { animation-delay: 0.1s; }
  .nav.active a:nth-child(2) { animation-delay: 0.2s; }
  .nav.active a:nth-child(3) { animation-delay: 0.3s; }
  .nav.active a:nth-child(4) { animation-delay: 0.4s; }
  .nav.active a:nth-child(5) { animation-delay: 0.5s; }
  .nav.active a:nth-child(6) { animation-delay: 0.6s; }

  /* EXTRAS MOBILE */
  .nav-mobile-extra {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 30px;

    opacity: 0;
    transform: translateY(20px);
  }

  .nav.active .nav-mobile-extra {
    animation: itemIn 0.5s ease forwards;
    animation-delay: 0.6s;
  }

  .nav-social {
    display: flex;
    gap: 25px;
  }

  .nav-social img {
    width: 32px;
    height: 32px;
  }
}

/* ANIMACIÓN */
@keyframes itemIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* =============================
   🔥 BOTÓN WHATSAPP FLOTANTE
============================= */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float img {
  width: 40px;
  height: 40px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

/* AJUSTE MOBILE */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-float img {
    width: 40px;
    height: 40px;
  }
}

/* =================================================
   🧭 GALERÍA DESTINOS – CARDS CUADRADAS (1:1)
================================================= */

/* WRAPPER GENERAL */
.destinos-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 100px; /* espacio para header fijo */
}

/* CONTENEDOR GALERÍA */
.destinos-galeria {
  display: flex;
  gap: 36px;
  padding: 60px 8% 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

/* CARD DESTINO (CUADRADA) */
.destino-bloque {
  flex: 0 0 32vw;        /* ancho controlado */
  aspect-ratio: 1 / 1;  /* 🔑 CUADRADO PERFECTO */
  position: relative;
  text-decoration: none;
  color: #ffffff;
  border-radius: 22px;
  overflow: hidden;
}

/* INNER (para animaciones) */
.destino-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

/* IMAGEN */
.destino-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* TEXTO SOBRE IMAGEN */
.destino-texto {
  position: absolute;
  bottom: 10%;
  left: 8%;
  right: 8%;
  background: rgba(0,0,0,0.45);
  padding: 16px 18px;
  border-radius: 14px;
}

.destino-texto h2 {
    text-align: center;
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: #ffffff;
}

.destino-texto p {
    text-align: center;
  font-size: 0.9rem;
  opacity: 0.9;
  color: #ffffff;
}

/* ===============================
   CONTROLES (DEBAJO)
=============================== */
.destinos-controls {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 18px 0 36px;
}

.destino-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: #000;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.destino-btn:hover {
  background: #111;
  transform: translateY(-3px);
}

/* =================================================
   ✨ ANIMACIÓN ENTRADA (ESTABLE)
================================================= */

/* estado inicial */
.destino-inner {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* estado visible */
.destino-inner.show {
  opacity: 1;
  transform: translateY(0);
}

/* =================================================
   📱 FIX MOBILE – GALERÍA CUADRADA
================================================= */

@media (max-width: 768px) {

  /* la galería vuelve a vertical */
  .destinos-galeria {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 32px 6%;
    gap: 24px;
  }

  /* card ocupa todo el ancho */
  .destino-bloque {
    flex: none;
    width: 100%;
    aspect-ratio: 1 / 1; /* 🔑 cuadrado real */
    height: auto;        /* anulamos alturas previas */
  }

  /* imagen se adapta bien */
  .destino-bloque img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ocultamos controles */
  .destinos-controls {
    display: none;
  }
}
/* ============================================
   FIX FINAL – TODAS LAS CARDS IGUALES (DESKTOP)
============================================ */

@media (min-width: 769px) {

  .destino-bloque {
    aspect-ratio: 1 / 1; /* todas iguales otra vez */
  }

  .destino-bloque img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* imagen completa */
    background: #000;    /* relleno limpio */
  }
    .destinos-galeria {
    padding-left: 40px;  /* margen visual desde el borde */
    padding-right: 0;    /* eliminamos centrado */
  }

}




/* =================================================
   ✨ ANIMACIÓN GALERÍA (HTML ACTUAL)
================================================= */

/* estado inicial */
.destino-bloque {
  opacity: 0;
  transform: translateY(20px); /* leve, no rompe layout */
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* estado visible */
.destino-bloque.show {
  opacity: 1;
  transform: translateY(0);
}
/* ================= FOOTER ESTILO MODERNO ================= */

.footer-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 80px 6%;
  background: #ffffff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  border-top: 1px solid #000000; /* color y grosor */
  padding: 100px;
}



/* TARJETAS */
.footer-card {
  background: #037e6f8a;
  padding: 30px;
  border-radius: 16px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* LÍNEA DECORATIVA */
.footer-card::before {
  content:"";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #04c8b7, #ffffff);
}

/* HOVER */
.footer-card:hover {
  transform: translateY(-8px);
  background: #02574e84;
}

/* TÍTULOS */
.footer-card h3,
.footer-card h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

/* TEXTO */
.footer-card p,
.footer-card a {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

/* HOVER LINKS */
.footer-card a:hover {
  color: #38bdf8;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-wrapper {
    grid-template-columns: 1fr;
  }
}
/* BOTÓN *//* ================= FOOTER ESTILO MODERNO ================= */

.footer-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 80px 6%;
  background: #ffffff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  
}



/* TARJETAS */
.footer-card {
  background: #037e6f8a;
  padding: 30px;
  border-radius: 16px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* LÍNEA DECORATIVA */
.footer-card::before {
  content:"";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #04c8b7, #ffffff);
}

/* HOVER */
.footer-card:hover {
  transform: translateY(-8px);
  background: #02574e84;
}

/* TÍTULOS */
.footer-card h3,
.footer-card h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

/* TEXTO */
.footer-card p,
.footer-card a {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

/* HOVER LINKS */
.footer-card a:hover {
  color: #38bdf8;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-wrapper {
    grid-template-columns: 1fr;
  }
}
/* ================= FOOTER BOTTOM ================= */

.footer-bottom {
  width: 100%;
  margin: 0;
  padding: 20px 0;
  background: #000;
  text-align: center;
}



/* Texto del footer */
.footer-bottom p {
  margin: 0;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 600px) {
  .footer-bottom {
    font-size: 0.85rem;
    padding-top: 20px;
  }
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cfcfcf;
  text-decoration: none;
}

.footer-link img {
  width: 60px;
  height: auto;
  object-fit: contain;
}
/* ===== ANIMACIÓN FOOTER AL SCROLL ===== */
.footer-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.footer-card.show {
  opacity: 1;
  transform: translateY(0);
}
.footer-constancia {
  text-align: center;
  margin-top: 40px;
}

.constancia-img {
  max-width: 220px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.constancia-img:hover {
  transform: scale(1.05);
}

.footer-bottom {
  width: 100%;
  background-color: #000;
  color: #ffffff;
  text-align: center;
  padding: 18px 12px;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 5;
   position: relative;
  bottom: 0;
  margin: 0;
}
.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 16px 38px;
  background: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s ease;
}

.btn:hover {
  background: #03ac99;
  color: #fff;
}

