/* Importa la fuente cómic */
@import url('https://fonts.googleapis.com/css2?family=Bangers&display=swap');
/* Contenido de "style-contenido.css" */

.galeria-personaje {
  background: #f4f4f4;
  padding: 4rem 1rem;
  color: #111;
  font-family: 'Arial', sans-serif;
}

.galeria-header {
  text-align: center;
  margin-bottom: 2rem;
}

.galeria-header h2 {
  font-size: 2.5rem;
  color: #e60012;
  margin-bottom: 0.5rem;
}

.galeria-header p {
  font-size: 1.1rem;
  color: #444;
}

.galeria-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.galeria-grid img {
  max-width: 300px;
  border: 5px solid #000;
  box-shadow: 5px 5px 0 rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
}

.galeria-grid img:hover {
  transform: scale(1.10);
}

/* Sección de Call to Action para personaje */
.contenido-cta {
  background: #ffeaea;
  padding: 4rem 2rem;
  text-align: center;
}

.cta-titulo {
  font-size: 2.5rem;
  color: #c80000;
  margin-bottom: 1rem;
  font-family: 'Bangers', cursive;
}

.cta-texto {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-botones {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.btn-contenido {
  font-size: 1.2rem;
  background-color: yellow;
  color: red;
  padding: 1rem 2rem;
  border: 3px solid #000;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 3px 3px 0 #000;
  text-transform: uppercase;
}

.btn-contenido.alt {
  background-color: red;
  color: yellow;
}

/* Responsive */
@media (max-width: 768px) {
  .cta-titulo {
    font-size: 2rem;
  }

  .btn-contenido {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
}


@import url('https://fonts.googleapis.com/css2?family=Bangers&display=swap');

/* Asegura tipografía en botones -------------personaje galeria */
.btn-contenido,
.btn-contenido.alt {
  font-family: 'Bangers', cursive;
}

/* Galería */
.galeria-personaje {
  padding: 4rem 0;
  background-color: #fff;
  color: #111;
  text-align: center;
}

.galeria-header h2 {
  font-family: 'Bangers', cursive;
  font-size: 2.8rem;
  color: #000;
  margin-bottom: 0.5rem;
}

.galeria-header p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2rem;
}

.galeria-grid img {
  border: 10px solid #000;
  padding: 3px;
  background: repeating-linear-gradient(
    90deg,
    #000,
    #000 2px,
    #fff 2px,
    #fff 4px
  );
}


.grid-fotos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.grid-fotos img {
  width: 300px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.grid-fotos img:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .grid-fotos img {
    width: 90%;
  }

  .galeria-header h2 {
    font-size: 2rem;
  }
}
/*FIN ajsute

/* Inicia LIGHTHOUSE code*/

/* Estilos para el lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1rem;
}

.lightbox-overlay.activo {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  border: 4px solid white;
  box-shadow: 0 0 20px black;
  border-radius: 10px;
}


/*Fondo*/


/* Estilo para la sección de fondo ambiental con parallax */
.escenario-parallax {
  background-image: url('../images/fondo-ambiente-cdmx.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* efecto parallax */
  padding: 6rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.escenario-parallax::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* capa oscura */
  z-index: -1;
}

/* Contenedor del texto */
.contenido-ambiental {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.contenido-ambiental h2 {
  font-size: 3rem;
  color: #FFD700; /* color dorado para impacto */
  text-shadow: 3px 3px 0 #000;
  margin-bottom: 1rem;
}

.contenido-ambiental p {
  font-size: 1.4rem;
  color: #ffffff;
  text-shadow: 2px 2px 0 #000;
}


/* Ajustes responsive para imagen de fondo y texto */
@media (max-width: 768px) {
  .escenario-parallax {
    background-attachment: scroll;
    background-size: cover;
    background-position: top;
    padding: 3rem 1rem;
  }

  .contenido-ambiental h2 {
    font-size: 1.8rem;
  }

  .contenido-ambiental p {
    font-size: 1rem;
  }
}


.poster-section {
  padding: 4rem 1rem;
  background-color: #111;
  color: #fff;
  text-align: center;
}

.poster-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #ff3e3e;
  text-shadow: 2px 2px 0 #000;
}

.poster-header p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  color: #ccc;
}

.poster-imagen img {
  max-width: 100%;
  height: auto;
  border: 6px solid #000;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.poster-imagen img:hover {
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 768px) {
  .poster-header h2 {
    font-size: 1.8rem;
  }
  .poster-header p {
    font-size: 1rem;
  }
}


/* Estilo personajes -------------------------*/
.catalogo-personajes {
  background-color: #111;
  color: #fff;
  padding: 4rem 1rem;
  margin: 0; /* ✅ Elimina espacios exteriores */
  text-align: center;
}

/* Encabezado */
.catalogo-header h2 {
  font-size: 2.5rem;
  margin: 0 0 0.5rem 0;
  color: #ff3e3e;
  text-shadow: 2px 2px 0 #000;
}

.catalogo-header p {
  color: #ccc;
  margin: 0 0 2rem 0;
}

/* Grid responsive */
.grid-personajes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0; /* ✅ Evita separación innecesaria */
}

/* Tarjeta */
.card-personaje {
  background-color: #222;
  border: 3px solid #000;
  padding: 1rem;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-personaje:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #ff3e3e;
}

/* Imagen del personaje */
.card-personaje img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: block; /* ✅ Evita espacios fantasmas debajo */
}

