:root {
  --primary: #9c27b0;
  --secondary: #ffca28;
  --text: #333;
  --bg: #fffafc;
  --accent: #f48fb1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
}

header p {
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 2rem 1rem;
}

.features, .info, .testimonials, .cta {
  margin-bottom: 2.5rem;
}

h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

ul {
  padding-left: 1.2rem;
}

.button {
  display: inline-block;
  background: var(--secondary);
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
  cursor: pointer;
}

.button:hover {
  background: #ffc107;
}

.testimonial {
  background-color: #fbe9f5;
  border-left: 4px solid var(--primary);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.gallery {
  padding: 2rem 1rem;
  text-align: center;
}

.glider img {
  width: 95%;
  height: auto;
  border-radius: 10px;
  max-height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.glider a:hover img {
  transform: scale(1.03);
}

/* Glider interno que contiene las slides */
.glider {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  width: 100%;
}    

.glider-contain {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  
}

.glider-prev,
.glider-next {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  border-radius: 5px;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 1;
  cursor: pointer;
}

.glider-prev {
  left: 0px;
}

.glider-next {
  right: 0px;
}  

.price-box {
  background-color: #fce4ec;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.price-box strong {
  font-size: 1.6rem;
  color: var(--primary);
}

footer {
  background-color: #f7fdfc; /* suave, elegante */
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.95rem;
  color: #555;
  border-top: 1px solid #ddd;
}

footer a {
  color: #00bfa6; /* color acuamarina que has estado usando */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #00897b; /* tono más oscuro al pasar el cursor */
  text-decoration: underline;
}

.bannerTour {
  position: relative;
  width: 100%;
  height: 500px;
  background-size: 100%;
}
.logoCaminos {
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  padding: 1rem;
  background: rgba(255,255,255, 0.8);
}
.logoCaminos img{
  max-width: 250px;
  width: 100%;
}

.features-grid, .info-grid {
  display: grid;
  gap: 1rem;
}

.features li, .info li{
  list-style: none;
}

@media (min-width: 768px) {
  .features-grid, .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dates {
  margin-top: 3rem;
}

.date-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* === Tabs base === */
.tabs {
  margin-top: 2rem;
  border-radius: 8px;
  background-color: #f9f9f9;
  padding: 1rem;
  position: relative;
}

.tabs input[type="radio"] {
  display: none;
}

.tab-labels {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tab-labels label {
  flex: 1;
  text-align: center;
  padding: 0.8rem 1rem;
  background-color: #e0f2f1;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

input#tab1:checked ~ .tab-labels label[for="tab1"],
input#tab2:checked ~ .tab-labels label[for="tab2"] {
  background-color: var(--primary);
  color: white;
}

/* === Tab Content visibility === */
.tab-content {
  display: none;
}

input#tab1:checked ~ #content1,
input#tab2:checked ~ #content2 {
  display: block;
}

/* === Shared styles === */
.date-item {
  background-color: #e3f2fd;
  border-left: 5px solid var(--primary);
  padding: 1.5rem;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.date-item p {
  margin: 0;
  flex: 1 1 50px;
  font-size: 1rem;
}

.booking {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1 1 150px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.booking select {
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  min-width: 80px;
}

@media (max-width: 600px) {
  .date-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .booking {
    justify-content: flex-start;
    width: 100%;
  }

  .tab-labels {
    flex-direction: column;
  }
}

.video-section {
  background-color: #f0fbf9;
  padding: 3rem 1rem;
  text-align: center;
}

.video-section h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.video-section p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

.tripadvisor-link {
  display: inline-block;
  margin-top: 0.3rem;
  background-color: #34e0a1; /* verde estilo Tripadvisor */
  color: #004d40;
  font-size: 0.9rem;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.tripadvisor-link:hover {
  background-color: #1bd89b;
  color: #00332d;
}

.pago-seccion {
  background-color: #f0fbf9;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.pago-seccion p {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.pago-seccion button {
  background-color: var(--primary);
  color: white;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  margin-top: 1rem;
  cursor: pointer;
}

.pago-seccion button:hover {
  background-color: #009e8a;
}


.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.modal-content h2 {
  color: var(--primary, #00bfa6);
  margin-bottom: 1rem;
}

.modal-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.whatsapp-btn {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.cerrar-modal {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #ccc;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.flor-icon {
  font-size: 3rem;
  color: var(--primary, #00bfa6);
  margin-bottom: 1rem;
}

/* Estilo del botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  line-height: 60px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebc59;
}
