/* ===============================
   IMPORTAMOS UNA FUENTE MODERNA
   Inter es muy usada hoy en webs profesionales
   =============================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ===============================
   VARIABLES DE COLOR (PALETA DEL LOGO)
   👉 Aquí se cambian TODOS los colores del sitio
   =============================== */

:root {
  --ocean: #003b177a;/* Azul principal (mar caribe) */
  --aqua: #62BA87;  /* Turquesa claro (agua) */
  --sun: #facc15;  /* Amarillo sol (usar solo como acento) */
  --deep: #011017; /* Azul oscuro (textos importantes) */

  --glass-bg: rgba(255,255,255,.35); /* Fondo tipo vidrio */
  --glass-border: rgba(255,255,255,.45);  /* Borde sutil glass */
  --text-dark: #083344;
  --white: #ffffff;
}
/* ===============================
   RESET BÁSICO
   Evita espacios raros del navegador
   =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* ===============================
   BODY (FONDO GENERAL DE LA PÁGINA)
   Gradiente suave playa + atardecer
   =============================== */
body {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  color: #003B17; /* verde profundo para texto */

  
  /* Fondo principal del sitio */
  background: linear-gradient(
    to bottom,
    #FCFFFF 0%,   /* blanco limpio arriba */
    #FFF2A0 30%,  /* arena suave */
    #62BA87 65%,  /* verde tropical */
    #26000000 100%  /* verde profundo abajo */
  );
}


/* ===============================
   CLASE GLASS (VIDRIO DIFUMINADO)
   👉 Se usa en secciones, divs, cards
   =============================== */
.glass {
  background: var(--glass-bg);/* Fondo translúcido */
  backdrop-filter: blur(18px); /* Difuminado */
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
}

/* ===============================
   HEADER (BARRA SUPERIOR)
   =============================== */
.header {
  margin: 20px;
  padding: 18px 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;

    /* Hace que quede fijo al hacer scroll */
  position: sticky;
  top: 20px;
  z-index: 1;

    /* Efecto glass */
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  border: 1px solid var(--glass-border);

  gap:30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 999;

  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
}


.logo-img {
  max-height: 60px;   /* 👈 controla el tamaño */
  width: auto;
  object-fit: contain;
}

.logo span {
  font-weight: 700;
  font-size: 18px;
  color: var(--ocean);
  white-space: nowrap;
}

/* LINKS DEL MENU */
.header nav a {
  margin-left: 26px;
  text-decoration: none;
  color: var(--deep);
  font-weight: 500;
}

.btn-secondary{
  display: inline-block;
  padding: 14px 36px;

  background: rgba(255, 242, 160, 0.214); /* amarillo arena claro */
  color: #003B17;

  font-weight: 600;
  text-decoration: none;

  border-radius: 999px;
  border: none;
  cursor: pointer;

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  transition: all .3s ease;
}

/* ===============================
   BOTONES PRINCIPALES
   =============================== */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;

    /* Gradiente azul caribe */
  background: linear-gradient(
    135deg,
    var(--ocean),
    var(--aqua)
  );

  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;

  border-radius: 999px; /* Botón redondo */
  border: none;
  cursor: pointer;

  
  /* Sombra que da profundidad */
  box-shadow: 0 14px 32px rgba(14,116,144,.45);
  transition: all .3s ease;
}

/* EFECTO HOVER DEL BOTÓN */
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(14, 116, 144, 0.6);
}

.btn-secondary:hover {
  background: #FFF2A0;
  transform: translateY(-2px);
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===============================
   FIX: QUITA EL CUADRO BLANCO
   en enlaces tipo botón
   =============================== */

a.btn-primary,
a.btn-secondary {
  outline: none;
}

a.btn-primary:focus,
a.btn-primary:active,
a.btn-primary:focus-visible,
a.btn-primary:visited {
  outline: none;
  box-shadow: 0 14px 32px rgba(14,116,144,.45);
  color: #fff;
}

a.btn-secondary:focus,
a.btn-secondary:active,
a.btn-secondary:focus-visible,
a.btn-secondary:visited {
  outline: none;
  color: #003B17;
}

/* ===============================
   RESET TOTAL DEL BUTTON INTERNO
   =============================== */




/* ===============================
   SECCIONES PRINCIPALES
   =============================== */
.section {
  max-width: 1200px;
  margin: 90px auto;
  padding: 60px 40px;

    /* Glass effect */
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  border-radius: 0px;
  border: 1px solid var(--glass-border);
}

/* TITULOS DE SECCIÓN */
.section h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 40px;
}

/* ===============================
   FOOTER
   =============================== */
.footer {
  margin: 60px 20px 20px;
  padding: 60px 40px;

  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  border-radius: 26px;
  border: 1px solid var(--glass-border);
}


@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 20px;
  }
}

/*card de los tours*/

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;


  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.card {
  display: flex;
  flex-direction: column;
  background: #fffef6;
  border-radius: 22px;
  padding: 20px;

  min-height: 520px; /* 🔑 TODAS MISMAN ALTURA */
  box-shadow: 0 18px 40px rgba(0,0,0,.12);

  transition: transform .3s ease;
}


.card-info {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 16px;
  background: rgba(0, 0, 0, 0.45); /* transparente */
  color: #fff;
  backdrop-filter: blur(4px); /* efecto pro ✨ */
}

.card-info h3 {
  margin: 0;
  font-size: 1.2rem;
}

.card-info p {
  margin: 6px 0 10px;
}

/* botones centrados */
/* botones centrados */
.card-actions
.card-extra {
  display: flex;
  justify-content: center;
}

