body {
  background-color: #f0f0f0;
  color: #333;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

.barra-principal {
  background-color: black; 
  color: white; 
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  flex-wrap: wrap; /
}

/* REDES SOCIALES */
.redes-sociales {
  display: flex;
  gap: 12px;
}

.redes-sociales a {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.redes-sociales img {
  width: 30px;
  height: 30px; 
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.redes-sociales a:hover img {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* IDIOMAS */
.idiomas {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.banderas {
  display: flex;
  gap: 8px;
}

.banderas img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banderas a:hover img {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* BUSCADOR */
.buscador {
  display: flex;
  align-items: center;
  gap: 8px;
}

.buscador input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  min-width: 120px;
}

.buscador button {
  background-color: #e63946;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.buscador button:hover {
  background-color: #d62839;
}

@media (max-width: 768px) {
  
  .barra-principal {
    flex-direction: column; 
    align-items: center;    
    text-align: center;     
  }

  .redes-sociales,
  .idiomas {
    justify-content: center; 
    margin-top: 10px;        
  }

  .idiomas {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .buscador input[type="text"] {
    width: 90%; 
    max-width: 300px; 
  }

  .buscador button {
    width: auto; 
  }

  .redes-sociales img,
  .banderas img {
    width: 28px;
    height: 28px;
  }
}

/* Logo */
nav {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 1200;
}

.logo {
  height: 150px;
  object-fit: contain;
}

.menu-list {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.menu-list li {
  position: relative;
}

.menu-list li a {
  text-decoration: none;
  color: #1d3557;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: color 0.3s;
}

.menu-list li a:hover {
  color: #457b9d;
}

.menu-list li a i {
  margin-left: 5px;
  font-size: 14px;
}

.abrir-menu,
.cerrar-menu {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #1d3557;
  display: none;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1d3557;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  border-radius: 6px;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.menu-list li:hover .submenu {
  display: block;
}

.submenu li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #fff;
  font-weight: 400;
  transition: background 0.3s;
}

.submenu li a:hover {
  background-color: rgba(255, 255, 255, 0.2); /* mejor contraste */
}

.submenu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1100;
}

.submenu-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Estilos para pantallas pequeñas */
@media (max-width: 768px) {
  .logo {
    height: 150px;
  }

  .abrir-menu {
    display: block;
    z-index: 1300;
  }

  .cerrar-menu {
    display: none;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1300;
  }

  .menu-list {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #1d3557;
    transition: left 0.35s ease-in-out;
    padding-top: 5rem;
    gap: 0;
    z-index: 1200;
  }

  .menu-list.show {
    left: 0;
  }

  .menu-list li {
    width: 100%;
  }

  .menu-list li a {
    color: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }

  .menu-list li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
  }

  .submenu {
    display: none;
    position: static;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    flex-direction: column;
  }

  .submenu.open {
    display: flex;
  }

  .submenu li a {
    padding: 0.75rem 2.5rem;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .submenu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  .menu-list li a .bi-chevron-down {
    transition: transform 0.3s ease;
  }

  .menu-list li a.active .bi-chevron-down {
    transform: rotate(180deg);
  }
}

/* SECCIÓN GALERÍA */
.galeria-carrusel {
  width: 100%;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  padding: 40px 0;
}

.carrusel-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 30px;
  scrollbar-width: none; 
}

.carrusel-wrapper::-webkit-scrollbar {
  display: none; 
}

.carrusel {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 0 20px;
}

.imagen {
  min-width: 250px;
  max-width: 300px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  text-align: center;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.imagen:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.imagen img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.imagen:hover img {
  transform: scale(1.1);
}

.info {
  padding: 15px;
}

.info h3 {
  font-size: 1.3rem;
  margin: 0 0 5px;
  color: #333;
}

.info p {
  font-size: 1.1rem;
  font-weight: bold;
  color: #e63946;
  margin: 0;
}

@media (min-width: 1024px) {
  .galeria-carrusel {
    overflow: hidden;
  }

  .carrusel-wrapper {
    overflow: hidden;
  }

  .carrusel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 0 40px;
  }

  .imagen {
    flex: 1 1 calc(25% - 30px);
    max-width: calc(25% - 30px);
  }
}

/* CONTENIDO PRINCIPAL */
.info-tabla {
  text-align: center;
  padding: 2rem;
  background-color: #fff;
}

.info-tabla h3 em {
  color: #c40000; 
  font-size: 2rem;
}

.info-tabla-contenido strong {
  display: block;
  margin-top: 1rem;
  font-size: 1.2rem;
}

.info-tabla-contenido p {
  margin: 1rem auto;
  max-width: 600px;
  font-size: 1rem;
  color: #333;
}

.seccion-opiniones {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contenedor-scroll-opiniones {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #888 #eee;
  max-width: 100%;
}

.tarjeta-opinion {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 1.2rem;
  min-width: 260px;
  max-width: 280px;
  scroll-snap-align: start;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.tarjeta-opinion h3,
.tarjeta-opinion h4,
.tarjeta-opinion p {
  margin: 0.5rem 0;
}

.estrellas-trip {
  color: #ffc107;
  font-size: 1.2rem;
}

.tripadvisor-widget {
  margin-top: 1.5rem;
}

.tripadvisor-logo-solo {
  width: 150px;
}

@media (max-width: 768px) {
  .info-tabla h3 em {
    font-size: 1.5rem;
  }

  .tarjeta-opinion {
    min-width: 220px;
    padding: 1rem;
  }

  .info-tabla-contenido p {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .tarjeta-opinion {
    min-width: 200px;
  }

  .info-tabla {
    padding: 1rem;
  }
}

/* TOURS */
.tours-gallery {
  padding: 60px 5%;
  background-color: var(--light-color);
}

.gallery-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--dark-color);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.gallery-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.tour-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-decoration: none;
}

.tour-card:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
  position: relative;
  width: 100%;
  padding-bottom: 75%; 
  overflow: hidden;
}

.card-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  top: 0;
  left: 0;
}

.tour-card:hover .card-image img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white, #fff);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 20px;
  text-align: center;
}

.tour-card:hover .overlay {
  opacity: 1;
}

.overlay span {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .gallery-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .overlay span {
    font-size: 1.2rem;
  }

  .card-image {
    padding-bottom: 70%;
  }
}

@media (max-width: 480px) {
  .gallery-title {
    font-size: 1.6rem;
  }

  .tours-gallery {
    padding: 40px 3%;
  }

  .card-image {
    padding-bottom: 65%;
  }

  .overlay span {
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* PROMO NACIONALES */
.promo-nacionales {
  display: flex;
  justify-content: center;
  margin: 60px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  animation: fadeIn 1s ease-out;
}

.promo-bg {
  background: linear-gradient(145deg, #1b5e20, #66bb6a);
  color: #fff;
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 900px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-top: 5px solid #ff5252;
  border-bottom: 5px solid #ff5252;
  overflow: hidden;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.promo-bg::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 24 24' fill='%23ffffff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 19.5L21.5 4.5L20.5 2.5L10.5 10.5L9 6L7.5 7L9 13.5L2.5 17.5V19.5Z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  animation: fly-up 8s linear infinite;
  top: 70%;
  left: -100px;
  transform: rotate(20deg);
  opacity: 0.8;
  z-index: 3;
}

.promo-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.promo-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #ffeb3b;
  text-shadow: 0 3px 6px rgba(0,0,0,0.5);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  animation: slideUp 1s ease-in-out;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.promo-title span {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  opacity: 0.95;
  margin-top: 8px;
}

.promo-subtitle {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 620px;
  margin: 10px auto 30px;
  line-height: 1.6;
}

.promo-circles {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin: 30px 0;
}

.circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  border: 4px solid #fff;
  position: relative;
  transition: transform 0.4s, box-shadow 0.4s;
}

.circle:hover {
  transform: scale(1.08);
  box-shadow: 0 0 30px #ffd600;
}

.btn-book {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffd600;
  color: #1b1b1b;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.8rem;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.btn-book:hover {
  background: #fff176;
  transform: translateX(-50%) scale(1.1);
}

.promo-cta {
  margin-top: 20px;
}

.promo-cta .btn-consulta {
  background: #f50057;
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: background 0.3s, transform 0.3s;
}

.promo-cta .btn-consulta:hover {
  background: #c51162;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .promo-title {
    font-size: 2.1rem;
  }

  .promo-title span {
    font-size: 1.2rem;
  }

  .circle {
    width: 100px;
    height: 100px;
  }

  .btn-book {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .promo-subtitle {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .promo-bg {
    padding: 25px 15px;
  }

  .promo-title {
    font-size: 1.8rem;
  }

  .promo-title span {
    font-size: 1rem;
  }

  .promo-subtitle {
    font-size: 0.95rem;
  }

  .circle {
    width: 90px;
    height: 90px;
  }

  .promo-cta .btn-consulta {
    padding: 10px 22px;
    font-size: 0.9rem;
  }
}

/* whaatsapp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-float img {
    width: 28px;
    height: 28px;
    margin-top: 11px;
  }
}

/* ==== FOOTER GENERAL ==== */
.site-footer {
  background-color: #1d3557;
  color: white;
  padding-top: 60px;
  position: relative;
  border-top-left-radius: 100px 40px;
  border-top-right-radius: 100px 40px;
  overflow: hidden;
  font-family: 'Arial', sans-serif;
}

.footer-wave {
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('imagenes/wave.svg') repeat-x;
  background-size: cover;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 40px 20px;
  position: relative;
  z-index: 2;
}

.footer-section {
  flex: 1 1 220px;
  margin: 20px;
  text-align: center;
}

.footer-section img {
  width: 150px;
  border-radius: 10px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #f1faee;
}

.footer-section p,
.footer-btn {
  font-size: 14px;
  color: #f1faee;
  margin: 5px 0;
  text-decoration: none;
  display: block;
}

.footer-btn:hover {
  text-decoration: underline;
  color: #a8dadc;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-icons img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}

.footer-bottom {
  background-color: #142f47;
  padding: 20px;
  text-align: center;
  font-size: 13px;
  z-index: 2;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.2);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    text-align: center;
    margin-bottom: 30px;
  }

  .social-icons {
    justify-content: center;
  }
}
