/* ===========================
   ESTILOS GENERALES (compartidos)
   =========================== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  padding-top: 80px; /* espacio para la navbar fija */
}

#tsparticles {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: auto;
}

/* ===========================
   NAVBAR (compartida en todas las páginas)
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  display: flex;
  justify-content: center;
  background-color: #c2e395;
  transition: background-color 0.3s ease;
  z-index: 1000;
}

.navbar.scrolled {
  background-color: #00000080;
  backdrop-filter: blur(6px);
}

.logo-container {
  display: none;
}

@media (max-width: 768px) {
  .logo-container {
    display: block;
  }
  .logo-nav {
    height: 100px;
    width: auto;
    margin-right: 1rem;
  }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

.nav-links li a .icon {
  height: 60px;
  width: auto;
  margin-right: 8px;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #c2e395;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 10px;
    display: none;
    text-align: center;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}

/* ===========================
   INDEX (solo esta página)
   =========================== */
.index-contenido-principal {
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

.index-titulo-seccion {
  background-color: rgba(255, 255, 255, 0);
  padding: 1.5rem;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 3rem;
}

.index-titulo-seccion h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin: 10;
  font-weight: bold;
}

.index-contenedor-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.index-imagen-lateral {
  max-width: 700px;
  width: 100%;
  border-radius: 10px;
}

.index-lado-derecho {
  max-width: 500px;
  font-size: 1.7rem;
  line-height: 1.6;
  color: #ffffff;
}

@media (max-width: 900px) {
  .index-contenedor-flex {
    flex-direction: column;
    text-align: center;
  }
  .index-imagen-lateral {
    max-width: 90%;
  }
  .index-lado-derecho {
    max-width: 100%;
  }
}

/* ===========================
   INDEX - SLIDER + BOTONES
   =========================== */
.index-seccion-slider-botones {
  padding: 4rem 2rem;
  position: relative;
  z-index: 10;
}

.index-contenedor-slider-botones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}

.index-slider {
  width: 700px;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
}

.index-slide-track {
  display: flex;
  animation: indexScrollSlider 25s linear infinite;
}

.index-slide {
  width: 700px;
  height: 400px;
  object-fit: cover;
}

