/* ==========================
   Sección Lenna (estilo Miguel)
========================== */
.about-hero {
  position: relative;
  min-height: 90vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #d1c2bb; /* fallback por si no carga la imagen */
}

/* Fondo borroso */
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/images/fotolenna.jpg') center center no-repeat;
  background-size: cover; /* ocupa toda la sección */
  filter: blur(30px) brightness(0.7);
  z-index: 0;
}

/* Overlay para contraste */
.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

/* Contenedor del contenido principal */
.content-above-bg {
  position: relative;
  z-index: 2;
  max-width: 700px;
  width: 100%;
  text-align: center;
  padding: 60px 20px;
}

/* Imagen principal delante */
.content-above-bg img.main-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  margin-bottom: 25px;
}

/* Caja de texto encima */
.about-content-box {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px 30px;
  border-radius: var(--border-radius-base);
  box-shadow: 0 4px 15px black;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-align: center;
}

/* Título principal */
.about-content-box h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

/* Subtítulo (si hay) */
.about-content-box h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Texto del párrafo visible o desplegable */
.about-content-box p,
.texto-oculto {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-top: 1rem;
  text-align: left;
}

/* Botón mostrar más / menos */
.toggle-btn {
  margin-top: 1.5rem;
  padding: 12px 30px;
  background-color: black;
  color: var(--color-background);
  border: none;
  border-radius: var(--border-radius-base);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.toggle-btn:hover {
  background-color: #dbbba6;
  color: black;
}

/* ==========================
   Footer
========================== */

.privacidad:hover{
  color: #dbbba6;
}
/* ==========================
   Responsive
========================== */
@media (max-width: 767px) {
  .about-content-box h1 {
    font-size: 2rem;
  }

  .about-content-box h2 {
    font-size: 1.4rem;
  }

  .about-content-box p,
  .texto-oculto {
    font-size: 1rem;
  }

  .toggle-btn {
    font-size: 0.95rem;
    padding: 10px 25px;
  }
}
