/* Navbar */
.navbar {
  background-color: #931212 !important;
  padding: 0.4rem 1rem;
  position: relative;
  z-index: 1;
}

/* Links de navegación */
.navbar .nav-link {
  padding: 0.3rem 0.6rem;
  font-size: 0.9rem;
  color: white !important;
  text-decoration: none;
}

.navbar .nav-link:hover {
  color: #000 !important;
}

/* Cards */
.card img {
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card {
  overflow: hidden;
  transition: transform 0.5s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover img.card-img-top {
  transform: scale(1.1);
}

.card-body-custom {
  background-color: rgb(233, 230, 230);
  text-align: center;
  color: #931212;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Section Title */
.section-title {
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 800;
  letter-spacing: .2px;
  color: #931212;
}

/* Footer */
/* Footer */
.liston-negro {
  background-color: rgb(233, 230, 230);
  width: 100%;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer-link {
  color: #931212;
  text-decoration: none;
}
.footer-link:hover {
  text-decoration: underline;
}

.espacio {
  word-spacing: 5px;
}

/* Tipografía */
.texto {
  color: #931212;
}

.textos {
  color: #931212;
  text-decoration: none;
  margin: 0 5px;
}
.textos:hover {
  text-decoration: underline;
}

/* Tipografía */
.texto {
  color: white;
}

.textoo {
  font-weight: bold;
}
 
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0; 
  background-color: rgba(0, 0, 0, 0.8);
  overflow: auto;
  padding: 40px 20px;
}

.lightbox:target {
  display: flex; 
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
}

.close-button {
  color: #fff;
  position: absolute;
  top: -15px;
  right: -15px;
  font-size: 35px;
  background: #931212;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
}

.close-button:hover {
  background: #000;
  color: #fff;
}

/* Responsive */
@media (max-width: 540px){
  .actions{ flex-direction: column; }
  .card img { height: auto; }
  footer {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}