/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
  color: #333;
}

/* ======= NAVBAR ======= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #0077b6; /* mismo color del botón */
  z-index: 999;
  border-bottom: 1px solid #ddd;
}



.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  max-width: 1200px;
  margin: auto;
}

.logo img {
  height: 70px; /* antes era 50px */
  width: auto;
}


.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-weight: bold;
}

.nav-links a.active {
  color: #ffffff; /* o blanco si prefieres */
}

.social-icons img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-left: 10px;
  transition: transform 0.2s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}


/* ======= HERO SECTION ======= */
.hero {
  background-image: url('/img/fondowest.jpg');
  background-size: cover;
  background-position: center;
  height: 700px; /* Aumenta el alto */
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 70px;
}


.hero-overlay {
  background: transparent; /* Eliminamos el fondo oscuro */
  padding: 2rem;
  text-align: center;
  color: white;
}


.hero-overlay h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn {
  background-color: #0077b6;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

/* Sección de galería de tours */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  padding: 0 1rem;
}

.tour-card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.tour-card:hover {
  transform: translateY(-5px);
}

.tour-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tour-card h3 {
  font-size: 1.2rem;
  margin: 1rem;
  text-align: center;
  color: #333;
}

.tour-card p {
  margin: 0 1rem 1rem;
  text-align: center;
  color: #666;
}

.price {
  font-weight: bold;
  color: #008080;
}

.tour-actions {
  display: flex;
  justify-content: space-around;
  margin: 1rem 0 1.5rem;
}

.tour-actions a {
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn {
  background-color: #008080;
  color: #fff;
}

.btn:hover {
  background-color: #005f5f;
}

.btn-secondary {
  background-color: #eee;
  color: #333;
}

.btn-secondary:hover {
  background-color: #ddd;
}

/* ======= TOURS ======= */
.section-title {
  text-align: center;
  margin: 3rem 0 1.5rem;
  font-size: 1.8rem;
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding: 0 1rem 3rem;
}

.tour-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding: 1rem;
  transition: transform 0.2s ease;
}


.tour-card:hover {
  transform: scale(1.02);
}

.tour-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.tour-card h3 {
  margin: 1rem;
  font-size: 1.2rem;
}

.tour-card p {
  margin: 0 1rem 0.8rem;
  font-size: 0.95rem;
}

.tour-card .price {
  margin: 0 1rem;
  font-weight: bold;
  color: #0077b6;
}

.tour-actions {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
}

.btn-secondary {
  background: #f1f1f1;
  color: #333;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 5px;
}

/*collage*/
/* ===== COLLAGE ===== */
.image-collage {
  padding: 2rem 1rem;
  background-color: #fff;
}

.collage-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 1200px;
  margin: auto;
}

.collage-container img {
  width: 260px;     /* Puedes ajustar este valor a tu gusto */
  height: 300px;    /* Puedes ajustar este valor a tu gusto */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.collage-container img:hover {
  transform: scale(1.02);
}

/* GIF debajo del collage */
.gif-container {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 2rem;
}

.tall-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
}

/*Reviews*/
.reviews {
  padding: 2rem 1rem 3rem 1rem; /* menos espacio arriba */
  text-align: center;
  margin-top: -1rem; /* opcional: lo sube más si lo necesitas */
}

.reviews .subtitle {
  color: #555;
  margin-bottom: 2rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.review-card {
  background: #d4f1f9;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.review-card .stars {
  color: #000;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.review-user img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* ======= FOOTER ======= */
.footer {
  background: #0077b6;
  color: white;
  padding: 2rem 1rem 1rem;
}

.icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: auto;
}

.footer h4 {
  margin-bottom: 0.5rem;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 0.5rem;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  .nav-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  .tours-grid {
    padding: 1rem;
  }

  .tour-card {
    margin-bottom: 1rem;
  }
}

/*tours html*/ 
.tour-detail {
  padding: 2rem 1rem 3rem;
  max-width: 900px;
  margin: auto;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.gallery img {
  width: 100%;
  max-width: 400px;
  height: auto; /* permite altura natural */
  object-fit: contain;
  background-color: #f4f4f4;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/*book.html*/
/* Formulario general */
form {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: grid;
  gap: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Etiquetas y campos alineados */
form label {
  font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="date"],
form input[type="number"],
form select,
form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 0.9rem;
}

form textarea {
  resize: vertical;
}

form p#total-amount {
  font-size: 1.1rem;
  color: #333;
  margin-top: 10px;
  text-align: right;
}

/* Botón de envío oculto no se ve */
form button#submit-btn {
  display: none;
}

/* Ajuste para PayPal button container */
#paypal-button-container {
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 600px) {
  form {
    padding: 15px;
  }
}

/*videos*/ 
.tour-video {
  padding: 2rem 1rem;
  text-align: center;
}

.video-frame {
  max-width: 600px; /* ajusta aquí: 500px, 480px, etc. */
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/*tours*/ 
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  padding: 0;
}

.tour-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tour-card:hover {
  transform: translateY(-5px);
}

.tour-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.tour-card h3 {
  margin: 0.8rem 1rem 0;
  font-size: 1.1rem;
  text-align: center;
}

.tour-card p {
  margin: 0.5rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: #444;
}

.tour-card .price {
  color: #008080;
  font-weight: bold;
  margin-bottom: 1rem;
}

.tour-actions {
  margin: auto auto 1rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.btn,
.btn-secondary {
  text-decoration: none;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: bold;
}

.btn {
  background-color: #008080;
  color: white;
}

.btn:hover {
  background-color: #005f5f;
}

.btn-secondary {
  background-color: #eee;
  color: #333;
}

.btn-secondary:hover {
  background-color: #ddd;
}
