/* ====== ESTILOS GENERALES ====== */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #fff;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ====== ENCABEZADO ====== */
.encabezado {
  background-color: #5d1631; /* Color vino institucional */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  flex-wrap: wrap;
}
.encabezado img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo-cultura img {
  transform: scale(1.15);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
}
.encabezado img:hover {
  transform: scale(1.2);
  filter: brightness(1.2);
}

/* ====== TÍTULO PRINCIPAL ====== */
.titulo {
  text-align: center;
  margin: 1.2rem 1rem;
}
.titulo h1 {
  font-weight: 600;
  color: #777;
  letter-spacing: 1px;
  font-size: 1.8rem;
}
.titulo p {
  font-size: 0.95rem;
  color: #666;
  margin-top: 0.3rem;
}

/* ====== BARRA DE FILTROS ====== */
.filtros {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

/* Contenedor de la barra principal */
.barra-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background-color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Campos y botones dentro de la barra */
.barra-filtros input,
.barra-filtros select {
  padding: 0.5rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 1rem;
  font-size: 0.9rem;
  outline: none;
}

/* Botones principales */
.btn-buscar {
  background-color: #8b1d3a;
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 1rem;
  cursor: pointer;
  font-size: 0.9rem;
}
.btn-limpiar {
  background-color: #555;
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 1rem;
  cursor: pointer;
  font-size: 0.9rem;
}

/* Botón de agregar monumento */
.btn-agregar {
  background-color: #5d1631;
  color: #fff;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 1.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  align-self: flex-end;
  margin-right: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Hover de botones */
button:hover {
  opacity: 0.9;
  transform: scale(1.03);
}

/* ====== PIE DE PÁGINA ====== */
.pie {
  background-color: #5d1631;
  color: #fff;
  text-align: center;
  padding: 0.6rem;
  font-size: 0.85rem;
  margin-top: auto;
}

/* ====== RESPONSIVIDAD ====== */
@media (max-width: 768px) {
  .encabezado {
    justify-content: center;
    gap: 1rem;
  }
  .encabezado img {
    height: 45px;
  }
  .titulo h1 {
    font-size: 1.4rem;
  }
  .barra-filtros {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-agregar {
    align-self: center;
    margin-right: 0;
  }
}
