/* css/tours.css */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(345px, 1fr));
  gap: 24px;
}

.tour-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s, box-shadow 0.35s;
  position: relative;
}
.tour-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 168, 76, 0.15);
}

/* Carrusel de imágenes */
.tour-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.tour-carousel {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}
.tour-carousel-item {
  min-width: 100%;
  height: 100%;
}
.tour-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Indicadores Carrusel */
.carousel-dots {
  position: absolute;
  bottom: 35px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 4;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s;
}
.carousel-dot.active {
  background: white;
  transform: scale(1.3);
}

/* Botones Nav Manual */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  width: 32px;
  height: 60px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 6;
  opacity: 0;
  transition: opacity 0.3s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
}
.tour-img:hover .carousel-nav {
  opacity: 1;
}
.carousel-nav:hover {
  background: rgba(0, 0, 0, 0.75);
}
.carousel-nav.prev {
  left: 10px;
}
.carousel-nav.next {
  right: 10px;
}

.tour-img-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.1) 50%, transparent 100%);
}

.tour-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  z-index: 5;
}
.badge-popular { background: rgba(0, 191, 165, 0.9); color: #fff; }

.tour-meta-img {
  position: absolute;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 14px;
  z-index: 5;
}
.tour-dur {
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}

.tour-body { padding: 22px 22px 0; flex: 1; }
.tour-icon { font-size: 1.5rem; margin-bottom: 8px; }
.tour-body h3 {
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.tour-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin-bottom: 16px;
}
.tour-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.tour-tag {
  background: rgba(0, 191, 165, 0.08);
  border: 1px solid rgba(0, 191, 165, 0.2);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 50px;
}

.tour-footer {
  padding: 18px 22px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.price-from { font-size: 0.65rem; color: rgba(255, 255, 255, 0.4); letter-spacing: 0.08em; text-transform: uppercase; }
.price-main {
  font-family: var(--font-d);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--gold2);
  line-height: 1;
}
.price-main sup { font-size: 1rem; font-weight: 400; vertical-align: super; }
.price-main span { font-size: 0.85rem; font-weight: 300; color: rgba(255, 255, 255, 0.4); }
.price-kids { font-size: 0.7rem; color: var(--teal); margin-top: 4px; font-weight: 500; }

.btn-reservar {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #25D366, #0f9b4b);
  color: #fff;
  font-family: var(--font-b);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-reservar:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
}
@media (max-width: 600px) {
  .tours-grid { grid-template-columns: 1fr; }
  .tour-footer { flex-direction: column; align-items: flex-start; }
  .btn-reservar { width: 100%; justify-content: center; }
}