/* info OCULTA por defecto */
.card-extra {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

/* solo se muestra al hacer click */
.card.active .card-extra {
  display: flex;
}

.card .btn-primary {
  display: block;
  width: 100%;
  text-align: center;
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
}

.card p {
  font-size: 14px;
  color: #003B17;
}

/* zona de info desplegable */
.card.active .card-extra {
  display: flex;
}

/*ALINEACCION DE BOTONES*/
.card .btn-info,
.card .btn-primary {
  width: 100%;
  text-align: center;
}

/* separar botones del texto */
.card .btn-primary {
  margin-top: auto; /* 🔥 SIEMPRE ABAJO */
}

.card a.btn-primary {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

.img{
  width: 100%;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;/*llena la card*/
}

.img-box {
  width: 100%;
  height: 220px;        /* 🔑 todas iguales */
  overflow: hidden;
  border-radius: 16px;
  background: #f2f2f2;
}


.btn-info {
  width: 100%;
  padding: 12px 0;

  background: rgba(255,255,255,.25);
  color: var(--deep);

  font-weight: 600;
  border-radius: 14px;

  border: none;
  cursor: pointer;

  transition: all .3s ease;
}

.btn-info:hover {
  background: rgba(255,255,255,.4);
}

.btn-reservar {
  padding: 10px 26px;
  border-radius: 22px;
  background: #7fb28c;
  color: #fff;
  text-decoration: none;
}

/*testimonio y opiniones*/
.testimonials {
    background: linear-gradient(135deg, #d6efe06e, #a8d5ba);
    padding: 70px 40px;
    border-radius: 0px;
    color: #083d2b;

    max-width: 1200px;   
    margin: 90px auto; 
}

.testimonials h2 {
    font-size: 32px;
    margin-bottom: 50px;
    font-weight: bold;
}

.testimonial-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-card {
    background: rgba(255,255,255,0.95);
    padding: 25px;
    border-radius: 20px;
    flex: 1;
    min-width: 280px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
}

.top-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.top-section img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #5fa67a; /* borde verde */
}

.top-section h4 {
    margin: 0;
    font-size: 16px;
    color: #083d2b;
}

.location {
    font-size: 13px;
    color: #4a6b5d;
    margin: 2px 0;
}

.stars {
    color: #2e7d5a; /* verde fuerte en vez de rojo */
    font-size: 14px;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.6;
    color: #083d2b;
}

/*tour listos*/

.tour-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tour-item {
  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(255,255,255,.6);
  padding: 20px 25px;
  border-radius: 18px;

  transition: .3s ease;
}

.tour-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,.1);
}
h2 {
  letter-spacing: 1px;
}

.section h2 {
  font-size: 32px;
}

/*intenerarios de tour*/
.itinerario h4 {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 14px;
}

/* Icono de cotejo */
.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--aqua);
  font-weight: bold;
}

/*centra card-extra*/
.card-extra {
  display: none;
  flex-direction: column;
  align-items: flex-start;  /* 👈 ahora a la izquierda */
  text-align: left;
  gap: 12px;
  margin-top: 12px;
}
.card-extra p {
  width: 100%;
  margin: 4px 0;
}

/*seccion de experiencia nuestra*/
.experiencia-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.experiencia-texto h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.destacado {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.experiencia-texto p {
  margin-bottom: 18px;
  line-height: 1.7;
}

.experiencia-lista h3 {
  margin-bottom: 20px;
  font-size: 20px;
}

.experiencia-checklist {
  list-style: none;
  padding: 0;
  columns: 2; /* 👈 divide en 2 columnas */
  column-gap: 40px;
}

.experiencia-checklist li {
  margin-bottom: 12px;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .experiencia-container {
    grid-template-columns: 1fr;
  }

  .experiencia-checklist {
    columns: 1;
  }
}

/*fotos nosotros*/
.galeria-header {
  text-align: center;
  margin-bottom: 40px;
}

.galeria-header h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.galeria-header p {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.galeria-item {
  overflow: hidden;
  border-radius: 15px;
  position: relative;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.galeria-item:hover img {
  transform: scale(1.08);
}

/*contacto*/
/* ===============================
   CONTACT HEADER
   =============================== */

.contact-header {
  max-width: 1200px;
  margin: 90px auto 40px;
  padding: 60px 40px;
  text-align: center;

  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 26px;
}

.contact-header h1 {
  font-size: 38px;
  font-weight: 700;
  color: var(--ocean);
  margin-bottom: 15px;
}

.contact-header p {
  font-size: 16px;
  color: var(--deep);
}

/* ===============================
   CONTACT WRAPPER
   =============================== */

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto 90px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* ===============================
   INFO CARD
   =============================== */

.contact-info {
  padding: 40px;
  border-radius: 26px;

  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
}

.contact-info h3 {
  margin-bottom: 25px;
  font-size: 20px;
  color: var(--ocean);
}

.contact-info p {
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--deep);
}

.contact-info strong {
  color: var(--ocean);
}

.contact-info a {
  color: var(--aqua);
  font-weight: 600;
}

/* ===============================
   FORM CARD
   =============================== */

.contact-form {
  padding: 40px;
  border-radius: 26px;

  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* INPUTS */

.contact-form input,
.contact-form textarea {
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  background: rgba(255,255,255,0.7);
  transition: .3s ease;
}

.contact-form textarea {
  min-height: 140px;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(98,186,135,0.25);
}

/* BOTON */

.contact-form .btn {
  padding: 14px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;

  background: linear-gradient(
    135deg,
    var(--ocean),
    var(--aqua)
  );

  color: white;
  box-shadow: 0 14px 32px rgba(0,59,23,.25);
  transition: .3s ease;
}

.contact-form .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,59,23,.35);
}

.small-text {
  font-size: 13px;
  color: var(--deep);
  opacity: 0.8;
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}