/* Nombre */
.card-personaje h3 {
  font-size: 1.2rem;
  margin: 0;
  color: yellow;
  text-shadow: 1px 1px 0 #000;
}


/* === PLANTILLA DE PERSONAJE --------=== */
.personaje-detalle {
  background-color: #111;
  color: #fff;
  padding: 4rem 1rem;
}

.personaje-header {
  text-align: center;
  margin-bottom: 2rem;
}

.personaje-header h2 {
  font-size: 2.5rem;
  color: #ff3e3e;
  text-shadow: 2px 2px 0 #000;
  margin-bottom: 0.5rem;
}

.personaje-header p {
  color: #ccc;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}



/*Banner de personaje----------------*/
 .personaje-banner {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0; /* ✅ Evita espacio por salto de línea del contenedor */
  overflow: hidden;
}

.personaje-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 600px; /* Puedes ajustar según necesidad */
  object-fit: cover;
}



/* Historia del personaje -----------------*/
.personaje-historia {
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.personaje-historia h3 {
  color: yellow;
  text-shadow: 1px 1px 0 #000;
  margin-top: 2rem;
}

.personaje-historia ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.personaje-historia li {
  margin-bottom: 0.5rem;
}

/* Banner a la derecha --------en historial----*/
.personaje-banner-secundario {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.personaje-banner-secundario img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 3px solid #333;
}

/* Responsive: stack en móviles */
@media (max-width: 768px) {
  .row-historia {
    flex-direction: column;
  }

  .personaje-historia,
  .personaje-banner-secundario {
    width: 100%;
  }
}

/* Contenedor historia + banner ----ajuste lateral*/
.row-historia {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Historia ocupa 2/3 en escritorio */
.personaje-historia {
  flex: 2;
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 10px;
  line-height: 1.7;
}






/* Call to Action ------ CENTRADO */
.personaje-cta {
  text-align: center;
  margin-top: 2rem;
}

.personaje-cta .btn-contenido {
  font-size: 1.2rem;
  background-color: yellow;
  color: red;
  border: 3px solid #000;
  padding: 1rem 2rem;
  border-radius: 10px;
  margin: 0.5rem;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  font-family: 'Bangers', cursive;
  box-shadow: 3px 3px 0 #000;
  transition: transform 0.2s ease;
}

.personaje-cta .btn-contenido.alt {
  background-color: red;
  color: yellow;
}

.personaje-cta .btn-contenido:hover {
  transform: scale(1.05);
}


/*breadcrumb estilo Include*/

.breadcrumb {
  font-size: 0.9rem;
  margin: 1.5rem 2rem;
  color: #aaa;
  text-align: left;
}

.breadcrumb a {
  color: #ffcc00;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .actual {
  font-weight: bold;
  color: #fff;
}

@media (max-width: 768px) {
  .breadcrumb {
    text-align: center;
  }
}

/*H1 para personajes---*/


/* Título principal H1 para personajes */
.personaje-header h1,
.personaje-detalle h1 {
  font-size: 3rem;
  font-family: 'Bangers', cursive;
  color: #ff3e3e;
  text-shadow: 3px 3px 0 #000;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.1;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .personaje-header h1,
  .personaje-detalle h1 {
    font-size: 2.2rem;
    padding: 0 1rem;
  }
}



/*--------FAQ Estilo para INCLUDE----------*/

.seccion-faq {
  background-color: #111;
  color: #fff;
  padding: 4rem 1rem;
  text-align: left;
}

.faq-header h2 {
  font-size: 2.5rem;
  color: #ff3e3e;
  text-shadow: 2px 2px 0 #000;
  margin-bottom: 1rem;
  text-align: center;
}




.faq-header p {
  text-align: center;
  color: #ccc;
  margin-bottom: 2rem;
}

.faq-listado details {
  margin-bottom: 1rem;
  border-left: 4px solid #ff3e3e;
  padding-left: 1rem;
  cursor: pointer;
}

.faq-listado summary {
  font-weight: bold;
  font-size: 1.1rem;
  color: yellow;
}

.faq-listado p {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #eee;
}


/*----------Index principal con sección blog-----*/



