/* ======================================================
   VARIABLES GENERALES
====================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
  --naranja: #FF8C42;
  --azul: #1E90FF;
  --beige: #FFF8F0;
  --gris: #444;
  --blanco: #fff;
  --fuente: "Poppins", sans-serif;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  background: var(--beige);
  color: var(--gris);
  scroll-behavior: smooth;
}

/* Para escritorio, mantener una sola línea */
@media (min-width: 1024px) {
  .hero-content h1 {
    margin-bottom: 5px;
    white-space: nowrap;
  }
}

/* ======================================================
   NAVBAR
====================================================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 1000;
}

/* Contenedor principal */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo y texto */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 60px;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 1px;
  background: linear-gradient(45deg, var(--naranja), var(--azul));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.logo-text span {
  font-weight: 700;
  color: var(--naranja);
  -webkit-text-fill-color: var(--naranja);
}

/* Enlaces */
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  transition: transform 0.4s ease;
}

.nav-links a {
  text-decoration: none;
  color: var(--gris);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--azul);
}

/* Botón menú hamburguesa */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
}

.nav-toggle span {
  height: 3px;
  width: 100%;
  background: var(--gris);
  border-radius: 2px;
  transition: 0.3s;
}

/* ======================================================
   MÓVIL
====================================================== */
@media (max-width: 900px) {
  .nav-container {
    padding: 12px 5%;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: 0;
    background: white;
    flex-direction: column;
    width: 220px;
    transform: translateX(100%);
    padding: 25px 0;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .nav-links a {
    margin: 12px 0;
    color: var(--gris);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

  /* animación del icono */
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }

  .logo-text {
    font-size: 1rem;
  }
  .logo-img {
    height: 45px;
  }
}

/* ======================================================
   BANNER DESTINO (fondo gris medio animado)
====================================================== */
.banner-destino {
  position: relative;
  width: 100%;
  height: 35vh;
  min-height: 260px;
  background: linear-gradient(120deg, #d9d9d9, #cfcfcf, #e3e3e3);
  background-size: 300% 300%;
  animation: fondoGris 10s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 70px; /* compensa navbar */
}

@keyframes fondoGris {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.banner-destino .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  color: #222;
  padding: 0 20px;
}

.banner-content h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--azul);
}

.banner-content p {
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto;
  color: #444;
}

/* Responsivo */
@media (max-width: 900px) {
  .banner-destino {
    height: 25vh;
    min-height: 200px;
  }

  .banner-content h1 {
    font-size: 1.9rem;
  }

  .banner-content p {
    font-size: 1rem;
  }
}


/* ======================================================
   SECCIÓN PRINCIPAL
====================================================== */
.destino-principal {
  background: #fff;
  padding: 80px 5% 100px;
}

.destino-principal .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0;
}


.destino-principal .imagen {
  flex: 1;
  min-width: 340px;
  display: flex;
  justify-content: center;
}

.destino-principal .imagen img {
  width: 90%;
  max-width: 480px;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  object-fit: cover;
  margin: 0 auto;
}


.destino-principal .texto {
  flex: 1;
  min-width: 340px;
}

.destino-principal h1 {
  color: var(--azul);
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.destino-principal p {
  color: var(--gris);
  font-size: 1rem;
  line-height: 1.6;
}

/* ======================================================
   JUSTIFICAR TEXTO EN MÓVIL (solo información destino)
====================================================== */
@media (max-width: 900px) {
  .destino-principal .texto p {
    text-align: justify;
  }
  .destino-principal{
    margin-bottom: 0;
    padding-bottom: 0;
  }
}


/* ======================================================
   ATRACCIONES
====================================================== */
.destino-atracciones {
  background: white;
  padding: 100px 5%;
}

.destino-atracciones .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  text-align: center;
}

.destino-atracciones .columna img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.destino-atracciones .columna img:hover {
  transform: scale(1.03);
}

.destino-atracciones h2 {
  color: var(--azul);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.destino-atracciones p {
  color: var(--gris);
  line-height: 1.6;
}

/* ======================================================
   CTA INTEGRADO EN SECCIÓN DE ATRACCIONES
====================================================== */
.cta-integrado {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.cta-integrado h2 {
  color: var(--azul);
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.cta-integrado p {
  color: var(--gris);
  max-width: 600px;
  margin: 0 auto 25px;
  font-size: 1rem;
  line-height: 1.6;
}

.btn-whatsapp.limpio {
  background: var(--naranja);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.btn-whatsapp.limpio:hover {
  background: var(--azul);
  transform: translateY(-3px);
}

/* Móvil */
@media (max-width: 900px) {
  .cta-integrado {
    margin-top: 30px;
    padding-top: 30px;
  }

  .cta-integrado h2 {
    font-size: 1.6rem;
  }
}

/* ======================================================
   FOOTER (OPTIMIZADO Y COMPACTO)
====================================================== */
.footer {
  background: #0e1a2b;
  color: white;
  text-align: center;
  padding: 50px 5% 25px;
  font-family: inherit;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 25px;
}

/* Logo y slogan */
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.footer-logo img {
  width: 80px;
  height: auto;
  margin-bottom: 5px;
}

.footer-logo .slogan {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  font-style: italic;
}

/* Contacto */
.footer-contacto {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-contacto h4 {
  color: var(--naranja);
  font-size: 1rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-contacto .direccion {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
  line-height: 1.4;
  max-width: 300px;
}

.footer-contacto a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  transition: color 0.3s;
}

.footer-contacto a i {
  color: var(--naranja);
  font-size: 1rem;
}

.footer-contacto a:hover {
  color: var(--naranja);
}

/* Parte inferior */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 15px;
}

.footer-bottom p {
  margin: 3px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}

.footer-bottom .creditos a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom .creditos a:hover {
  color: var(--naranja);
}

/* Responsivo */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-logo,
  .footer-contacto {
    align-items: center;
    text-align: center;
  }

  .footer-contacto .direccion {
    max-width: 90%;
  }

  .footer {
    padding: 40px 20px 20px;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }
}

/* ===================== */
/* RESPONSIVO EXTRA */
/* ===================== */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    align-items: center;
  }

  .footer-contacto {
    align-items: center;
  }

  .footer-contacto a {
    justify-content: center;
  }

  .footer {
    padding: 50px 20px 25px;
  }
}
