/* ===== Fondo general ===== */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: #333;
  background: #fdfdfd /* fondo claro y suave */
}

/* ===== Portada ===== */
header {
  margin-top: 40px;
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #fdfdfd; /* fondo claro y suave */
}
header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Contenedor de botones ===== */
.contenedor-botones {
  display: flex;
  flex-direction: column;   /* botones apilados */
  align-items: center;
  gap: 10px;
  padding: 20px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

/* Botón asistencia */
.boton-asistencia {
  background: #ff9a9e;
  color: #fff;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}
.boton-asistencia:hover { background: #ff9900; }

/* Botón subir fotos */
.btn-subir-fotos {
  background: #ffcc00;
  color: #fff;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}
.btn-subir-fotos:hover { background: #ff9900; }

/* ===== Modales generales (asistencia y fotos) ===== */
#modalAsistencia,
#modalFotos {
  display: none; /* ocultos por defecto */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

#modalAsistencia .modal-contenido,
#modalFotos .modal-contenido {
  background: #fff;
  color: #000;
  padding: 20px;
  border-radius: 8px;
  width: 300px;
  text-align: center;
}

/* Botón cerrar modal */
.cerrar {
  color: #333;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.cerrar:hover { color: #ff4444; }

/* Botón enviar dentro de formularios */
.btn-enviar {
  background: #28a745;
  color: #fff;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-enviar:hover {
  background: #218838;
  transform: scale(1.05);
}

/* ===== Formulario asistencia ===== */
.form-asistencia {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}
.form-asistencia label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #000;
}
.form-asistencia input,
.form-asistencia select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

/* ===== Botón inicio ===== */
.boton-inicio {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #ff9a9e;
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  z-index: 999;
}
.boton-inicio:hover { background: #e57373; }

/* ===== Menú categorías ===== */
.menu-categorias {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  background: #ffe4e9;
  padding: 10px;
  z-index: 1000;
}
.menu-categorias a {
  color: black;
  text-decoration: none;
  font-weight: bold;
}
.menu-categorias a:hover { color: black; }
.menu-categorias a.boton-fotos {
  background: pink;
  color: white;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.menu-categorias a.boton-fotos:hover {
  background: #ff9900;
  color: #fff;
}
/* ===== Catálogo ===== */
.catalogo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px 100px 60px 100px;
  background: #ffffff;
  position: relative;
}
.catalogo h2 {
  color: #444;
  font-size: 28px;
  background: rgba(255,255,255,0.9);
  padding: 6px 14px;
  border-radius: 6px;
  border: 2px solid #ff9a9e;
  line-height: 1;
  display: inline-block;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}


/* ===== Productos ===== */
.producto {
  background: #ffe4e9;
  border-radius: 10px;
  padding: 15px;
  margin: 15px;
  width: 250px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  animation: fadeInUp 0.8s ease;
  color: #333;
}
.producto img { max-width: 100%; border-radius: 8px; }
.producto h3 { margin: 10px 0; color: #b03060; }
.producto p { font-size: 14px; margin: 5px 0; }
.boton {
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
}
.boton:hover { background-color: #218838; }

/* ===== Álbum de fotos ===== */
.album-fotos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  background: #ffffff; /* mismo tono suave */
  position: relative;
}
.album-fotos img.foto-mini {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.album-fotos img.foto-mini:hover { transform: scale(1.05); }

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 40px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.9);
  text-align: center;
}
.lightbox:target { display: block; }
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
