/* style.css — Estilos para catálogo de artesanías */
:root{
  --bg:#fbfbfd;
  --card:#ffffff;
  --muted:#6b6b76;
  --accent:#0066cc;
  --radius:14px;
  --shadow: 0 8px 30px rgba(12,24,44,0.08);
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
  background:linear-gradient(180deg,var(--bg),#f6f7fb);
  color:#222;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
.site-header{max-width:1100px;margin:30px auto;text-align:center;padding:10px}
.site-header h1{font-size:2rem;margin:0 0 6px}
.lead{color:var(--muted);margin:0}

.grid{max-width:1100px;margin:20px auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;padding:10px}
.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px;display:flex;flex-direction:column;align-items:stretch;transition:transform .18s ease, box-shadow .18s ease}
.card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(12,24,44,0.12)}
.card img{width:100%;height:170px;object-fit:cover;border-radius:10px}
.card h2{margin:12px 0 4px;font-size:1.15rem}
.meta{color:var(--muted);font-size:.9rem;margin:0 0 8px}
.desc{flex:1;color:#333;font-size:.95rem}
.actions{display:flex;gap:8px;justify-content:center;margin-top:12px}
.actions button{background:var(--accent);color:#fff;border:none;padding:8px 12px;border-radius:10px;cursor:pointer;font-weight:600}

/* Overlay */
.overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(4,8,15,0.45);opacity:0;pointer-events:none;transition:opacity .18s ease}
.overlay.open{opacity:1;pointer-events:auto}
.overlay-content{width:min(1000px,96%);max-height:92vh;background:var(--card);border-radius:12px;padding:20px;box-shadow:0 30px 80px rgba(6,12,24,0.6);overflow:auto}
.close{position:absolute;right:28px;top:18px;background:transparent;color:#fff;border:0;font-size:28px;cursor:pointer}
.modal-body img{width:100%;height:auto;border-radius:8px;margin:8px 0 14px}
.modal-body h2{margin:0 0 8px}
.process-desc p{color:var(--muted);margin:0 0 12px}
.process-desc ol{padding-left:18px;margin:0 0 18px}
.process-desc li{margin:8px 0;line-height:1.45}
.modal-actions{display:flex;justify-content:flex-end}
.modal-actions #closeInner{background:#e6e6ea;border:0;padding:8px 12px;border-radius:8px;cursor:pointer}

/* Responsive */
@media (max-width:600px){
  .card img{height:140px}
  .overlay-content{padding:14px}
}

.close {
    font-size: 30px;
    top: 10px;
    right: 15px;}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
--------------------------------------------------------------------------------------------------------

/* Estilos generales */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #f4f4f9;
  color: #333;
}

/* Contenedor */
.container {
  width: 95%;
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

/* Header */
header {
  background: #2c3e50;
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2rem;
}

header p {
  font-size: 1rem;
  margin-top: 10px;
}

/* Secciones */
section {
  margin: 30px 0;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Listas */
ul {
  list-style: none;
  padding: 0;
}

li {
  margin: 8px 0;
}

/* Galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

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

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 30px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.95);
}

.lightbox-img {
  margin: auto;
  display: block;
  max-width: 95%;
  max-height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 35px;
  user-select: none;
  transition: 0.3s;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover, .close:hover {
  color: #f1f1f1;
}

/* Footer */
footer {
  text-align: center;
  background: #2c3e50;
  color: #fff;
  padding: 15px 0;
  margin-top: 20px;
  font-size: 0.9rem;
}

/* Media queries para móviles */
@media (max-width: 600px) {
  header h1 {
    font-size: 1.5rem;
  }

  header p {
    font-size: 0.9rem;
  }

  .gallery img {
    height: 120px;
  }

  .prev, .next {
    font-size: 30px;
    padding: 12px;
  }

  .close {
    font-size: 30px;
    top: 10px;
    right: 15px;
  }
}

--------------------------------------------------------------------------------------------------------

/* Body y fondo */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background: #2d2d2d; /* gris medio oscuro */
  color: #ffffff;
}

/* Contenedor principal */
.poster {
  max-width: 1100px;
  margin: 20px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  background: #1f1f1f; /* gris grafito */
}

/* Franja superior */
.header-franja {
  background-color:#000000;
  color: #1d4ed8; /* azul rey */
  text-align: center;
  padding: 20px 10px;
}
.header-franja h1 {
  margin: 0;
  font-size: 2.5rem;
}
.header-franja .subtitulo {
  margin: 5px 0 0;
  font-size: 1.1rem;
  color: #1d4ed8;
}

/* Contenido interno */
.poster-contenido {
  padding: 30px;
}

/* Secciones de conceptos */
.conceptos {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 30px 0;
  gap: 20px;
  flex-wrap: wrap;
}
.conceptos .texto {
  flex: 1 1 400px;
}
.conceptos .texto h2 {
  color: #1d4ed8;
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.conceptos .texto p {
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: justify;
  color: #ffffff;
}
.resaltado-link {
  color: #1d4ed8;
  font-weight: bold;
  text-decoration: none;
}
.resaltado-link:hover {
  text-decoration: underline;
}

/* Imagenes */
.conceptos .imagen img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}



.imagen {
  text-align: center; /* centra el contenido horizontalmente */
}

.qr {
  display: block;     /* para que se comporte como bloque debajo de la imagen */
  margin: 10px auto 0 auto; /* espacio arriba y centrado */
  width: 80px;        /* tamaño proporcional */
  height: auto;       /* mantiene proporción */
}


/* Similitudes */
.similitud {
  margin-bottom: 20px;
  padding: 15px;
  background: #3a3a3a;
  border-left: 5px solid #1d4ed8;
  border-radius: 6px;
}
.similitud h3 {
  margin-bottom: 8px;
  color: #1d4ed8;
}
.similitud p {
  margin: 4px 0;
}

/* Botón */
.info-button-section {
  margin-top: 40px;
  text-align: center;
}
.info-button-section h2 {
  color: #1d4ed8;
  margin-bottom: 10px;
}
.info-button-section p {
  color: #ffffff;
  margin-bottom: 15px;
}
.btn-info {
  display: inline-block;
  padding: 12px 25px;
  background-color: #1d4ed8;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s, transform 0.2s;
}
.btn-info:hover {
  background-color: #1a40b1;
  transform: scale(1.05);
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  background: #3a3a3a;
  color: #ffffff;
  font-size: 0.9rem;
}

/* Responsivo total */
@media (max-width: 992px) {
  .conceptos {
    flex-direction: column;
    align-items: center;
  }
  .conceptos .imagen img {
    margin-top: 15px;
  }
}

/* Página info, humano, humanidad */
body.pagina-info, body.pagina-humano, body.pagina-humanidad {
  background-color: #2b2b2b;
  color: white;
}
.contenido {
  max-width: 900px;
  margin: auto;
  background: #3a3a3a;
  padding: 25px 35px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}
h1, h2 {
  color: #1d4ed8;
}
.subtitulo {
  font-style: italic;
  color: #cccccc;
}
.lista, .lista-similitudes {
  margin: 15px 0;
  padding-left: 20px;
}
.lista li, .lista-similitudes li {
  margin-bottom: 10px;
}
.btn-regresar {
  display: inline-block;
  background: #1d4ed8;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}
.btn-regresar:hover {
  background: #001a66;
}

/* Estilos generales para páginas independientes */
body.pagina-humano,
body.pagina-humanidad,
body.pagina-info {
  background-color: #2b2b2b; /* gris grafito */
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 20px;
}

/* Contenedor principal */
.contenido {
  max-width: 900px; /* limita ancho para pantallas grandes */
  margin: 20px auto;
  background: #3a3a3a; /* gris medio */
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 20px; /* separación vertical entre bloques */
}

/* Titulos principales */
h1 {
  color: #1d4ed8; /* azul rey */
  font-size: 2.2rem;
  margin-bottom: 5px;
  text-align: center;
}

.subtitulo {
  font-style: italic;
  color: #cccccc;
  text-align: center;
  margin-bottom: 20px;
}

/* Bloques tipo "similitud" */
.similitud {
  padding: 20px;
  background: #3a3a3a; /* gris oscuro interno */
  border-left: 6px solid #1d4ed8; /* azul rey */
  border-radius: 8px;
  line-height: 1.6; /* espacio entre líneas */
}

.similitud h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #1d4ed8; /* azul rey */
  font-size: 1.4rem;
}

.similitud p {
  margin: 6px 0;
  font-size: 1.1rem;
  color: #ffffff;
}

/* Botón regresar */
.btn-regresar {
  display: inline-block;
  background: #1d4ed8; /* azul rey */
  color: #ffffff;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  text-align: center;
  margin: 20px auto 0 auto;
  transition: background 0.3s, transform 0.2s;
}

.btn-regresar:hover {
  background: #001a66; /* azul rey más oscuro */
  transform: scale(1.05);
}

/* Responsivo */
@media (max-width: 768px) {
  .contenido {
    padding: 20px;
    gap: 15px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .similitud h3 {
    font-size: 1.2rem;
  }

  .similitud p {
    font-size: 1rem;
  }

  .btn-regresar {
    padding: 10px 20px;
  }
}


































/* CSS exclusivo para humano.html y humanidad.html */

/* Body y fondo */
body {
  background-color: #2b2b2b; /* gris grafito */
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 20px;
}

/* Contenedor principal */
.contenido {
  max-width: 900px;
  margin: 20px auto;
  background: #3a3a3a; /* gris medio */
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 25px; /* separación vertical entre secciones */
}

/* Títulos */
h1 {
  color: #1d4ed8; /* azul rey */
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 5px;
}

.subtitulo {
  font-style: italic;
  color: #cccccc;
  text-align: center;
  margin-bottom: 20px;
}

/* Bloques de conceptos y similitudes */
.similitud {
  padding: 20px;
  background: #3a3a3a; /* gris oscuro */
  border-left: 6px solid #1d4ed8; /* azul rey */
  border-radius: 8px;
  line-height: 1.6;
}

.similitud h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #1d4ed8;
  font-size: 1.4rem;
}

.similitud p {
  margin: 6px 0;
  font-size: 1.1rem;
  color: #ffffff;
}

/* Botón regresar */
.btn-regresar {
  display: inline-block;
  background: #1d4ed8;
  color: #ffffff;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  text-align: center;
  margin: 20px auto 0 auto;
  transition: background 0.3s, transform 0.2s;
}

.btn-regresar:hover {
  background: #001a66;
  transform: scale(1.05);
}

/* Responsivo */
@media (max-width: 768px) {
  .contenido {
    padding: 20px;
    gap: 15px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .similitud h3 {
    font-size: 1.2rem;
  }

  .similitud p {
    font-size: 1rem;
  }

  .btn-regresar {
    padding: 10px 20px;
  }
}
  

.qr-y-boton {
  display: flex;           /* pone QR y botón en fila */
  align-items: center;     /* centra verticalmente */
  justify-content: center; /* centra todo horizontalmente */
  gap: 20px;               /* espacio entre QR y botón */
  margin-top: 10px;        /* separación del texto de reflexión */
}

.qr {
  width: 60px;             /* tamaño más pequeño */
  height: auto;            /* mantiene proporción */
}

.boton-info {
  text-align: left;        /* texto alineado a la izquierda */
}
