/* ==== RESET ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #333;
}

/* === NAVBAR PRINCIPAL === */
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a,
.nav-links .dropdown-btn {
  text-decoration: none;
  color: #182164;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 8px 12px;
  display: inline-block;
}

.nav-links a:hover,
.dropdown-btn:hover {
  color: #db2088;
}

.nav-links .cta {
  background: #db2088;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 600;
}

.nav-links .cta:hover {
  background: #182164;
}

/* === SUBMENÚ (DROPDOWN) === */
.dropdown {
  position: relative;
}

.dropdown-btn {
  cursor: pointer;
  display: inline-block;
  padding: 8px 12px;
  color: #182164;
  text-decoration: none;
  transition: 0.3s;
}

.dropdown-btn:hover {
  color: #db2088;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.25); /* 👈 mucho más traslúcido */
  backdrop-filter: blur(15px) saturate(180%); /* 👈 efecto vidrio elegante */
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  min-width: 180px;
  padding: 10px 0;
  z-index: 999;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* Mostrar con animación */
.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeSlide 0.3s ease forwards;
}

/* Adaptación a móvil */
@media (max-width: 768px) {
  .dropdown-content {
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .dropdown-content a {
    padding: 10px 0;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* === DROPDOWN === */
.dropdown {
  position: relative;
  display: inline-block; /* 👈 esto alinea con los demás enlaces */
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.25); /* 👈 mucho más traslúcido */
  backdrop-filter: blur(15px) saturate(180%); /* 👈 efecto vidrio elegante */
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  min-width: 180px;
  padding: 10px 0;
  z-index: 999;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* Mostrar con animación */
.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeSlide 0.3s ease forwards;
}


/* === MODO RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    padding: 0;
  }

  .dropdown-content a {
    padding: 10px 0;
  }
}

/* ==== NAVBAR ==== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  z-index: 1000;
}

:root {
  --azul: #182164;
  --rosa: #db2088;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--azul);
  font-size: 1.4rem;
  font-weight: 700;
}

.logo span {
  color: var(--azul); /* fuerza el color azul */
}

.logo span strong {
  color: var(--rosa); /* Travel fucsia */
}

/* Cuando haces scroll (opcional) */
.navbar.scrolled .logo span {
  color: #fff; /* blanco */
}

.navbar.scrolled .logo span strong {
  color: var(--rosa); /* mantiene fucsia */
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #182164;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #db2088;
}

.nav-links .cta {
  background: #db2088;
  color: #fff;
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #182164;
  margin: 4px 0;
  border-radius: 5px;
}

/* === SUBMENÚ (DROPDOWN) === */
.dropdown {
  position: relative;
}

.dropdown-btn {
  cursor: pointer;
  display: inline-block;
  padding: 8px 12px;
  color: #182164;
  text-decoration: none;
  transition: 0.3s;
}

.dropdown-btn:hover {
  color: #db2088;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border-radius: 10px;
  min-width: 180px;
  padding: 10px 0;
  z-index: 999;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* Mostrar con animación */
.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeSlide 0.3s ease forwards;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  color: #182164;
  text-decoration: none;
  font-size: 0.95em;
  transition: background 0.3s, color 0.3s;
}

.dropdown-content a:hover {
  background: #db2088;
  color: #fff;
}

/* Mostrar al pasar el cursor */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Adaptación a móvil */
@media (max-width: 768px) {
  .dropdown-content {
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .dropdown-content a {
    padding: 10px 0;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* ==== HERO ==== */
.hero {
  height: 100vh;
  background: url("img/fondo.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero p {
  margin-bottom: 20px;
  font-size: 1.2em;
}

.btn-principal {
  background: #db2088;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-principal:hover {
  background: #182164;
}

/* ==== SECCIONES ==== */
.seccion {
  text-align: center;
  padding: 80px 20px;
}

.seccion h2 {
  color: #db2088;
  margin-bottom: 20px;
  font-size: 2em;
}

.seccion p {
  color: #555;
  max-width: 700px;
  margin: 0 auto 30px;
}

.btn-secundario {
  display: inline-block;
  border: 2px solid #db2088;
  color: #db2088;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-secundario:hover {
  background: #db2088;
  color: #fff;
}

/* ==== DESTINOS ==== */
.destinos {
  background: #f5f7fa;
  text-align: center;
  padding: 80px 20px;
  position: relative;
}

.destinos h2 {
  font-size: 2em;
  color: #182164;
  margin-bottom: 10px;
}

.destinos p {
  color: #555;
  margin-bottom: 40px;
}

.slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.slider {
  display: flex;
  gap: 25px;
  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none; /* oculta scroll Firefox */
}

.slider::-webkit-scrollbar {
  display: none; /* oculta scroll Chrome/Safari */
}

.destino-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex: 0 0 360px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.destino-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.destino-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.destino-card h3 {
  color: #182164;
  margin-top: 15px;
}

.destino-card p {
  color: #555;
  font-size: 0.95em;
  margin-bottom: 10px;
}

.btn-reserva {
  display: inline-block;
  background: #182164;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  margin: 10px auto 20px;
  transition: background 0.3s ease;
  width: fit-content;
}

.btn-reserva:hover {
  background: #db2088;
}

/* Botones de navegación */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(24, 33, 100, 0.9);
  color: white;
  border: none;
  font-size: 30px;
  padding: 10px 18px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 50; /* 👈 asegura que quede encima */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slide-btn:hover {
  background: #db2088;
}

.prev {
  left: -60px; /* 👈 más espacio del borde */
}

.next {
  right: 10px; /* 👈 más espacio del borde */
}

.slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: visible; /* 👈 permite que las flechas sobresalgan */
}


/* ==== RESEÑAS ==== */
.reseñas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.review {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  max-width: 300px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ==== FORMULARIO ==== */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 500px;
  margin: auto;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

form textarea {
  min-height: 100px;
  resize: none;
}

/* ==== MODAL ==== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  width: 90%;
  max-width: 400px;
}

.cerrar {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.btn-login {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
}

.btn-login.google {
  background: #ea4335;
  color: #fff;
}

.btn-login.meta {
  background: #1877f2;
  color: #fff;
}

/* === BLOG === */
.blog {
  background: #f9f9fb;
  text-align: center;
  padding: 80px 20px;
}

.blog h2 {
  color: #182164;
  font-size: 2em;
  margin-bottom: 10px;
}

.blog p {
  color: #555;
  margin-bottom: 40px;
}

.blog-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.blog-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 340px;
  transition: all 0.3s ease;
  overflow: hidden;
  text-align: left;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card h3 {
  color: #182164;
  margin: 15px;
  font-size: 1.2em;
}

.blog-card p {
  margin: 0 15px 15px;
  color: #555;
}

.btn-rosa {
  display: inline-block;
  margin: 0 15px 20px;
  padding: 10px 20px;
  background: #db2088;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-rosa:hover {
  background: #182164;
}

/* === ASESORAS === */
.asesoras {
  text-align: center;
  background: white;
  padding: 80px 20px;
}

.asesoras h2 {
  color: #182164;
  font-size: 2em;
  margin-bottom: 10px;
}

.asesoras p {
  color: #555;
  margin-bottom: 40px;
}

.asesoras-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.asesora-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 280px;
  padding-bottom: 20px;
  transition: all 0.3s ease;
}

.asesora-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.asesora-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.asesora-card h3 {
  color: #182164;
  margin-top: 15px;
}

.asesora-card p {
  color: #555;
  margin-bottom: 15px;
}

/* ==== WHATSAPP ==== */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  font-size: 26px;
  padding: 12px 15px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

/* ==== FOOTER ==== */
.footer {
  background: #182164;
  color: white;
  padding: 50px 20px 20px;
}

.footer h4,
.footer h3 span {
  color: #db2088;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-inferior {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-certificaciones .logos-grid {
  display: flex;
  gap: 20px;
}

.footer-certificaciones img {
  width: 130px;
  height: auto;
  opacity: 0.9;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9em;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 30px;
  padding-top: 10px;
}

/* === REDES SOCIALES FOOTER === */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

.footer-social a img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1); /* 👈 convierte los íconos a blanco */
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-social a:hover img {
  transform: scale(1.2);
  filter: brightness(0) invert(0.6); /* 👈 gris clarito al pasar el mouse */
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    background: rgba(255, 255, 255, 0.95);
    width: 200px;
    height: calc(100vh - 70px);
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding-top: 30px;
    transition: 0.3s;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .footer-inferior {
    flex-direction: column;
    align-items: center;
  }
}

/* === ANIMACIÓN SUAVE DEL SUBMENÚ === */
@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === MODAL BLOG === */
.modal {
  display: none; /* oculto por defecto */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* fondo oscuro */
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  max-width: 600px;
  width: 90%;
  padding: 30px;
  border-radius: 15px;
  position: relative;
  animation: aparecer 0.3s ease;
  color: #333;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
  color: #182164;
  margin-bottom: 10px;
}

.modal-content p {
  line-height: 1.6;
  color: #444;
}

.cerrar {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 24px;
  cursor: pointer;
  color: #db2088;
  transition: transform 0.2s;
}

.cerrar:hover {
  transform: scale(1.2);
}

@keyframes aparecer {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* === BOTÓN LEER MÁS (sin borde azul) === */
.btn-rosa {
  display: inline-block;
  margin: 0 15px 20px;
  padding: 10px 20px;
  background: #db2088;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;           /* 👈 quita el borde */
  outline: none;          /* 👈 elimina el borde azul del enfoque */
  cursor: pointer;
  font-family: inherit;
}

.btn-rosa:hover {
  background: #182164;
  transform: translateY(-2px);
}

.btn-rosa:focus {
  outline: none;          /* 👈 evita que reaparezca el trazo azul */
  box-shadow: none;
}

/* === POPUP === */
.popup {
  display: none; /* se muestra con JS */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.popup-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
  animation: popupFade 0.4s ease;
}

.popup-content h2 {
  color: var(--azul);
  margin-bottom: 10px;
}

.popup-content p {
  color: #444;
  margin-bottom: 20px;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #777;
  transition: color 0.3s;
}

.popup-close:hover {
  color: var(--rosa);
}

@keyframes popupFade {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* === UBICACIÓN === */
.ubicacion {
  text-align: center;
  padding: 100px 10%;
  background: #f9f9f9;
}

.ubicacion h2 {
  color: var(--azul);
  margin-bottom: 15px;
}

.ubicacion p {
  color: #555;
  margin-bottom: 30px;
}

.mapa iframe {
  width: 100%;
  max-width: 800px;
  height: 350px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-rosa i {
  margin-right: 8px;
  font-size: 1.2em;
}
