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

body {
  background: #F5F5F5;
  color: #333;
}

/* ========================= NAVBAR ========================= */
.header {
  background: #F5F5F5;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-left img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.header h1 {
  font-size: 20px;
  margin: 0;
  font-weight: bold;
  color: #111;
}

.header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.header nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #111;
  font-weight: bold;
  transition: color 0.3s;
}

.header nav a:hover { color: #093C5D; }

/* ========================= SECCIONES ========================= */
section { padding: 40px 20px; }

/* ========================= HERO ========================= */
.container-principal {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.container-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.container-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.5);
  transition: transform 0.6s ease;
}

.container-principal:hover .container-img img { transform: scale(1.1); }

.overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;
  z-index: 2;
}

.overlay-text h2 {
  font-size: 42px;
  margin-bottom: 10px;
  color: white;
}

.overlay-text p {
  font-size: 16px;
  max-width: 700px;
  color: white;
}

/* ========================= TITULOS ========================= */
section > h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
  color: #111;
}

/* ========================= FILTROS ========================= */
.container-botones {
  text-align: center;
  margin-bottom: 20px;
}

.container-botones button,
.filtro-btn {
  margin: 5px;
  padding: 10px 15px;
  border: none;
  background: #DFF1F1;
  cursor: pointer;
  border-radius: 20px;
  transition: 0.3s;
  font-size: 14px;
}

.container-botones button:hover,
.filtro-btn:hover,
.filtro-btn.active {
  background: #093C5D;
  color: #fff;
}

.filtro-btn i { margin-right: 5px; }

/* ========================= GRID VIAJES ========================= */
.container-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.container-principal-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.container-principal-card:hover { transform: translateY(-8px) scale(1.01); }

.img-zoom-wrap {
  position: relative;
  overflow: hidden;
}

.container-principal-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}

.img-zoom-wrap:hover img { transform: scale(1.06); }

.img-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  opacity: 0;
  transform: translateY(6px);
  transition: 0.3s;
  pointer-events: none;
}

.img-zoom-wrap:hover .img-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.container-card { padding: 15px; }

.container-card h3 { margin-bottom: 8px; font-size: 18px; }
.container-card p  { margin-bottom: 6px; font-size: 14px; color: #555; }

.container-principal-card .precio {
  font-weight: bold;
  color: #093C5D;
  font-size: 16px;
}

.container-principal-card button {
  width: 100%;
  border: none;
  padding: 12px 10px;
  background: #DFF1F1;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.container-principal-card button:hover {
  background: #093C5D;
  color: #fff;
}

.container-principal-card button i { margin-right: 5px; }

/* ========================= CONTACTO ========================= */
#contacto {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contacto-card {
  display: flex;
  width: 70%;
  max-width: 900px;
  height: 400px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contacto-card .container-imagen {
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.contacto-card .container-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.contacto-card:hover .container-imagen img { transform: scale(1.1); }

.contacto-form {
  width: 50%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.contacto-form h2 { margin-bottom: 25px; }

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button[type="submit"] {
  background: #DFF1F1;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 50px;
  font-weight: bold;
  transition: 0.3s;
}

button[type="submit"]:hover {
  background: #093C5D;
  color: #fff;
  transform: scale(1.05);
}

/* ========================= FOOTER ========================= */
.footer {
  background: #111;
  color: #fff;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer div { margin: 10px; }

.footer a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  text-decoration: none;
  margin: 8px 0;
  transition: 0.3s;
}

.footer a i { font-size: 16px; }
.footer a.fb:hover  { color: #1877f2; }
.footer a.ig:hover  { color: #e1306c; }
.footer a.tt:hover  { color: #69C9D0; }
.footer a.mail:hover{ color: #ff9800; }
.footer a.wa:hover  { color: #25d366; }

.footer-info p { color: #bbb; }

.btn-autor {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background: #F5F5F5;
  border-radius: 20px;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.footer-autor .btn-autor { color: #093C5D; }

.btn-autor:hover {
  background: #093C5D;
  color: #F5F5F5;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #333;
  padding-top: 10px;
  font-size: 14px;
  color: #aaa;
}

/* ========================= LIGHTBOX ========================= */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 3000;
  padding: 30px;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.6);
  transform: scale(0.92);
  transition: transform 0.3s ease;
  cursor: default;
}

.lightbox-overlay.active img { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
  z-index: 3001;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.28);
  transform: rotate(90deg);
}

@media (max-width: 600px) {
  .lightbox-overlay { padding: 16px; }
  .lightbox-close { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 16px; }
}

/* ========================= WHATSAPP ========================= */
.btn-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: 0.3s;
  z-index: 999;
}

.btn-whatsapp:hover { transform: scale(1.1); }

/* ========================= PAQUETES ========================= */
#paquetes {
  background: linear-gradient(135deg, #F0F8FA, #E3F2F5);
  padding: 60px 20px;
}

#paquetes h2 { color: #093C5D; }

.paquetes-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.paquete-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(9,60,93,0.12);
  transition: all 0.35s ease;
}

.paquete-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(9,60,93,0.18);
}

/* ── Lado imagen ── */
.paquete-card .meta {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: 220px;          /* altura fija en móvil */
  overflow: hidden;
  background: #DFF1F1;    /* fallback si no hay imagen */
}

.paquete-card .photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

.paquete-card:hover .photo { transform: scale(1.07); }

/* ── Lado texto ── */
.paquete-card .description {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.paquete-card .description h1 {
  font-size: 22px;
  color: #093C5D;
  margin-bottom: 4px;
}

.paquete-card .description h2 {
  font-size: 13px;
  color: #888;
  font-weight: 500;
  margin-bottom: 8px;
}

.paquete-card .description p  {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 8px;
}

.paquete-card .precio {
  font-weight: bold;
  color: #093C5D;
  font-size: 18px;
  margin-bottom: 12px;
}

.read-more { text-align: right; margin-top: auto; }

.read-more a {
  text-decoration: none;
  background: #DFF1F1;
  padding: 10px 20px;
  border-radius: 20px;
  color: #093C5D;
  font-weight: bold;
  font-size: 14px;
  transition: 0.3s;
  display: inline-block;
}

.read-more a:hover {
  background: #093C5D;
  color: #fff;
}

/* ── Desktop: layout horizontal ── */
@media (min-width: 768px) {
  .paquete-card {
    flex-direction: row;
    min-height: 220px;
  }

  .paquete-card.alt { flex-direction: row-reverse; }

  .paquete-card .meta {
    width: 42%;
    height: auto;         /* se estira al alto del texto */
    min-height: 220px;
  }

  .paquete-card .description {
    width: 58%;
  }
}

/* ========================= ANIMACIONES ========================= */
.animar {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.6s;
}

.animar.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================= RESPONSIVE ========================= */


@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .header nav { justify-content: center; }

  .contacto-card {
    flex-direction: column;
    width: 95%;
    height: auto;
  }

  .contacto-card .container-imagen,
  .contacto-card .contacto-form {
    width: 100%;
    height: auto;
  }

  .overlay-text h2 { font-size: 28px; }
  .overlay-text p  { font-size: 14px; }
}