.index-botones-laterales {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.index-boton-seccion {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 1.2rem 2rem;
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background 0.3s ease;
}

.index-boton-seccion:hover {
  background-color: rgba(136, 255, 0, 0.4);
}

.index-icono-boton {
  width: 48px;
  height: 48px;
}

@keyframes indexScrollSlider {
  0% { transform: translateX(0); }
  33% { transform: translateX(-700px); }
  66% { transform: translateX(-1400px); }
  100% { transform: translateX(0); }
}

@media (max-width: 768px) {
  .index-contenedor-slider-botones {
    flex-direction: column;
    align-items: center;
  }
  .index-slider, .index-slide {
    width: 100%;
    height: auto;
  }
  .index-botones-laterales {
    align-items: center;
  }
  .index-boton-seccion {
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }
  .index-icono-boton {
    width: 40px;
    height: 40px;
  }
}

/* ===========================
   HECHO CON AMOR (solo esta página)
   =========================== */
.amor-contenido-principal {
  margin-top: 1px; /* espacio para que no se tape con la navbar */
  padding: 4rem 2rem;
  position: relative;
  z-index: 10;
}

.amor-titulo-seccion {
  background-color: rgba(255, 255, 255, 0);
  padding: 1rem;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.amor-titulo-seccion h2 {
  font-size: 2rem;
  color: #ffffff;
  margin: 10;
  font-weight: bold;
  font-family: 'Segoe UI', sans-serif; /* misma tipografía que Index */
}


/* ===========================
   HECHO CON AMOR - SLIDER
   =========================== */
/* Contenedor principal */
.amor-contenedor-flex {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}

/* Lado izquierdo: texto */
.amor-lado-izquierdo {
  max-width: 500px;
  font-size: 1.7rem;
  line-height: 1.6;
  color: #ffffff;
  text-align: justify;
}

/* Lado derecho: slider */
.amor-lado-derecho {
  max-width: 700px;
}

.amor-slider {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
}

.amor-slide-track {
  display: flex;
  animation: amorScrollSlider 25s linear infinite;
}

.amor-slide {
  width: 700px;
  height: 400px;
  object-fit: cover;
}

@keyframes amorScrollSlider {
  0% { transform: translateX(0); }
  33% { transform: translateX(-700px); }
  66% { transform: translateX(-1400px); }
  100% { transform: translateX(0); }
}

/* Responsive */
@media (max-width: 900px) {
  .amor-contenedor-flex {
    flex-direction: column;
    text-align: center;
  }
  .amor-lado-izquierdo {
    max-width: 100%;
  }
  .amor-lado-derecho {
    max-width: 100%;
  }
  .amor-slide {
    width: 100%;
    height: auto;
  }
}

.titulo-animado span {
  display: inline-block;   /* convierte cada letra en un bloque animable */
  font-weight: bold;       /* opcional: resalta el título */
  font-size: 2.5rem;       /* ajusta tamaño */
  color: #ffffff;
  white-space: pre; /* respeta espacios tal cual están en el HTML */            /* color del texto */
}

/* Corrección para que texto e imágenes se alineen horizontalmente */
.meditacion-contenedor-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  width: 100%;
}

/* Asegura que el texto se expanda */
.meditacion-lado-izquierdo {
  flex: 2;
  max-width: none;
}

/* Asegura que el slider se mantenga en su espacio */
.meditacion-lado-derecho {
  flex: 1;
  max-width: 700px;
  overflow: hidden;
}



.amor-slider {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .amor-contenedor-flex {
    flex-direction: column;
  }

  .amor-lado-izquierdo,
  .amor-lado-derecho {
    flex: 1;
    width: 100%;
  }
}
/* Ajuste final para que el texto se alargue */
.amor-lado-izquierdo {
  max-width: none;   /* elimina la restricción de 500px */
  flex: 2;           /* mantiene que ocupe más espacio que el slider */
}

/* ===========================
  Contacto
   =========================== */
.contacto-contenido {
  padding: 4rem 2rem;
  text-align: center;
}

/* Contenedor de botones centrados */
.contacto-redes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
}

/* Estilo de los botones */
.contacto-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  transition: transform 0.3s ease;
}

.contacto-btn img {
  height: 24px;
  width: auto;
}

/* Efecto hover: se hacen grandes */
.contacto-btn:hover {
  transform: scale(1.2);
}

