/* Reset básico y estilos globales */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

/* Contenedor principal */
.visit-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
  min-height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Hero section */
.visit-hero {
  text-align: center;
  padding: 15px 20px;
  background-color: #f8f4e9;
  border-radius: 12px;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.7)
    ),
    url("../assets/visitanos/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.visit-title {
  font-size: 2.8rem;
  color: #8b4513;
  margin-bottom: 15px,0px;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.visit-subtitle {
  font-size: 1.8rem;
  color: #a0522d;
  font-weight: 400;
  margin-bottom: 20px;
}

/* Secciones de contenido */
.visit-section {
  margin-bottom: 0;
  padding: 30px;
  margin:20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-title {
  font-size: 2.2rem;
  color: #8b4513;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background-color: #d2b48c;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.5rem;
  color: #a0522d;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
}

.visit-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.visit-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 25px;
}

.highlight {
  font-weight: 600;
  color: #8b4513;
  text-align: center;
  font-size: 1.3rem;
  padding: 10px;
  background-color: #f8f4e9;
  border-radius: 6px;
  display: inline-block;
}

/* Galería de imágenes */
.visit-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  text-align: center;
  padding: 15px;
  background-color: #f8f4e9;
  color: #8b4513;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Lista de actividades */
.visit-list {
  margin: 30px 0;
  padding-left: 0;
  list-style: none;
}

.visit-list-item {
  margin-bottom: 20px;
  position: relative;
  padding-left: 35px;
  line-height: 1.7;
  font-size: 1.1rem;
}

.visit-list-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #8b4513;
  font-weight: bold;
  font-size: 1.3rem;
  top: -2px;
}

/* Timeline del itinerario */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 50px auto;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background-color: #d2b48c;
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 100%;
}

.timeline-item:nth-child(odd) {
  padding-right: calc(50% + 30px);
  text-align: right;
}

.timeline-item:nth-child(even) {
  padding-left: calc(50% + 30px);
  text-align: left;
}

.timeline-time {
  font-weight: bold;
  color: #8b4513;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.timeline-content {
  background-color: #f8f4e9;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  position: relative;
}

.timeline-content h3 {
  margin-top: 0;
  color: #a0522d;
  font-size: 1.4rem;
}

.timeline-content p {
  margin-bottom: 0;
}

.timeline-content::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #8b4513;
  border-radius: 50%;
  top: 30px;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -10px;
}

/* Sección de video */
.video-section {
  text-align: center;
  margin: px 0;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  max-width: 900px;
  margin: 40px auto 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Sección de contacto mejorada */
.contact-section {
  text-align: center;
  background-color: #f8f4e9;
  padding: 40px;
  border-radius: 12px;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #8b4513, #d2b48c, #8b4513);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.form-button-container,
.whatsapp-button-container {
  flex: 1;
  min-width: 250px;
}

/* Estilo para ambos botones */
.form-link-button,
.whatsapp-visit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 25px;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
}

/* Estilo específico para el botón de formulario */
.form-link-button {
  background-color: #8b4513;
}

.form-link-button:hover {
  background-color: #a0522d;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(139, 69, 19, 0.4);
}

/* Estilo específico para el botón de WhatsApp */
.whatsapp-visit-button {
  background-color: #25d366;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-visit-button:hover {
  background-color: #128c7e;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(18, 140, 126, 0.4);
}

/* Icono de WhatsApp agrandado */
.whatsapp-icon {
  width: 30px; /* Aumentado de 24px a 30px */
  height: 30px; /* Aumentado de 24px a 30px */
  transition: transform 0.3s ease;
}

.whatsapp-visit-button:hover .whatsapp-icon {
  transform: scale(1.1);
}

/* Estilos responsivos */
@media (max-width: 1024px) {
  .visit-container {
    padding: 15px;
    gap: 30px;
  }

  .visit-hero {
    padding: 50px 15px;
  }

  .visit-title {
    font-size: 2.4rem;
  }

  .visit-subtitle {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .timeline-item:nth-child(odd) {
    padding-right: calc(40% + 30px);
  }

  .timeline-item:nth-child(even) {
    padding-left: calc(40% + 30px);
  }
}

@media (max-width: 768px) {
  .visit-container {
    min-height: calc(100vh - 140px);
    gap: 25px;
  }

  .visit-hero {
    padding: 20px 0px;
  }

  .visit-title {
    font-size: 2rem;
  }

  .visit-subtitle {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 70px;
    padding-right: 20px;
    text-align: left;
  }

  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
    right: auto;
  }

  .visit-section {
    padding: 25px 15px;
  }

  .visit-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .form-button-container,
  .whatsapp-button-container {
    width: 100%;
  }

  .form-link-button,
  .whatsapp-visit-button {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .whatsapp-icon {
    width: 26px; /* Tamaño ligeramente menor en móviles */
    height: 26px;
  }
}

@media (max-width: 480px) {
  .visit-container {
    padding: 10px;
    min-height: calc(100vh - 120px);
    gap: 20px;
  }

  .visit-hero {
    padding: 30px 10px;
  }

  .visit-title {
    font-size: 1.8rem;
  }

  .visit-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .visit-text {
    font-size: 1rem;
  }

  .form-link-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .timeline-item {
    margin-bottom: 30px;
  }

  .timeline-content {
    padding: 20px;
  }
}
