/* Fondo general con verdes pasto */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #13557e, #146f76);
  color: #f2fff2;
  overflow-x: hidden;

}
/* ...existing code... */
.hero {
  height: 320px;
  background-image: url('images/all_page/foto\ paisaje\ nueva.jpeg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Cambiado de top a center */
  text-align: center;
  padding: 0 20px;
  color: #ffffff;
  box-shadow: inset 0 -40px 40px rgba(0, 0, 0, 0.5);
  position: relative;
}

.hero-title-bg {
  background: rgba(0,0,0,0.55); /* Fondo oscuro semitransparente */
  border-radius: 18px;
  padding: 18px 36px 10px 36px;
  display: inline-block;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  margin-top: 30px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 900;
  margin-bottom: 10px;
  margin-top: 0;
  color: #fffbe7;
  text-shadow:
    0 4px 18px rgba(0,0,0,0.85),
    0 2px 4px rgba(0,0,0,0.7);
  letter-spacing: 2px;
}

.hero p {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: #fffbe7;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  margin-top: 0;
  margin-bottom: 0;
}

/* ...existing code... */
/* Navegación */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px;
  background-color: rgba(41, 63, 81, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Botones */
nav button {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  color: #000000;
  background: linear-gradient(135deg, #4b68ad, #8cafd7);
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

nav button:hover {
  background: linear-gradient(135deg, #3f6a9c, #7e9ece);
  transform: translateY(-2px);
}

nav button.selected {
  background: linear-gradient(135deg, #f3a02c, #f5bb77);
  color: #1f1f1f;
  border: 2px solid #f1872b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

header {
  padding-bottom: 0px;
}

#selected-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  font-size: 24px;
  font-weight: bold;
  color: #ff7627;
  text-align: center;
  text-shadow: 0.5px 0.5px 3px rgb(222, 144, 27);
  font-family: 'Segoe UI', sans-serif;
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
  margin: 0;
  padding-top: 20px;
}

#selected-title.visible {
  opacity: 1;
}


/* Contenido principal */
main {
  padding: 0px 30px 30px 30px;
}

.tab-content {
  display: block;
  text-align: center;
  margin-top: 20px;
  background-color: rgba(255, 255, 255, 0.04);
  padding: 20px;
  border-radius: 10px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}

/* Ocultar contenido */
.hidden {
  display: none !important;
}

/* Títulos */
.tab-content h2, .tab-content h3 {
  color: #aac6f0;
}

/* Carrusel */
.carousel {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px 0;
}

.carousel img {
  height: 200px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.carousel img:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  color: #d0f0c0;
  background-color: #1d203a;
  font-size: 14px;
}

/* Info blocks */
.info-block {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.06);
  padding: 15px;
  margin: 20px 20px;
  border-radius: 10px;
  gap: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.info-block img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.info-block p {
  margin: 0;
  font-size: 16px;
  color: #f2fff2;
  line-height: 1.5;
}

.info-section {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 60px;
  margin-left: 150px;
  margin-right: 150px;
  padding: 20px 30px; 
  margin-bottom: 20px;
  max-width: 1200px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
  margin-top: 40px;
}

.info-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.info-section.reverse {
  flex-direction: row-reverse;
  margin-right: 180px;
  gap: 70px;
  margin-bottom: 20px;
  margin-top: 0px;
}


.info-text {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-text h2 {
  color: #a8caec;
  font-size: 32px;
  margin-bottom: 20px;
  text-align: center;
}

.info-text ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 30px;
  list-style: none;
  padding: 0;
  width: 100%;
  max-width: 400px;
  text-align: start;
  justify-items: start;
}

.info-text ul li {
  font-size: 18px;
  color: #f2fff2;
  position: relative;
  padding-left: 22px;
}

.info-text ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #7ea6ce;
}


/* Imagen más grande y pegada al borde */
.info-img {
  flex: 1.2; /* le da más espacio proporcional a la imagen */
  text-align: right;
}

.info-img img {
  width: 100%;         /* ocupa el 100% del contenedor */
  max-width: none;     /* elimina límites previos */
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  max-width: 500px;
  margin: 0;
}

.info-img-glider {
  width: 100%;         /* ocupa el 100% del contenedor */
  max-width: none;     /* elimina límites previos */
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  margin: 0;
}

.info-img-glider img {
  width: 100%;         /* ocupa el 100% del contenedor */
  max-width: none;     /* elimina límites previos */
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  margin: 0;
}

/* Mejora de contraste y visibilidad del texto */
h1, h2, h3, h4, h5, h6, p, li {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}
.hero h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
.info-text ul li {
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
}

.high-contrast {
  color: #ffffff;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.85);
}

.unidad4-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 20px auto 40px;
  max-width: 1000px;
  padding: 10px;
}

.unidad4-highlights .highlight {
  background: rgba(255, 255, 255, 0.1); /* Transparente pero visible */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 10px 18px;
  font-size: 15px;
  color: #fff8e7;
  font-weight: 500;
  backdrop-filter: blur(2px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.galeria-lugar {
  text-align: center;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 20px;
}

.galeria-lugar h2 {
  font-size: 28px;
  color: #92cfe3;
  margin-bottom: 20px;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.6);
}

.galeria {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columnas */
  gap: 16px;
  padding: 20px 0;
  align-items: stretch;
}

/* Imágenes horizontales y verticales */
.galeria img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Imágenes verticales que ocupen 2 filas */
.galeria img.vertical {
  grid-row: span 2;
  height: 100%;
  object-fit: cover;
}

/* Imágenes horizontales */
.galeria img.horizontal {
  height: auto;
}

.galeria-descripcion {
  font-size: 16px;
  color: #f2fff2;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.contacto-section {
  max-width: 1200px;
  margin: 0 auto; /* centra la sección */
  padding: 20px;
  margin-top: 20px;
  padding-left: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}


.contacto-section > h2,
.contacto-section > p.comentarios-link {
  flex-basis: 100%;
  text-align: center;
}

.contacto-col {
  flex: 1;
  min-width: 280px;
}

.contacto-col h3 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #f2fff2;
}

.contacto-section a,
.comentarios-link a {
  color: #000000 ;
  font-weight: bold;
  text-decoration: underline;
}

.comentarios-titulo {
  margin-top: 30px;
  text-shadow: 3px 3px 8px rgba(0,0,0,0.85);
}

.comentarios-separador {
  width: 80%;
  margin: 70px auto 0 auto; /* centrado horizontal */
  border-top: 2px solid rgba(0, 0, 0, 0.916);
}

.secciones-separador {
  width: 40%;
  margin: 60px auto 60px auto; /* <-- cambiamos de 30px a 60px */
  border-top: 2px solid rgba(253, 142, 31, 0.916);
}

.comentarios-titulo-home-page {
  margin-top: 60px;
  text-shadow: 3px 3px 10px rgba(0,0,0,0.85);
}

#comentarios a {
  color: #000000;
  font-weight: bold;
  text-decoration: none;
}

.link-dorado {
  color: #f5b650 !important;
  font-weight: bold;
  text-decoration: underline;
}

.comentarios-link {
  text-align: center;
  margin-top: -105px; /* opcional */
  margin-bottom: -70px; /* antes estaba en 20px */
}

.comentarios-link-home-page {
  text-align: center;
  margin-top: 35px; /* opcional */
  margin-bottom: 70px; /* antes estaba en 20px */
}

.contacto-wpp-box {
  background: linear-gradient(to left, #33597d, #3e568e);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.boton-wpp {
  background-color: #25D366;
  color: #000000;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  margin-top: 12px;
  transition: all 0.2s ease-in-out;
}

.boton-wpp:hover {
  background-color: #f7b83c;
  transform: scale(1.03);
}

.icono-wpp {
  width: 22px;
  height: 22px;
  fill: white;
}

.icono-wpp-black {
  width: 22px;
  height: 22px;
  fill: rgb(0, 0, 0)!important;
}

.footer-contenido {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 30px;
  background-color: #123478;
}

.footer-wpp {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

/* Estilo botón de WhatsApp en el footer */
.boton-wpp-footer {
  background-color: #0e8f3d;
  color: #ffffff; /* texto negro */
  padding: 8px 20px;
  border-radius: 30px; /* forma ovalada */
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  transition: all 0.2s ease-in-out;
}

.boton-wpp-flotante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #3bed7c;
  color: #000000; /* texto negro */
  padding: 8px 20px;
  border-radius: 30px; /* forma ovalada */
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  transition: all 0.2s ease-in-out;
}

.boton-wpp-flotante:hover {
  transform: scale(1.2);
  background-color: #ec8d09;
  transform: translateY(-1px);
}

.icono-wpp {
  width: 24px;
  height: 24px;
  fill: white;
}


.boton-wpp-footer:hover {
  background-color: #e1820d;
  transform: translateY(-1px);
}

.footer-contenido p {
  margin: 0;
  font-size: 14px;
  flex: 1;
  text-align: left;
}

/* Responsive general */
@media (max-width: 1200px) {
  .hero h1 { font-size: 52px; }
  .hero p { font-size: 20px; }
  nav button { padding: 10px 20px; font-size: 15px; }
  .info-section { gap: 40px; margin: 0 50px; }
}

@media (max-width: 992px) {
  .hero h1 { font-size: 48px; }
  .hero p { font-size: 18px; }
  nav { gap: 10px; }
  nav button { flex: 1; min-width: 120px; padding: 8px 12px; font-size: 14px; }
  .galeria { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body {background: linear-gradient(to right, #26405d, #21316b);}
  .hero { height: 240px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 16px; }
  main { padding: 0 15px; }
  .info-section {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
  }
  .info-img,
  .info-text {
    flex: unset;
    width: 100%;
    text-align: center;
  }
  .info-img img {
    width: 100%;
    height: 200px;
  }

  .info-img-glider{
    flex: auto;
    width: 100%;
    text-align: center;
  }

  .info-img-glider img {
    width: 100%;
    height: 100%;
  }
  .info-text {
    padding: 0 10px;
  }

  .info-section,
  .info-section.reverse {
    flex-direction: column !important;
      margin: 0 15px !important;
  }
  .contacto-section { flex-direction: column; gap: 20px; margin: 0 15px; }
  .contacto-wpp-box { width: 100%; padding: 20px; }
  .galeria-lugar,

  .glider-track > div {
    flex: 0 0 100%;
  max-width: 100%;
  align-items: center;
  }

  .glider img {
    width: 100%;/* o podés usar height fija si querés un alto uniforme */
  object-fit: cover;
  border-radius: 16px;
  margin-left: 0px;
  margin-right: 0px;
  }

  .glider {
    margin-left: 0px;
    margin-right: 0px;
    width: 100%;
    height: 150px;
  }

  .galeria img.vertical {
    grid-row: auto;
    height: auto;
  }

  .galeria img {
    width: 100%;
    height: auto;
  }

  .galeria-lugar {
    padding: 20px 10px;
  }

  .contacto-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
  }

  .contacto-col {
    width: 100%;
    text-align: center;
  }

  .comentarios-titulo {
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
  }

  .comentarios-link {
    margin-top: 5px;
    margin-bottom: 10px;
  }

    .contacto-wpp-box {
    width: 100%;
    padding: 20px 15px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
  }

  .glider-comentarios {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 10px;
  }

  .glider-comentarios > div {
    scroll-snap-align: start;
    flex: 0 0 80%; /* cada tarjeta ocupa 80% del ancho */
  }

  .contacto-wpp-box,
  .glider-box {
  width: 100%;
  padding: 20px 15px;
  margin: 20px auto;
  }

  .footer-contenido {
    margin: 0 !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .footer-contenido {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .footer-contenido {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .footer-contenido p {
    text-align: center;
    width: 100%;
  }

  .boton-wpp-footer {
    align-self: center;
  }

  .hero { height: 200px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 14px; }
  nav button { padding: 6px 10px; font-size: 13px; }
  .galeria img.vertical { grid-row: unset; }
}


.glider-contain {
  width: 100%;
  margin: 0 auto;
  overflow: visible;
}

.glider {
  overflow: hidden;
  white-space: nowrap;
  align-items: center;
}

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

.glider-track {
  display: flex;
  align-items: center;
}

.glider-container {
  position: relative;
  padding: 0 70px; /* Espacio a los costados para las flechas */
}

.glider-wrapper {
  position: relative;
  overflow: visible; /* Esto permite que las flechas salgan del glider */
}

.glider-prev,
.glider-next {
  position: absolute !important;
  top: 50%!important;
  transform: translateY(-20%)!important;
  z-index: 20!important;
  width: 48px!important;
  height: 48px!important;
  font-size: 24px!important;
  border-radius: 100%!important;
  border: black !important;
  background-color: rgba(255, 255, 255, 0.671)!important;
  color: rgb(0, 0, 0)!important;
  display: flex!important;
  justify-content: center!important;
  align-items: center!important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4)!important;
  cursor: pointer!important;
  transition: all 0.3s ease!important;
}

.glider-prev {
  left: -35px; /* Sale fuera del glider */
}

.glider-next {
  right: -35px;
}

.glider-prev:hover,
.glider-next:hover {
  background-color: rgb(0, 0, 0);
  transform: translateY(-20%) scale(1.2);
}

.glider-box {
  background: linear-gradient(to top left, #000000, #fda131f6);
  border-radius: 24px;
  padding: 10px 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  margin: 20px auto;
  max-width: 1080px;
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glider-contain {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.glider img:not(:last-child) {
  margin-right: 16px;
}

.glider-comentarios {
  display: flex;
  align-items: stretch;
}

.glider-comentarios img {
  max-height: 220px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 12px;
  padding: 6px;
  background-color: #fff;
}