/* Colores por red */
.whatsapp { background-color: #25D366; }
.instagram { background-color: #E1306C; }
.facebook { background-color: #1877F2; }

.contacto-mapa {
  margin-top: 3rem;
}

/* ===========================
   MEDITACIÓN CON CUENCOS
   =========================== */
.meditacion-contenido-principal {
  margin-top: 1px;
  padding: 4rem 2rem;
  position: relative;
  z-index: 10;
}

.meditacion-titulo-seccion {
  padding: 1rem;
  text-align: center;
  margin-bottom: 2rem;
}

.meditacion-titulo-seccion h2 {
  font-size: 2rem;
  color: #ffffff;
  font-weight: bold;
}

.meditacion-contenedor-flex {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.meditacion-lado-izquierdo {
  flex: 2;
  font-size: 1.7rem;
  line-height: 1.6;
  color: #ffffff;
  text-align: justify;
}

.meditacion-lado-derecho {
  flex: 1;
}

.meditacion-slider {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
}

.meditacion-slide-track {
  display: flex;
  animation: meditacionScrollSlider 40s linear infinite;
}

.meditacion-slide {
  width: 700px;
  height: 400px;
  object-fit: cover;
}

@keyframes meditacionScrollSlider {
  0% { transform: translateX(0); }
  25% { transform: translateX(-700px); }
  50% { transform: translateX(-1400px); }
  75% { transform: translateX(-2100px); }
  100% { transform: translateX(0); }
}

@media (max-width: 900px) {
  .meditacion-contenedor-flex {
    flex-direction: column;
    text-align: center;
  }
  .meditacion-lado-izquierdo,
  .meditacion-lado-derecho {
    width: 100%;
  }
  .meditacion-slide {
    width: 100%;
    height: auto;
  }
}


.psicologia-contenido-principal {
  padding: 4rem 2rem;
  text-align: center;
  color: #ffffff;
}

.psicologia-titulo-seccion h2 {
  font-size: 2.5rem;
  font-weight: bold;
}

.psicologia-foto img {
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
  margin: 2rem auto;
  display: block;
}

/* ===========================
   Psicologia
   =========================== */

.psicologia-contenido-principal {
  padding: 4rem 2rem;
  color: #ffffff;
}

.psicologia-titulo-seccion h2 {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
}

.psicologia-contenedor-flex {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Foto a la izquierda */
.psicologia1-foto img {
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
}

/* Bloques de texto a la derecha */
.psicologia-bloques-texto {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.psicologia1-texto-caja {
  background-color:transparent;
  padding: 1rem 1.5rem;
  border-radius: 20px;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: left;
}

/* Texto final */
.psicologia-texto-final {
  background-color: rgba(255, 255, 255, 0);
  margin-top: 3rem;
  font-size: 1.7rem;
  line-height: 1.6;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .psicologia-contenedor-flex {
    flex-direction: column;
    align-items: center;
  }

  .psicologia-bloques-texto {
    width: 100%;
    align-items: center;
  }

  .psicologia-texto-caja {
    text-align: center;
  }

  .psicologia-foto img {
    max-width: 100%;
  }
}

.psicologia-seccion-triple {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 4rem;
}

/* Foto a la izquierda */
.psicologia-foto-lateral img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
}

/* Texto centrado */
.psicologia-texto-central {
  flex: 1;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #ffffff;
  text-align: justify;
}

/* Bloques con movimiento a la derecha */
.psicologia-bloques-movimiento {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.psicologia-texto-caja {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #ffffff;
  text-align: left;
}

/* Responsive */
@media (max-width: 900px) {
  .psicologia-seccion-triple {
    flex-direction: column;
    align-items: center;
  }

  .psicologia-texto-central,
  .psicologia-bloques-movimiento {
    width: 100%;
    text-align: center;
  }

  .psicologia-texto-caja {
    text-align: center;
  }

  .psicologia-foto-lateral img {
    max-width: 100%;
  }
}

.psicologia-bloques-centro {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

.psicologia-bloques-centro .psicologia-texto-caja {
  background-color: rgba(255, 255, 255, 0);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
}
.psicologia-titulo-seccion {
  text-align: center;
  margin-top: 4rem;
}

.psicologia-titulo-seccion h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
}

.psicologia-subtitulo {
  text-align: center;
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 2rem;
}

.psicologia-contenedor-flex {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.psicologia-foto img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

.psicologia-texto-lateral {
  flex: 1;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #ffffff;
  text-align: justify;
}

/* Responsive */
@media (max-width: 900px) {
  .psicologia-contenedor-flex {
    flex-direction: column;
    align-items: center;
  }

  .psicologia-texto-lateral {
    text-align: center;
  }

  .psicologia-foto img {
    max-width: 100%;
  }
}
.psicologia-contenedor-flex {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.psicologia-foto img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

.psicologia-texto-lateral {
  flex: 1;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #ffffff;
  text-align: justify;
}

.psicologia-texto-central {
  margin-top: 3rem;
  font-size: 1.7rem;
  line-height: 1.6;
  color: #ffffff;
  text-align: justify;
}

/* Bloques con movimiento */
.psicologia-bloques-movimiento {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
}

.psicologia-texto-caja {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #ffffff;
  text-align: left;
}

/* Responsive */
@media (max-width: 900px) {
  .psicologia-contenedor-flex {
    flex-direction: column;
    align-items: center;
  }

  .psicologia-texto-lateral,
  .psicologia-bloques-movimiento {
    width: 100%;
    text-align: center;
  }

  .psicologia-texto-caja {
    text-align: center;
  }

  .psicologia-foto img {
    max-width: 100%;
  }
}

