/*=============== Header con botón de opciones ===============*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  background: #000;
  border-bottom: 2px solid #d62828;
  z-index: 1000;
}

/* Bloque de título + descripción */
.header-info {
  width: 75%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header-info h1 {
  color: #d62828;
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
}

.header-info p {
  color: #ccc;
  margin: 0;
  font-size: 18px;
  font-style: italic;
  line-height: 1.1;
}

/* Bloque de botón */
.header-opcion {
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-opciones {
  background: none;
  color: #eae5e5;
  border: none;
  border-radius: 5px;
  padding: 6px 10px;
  cursor: pointer;
  font-weight: bold;
  font-size: 24px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn-opciones:hover {
  background: #d62828;
  color: #fff;
  border: 2px solid #d62828;
  transform: scale(1.05);
}


/*=============== Menú lateral de opciones ===============*/
.overlay {
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  height: calc(100% - 50px);
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 998;
}

.overlay.visible {
  opacity: 1;
  visibility: visible;
}

.menu-opciones {
  position: fixed;
  top: 50px;
  right: 0;
  width: 300px;
  max-height: calc(100% - 50px);
  background: #111;
  color: #f4f4f4;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  z-index: 999;
}

.menu-opciones.visible {
  transform: translateX(0);
}

.menu-opciones ul {
  list-style: none;
  padding: 1rem;
  margin: 0;
}

.menu-opciones ul li {
  margin: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.menu-opciones ul li:last-child {
  border-bottom: none;
}

/* Estilos de los enlaces del menú */
.bt-opc {
  display: block;
  color: #f4f4f4;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  padding: 0.9rem 0.8rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-transform: capitalize;
  font-family: 'Montserrat', sans-serif;
}

.bt-opc:hover {
  background: rgba(214, 40, 40, 0.2);
  color: #d62828;
  transform: translateX(5px);
}

.menu-footer {
  padding: 1rem;
  font-size: 0.8rem;
  border-top: 2px solid #333;
  text-align: center;
  background: #111;
  color: #f4f4f4;
}


