.header_dos {
  color: #fff;
  height: 4px;
  display: flex; /* Esto es necesario para que justify-content funcione */
  justify-content: center;
  background-color: #3f1c50 ;
}

/* Estilo de navegación */
.tres nav {
  color: #ffffff;
  display: flex;
  justify-content: space-between; /* Distribuir los elementos de forma equitativa */
  align-items: center;
  width: 100%; /* Asegura que el contenedor ocupe todo el ancho disponible */
}

/* Estilo de la lista */
.dos {
  color: #fff;
  list-style: none;
  display: flex;
  gap: 600px; /* Añadir separación entre los elementos de la lista */
}

/* Estilo de los enlaces */
.dos a {
  
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}


/* 
  
.gallery-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #ffffff;
}

.filter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-btn {
  background-color: #444;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background-color: #ff6b00;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  height: 250px;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.item-overlay {
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px;
  transition: all 0.3s ease;
}

.gallery-item:hover .item-overlay {
  bottom: 0;
}

.item-title {
  font-size: 16px;
  margin-bottom: 5px;
}

.item-category {
  font-size: 12px;
  color: #ff6b00;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 5px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.25);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.lightbox-nav button {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lightbox-nav button:hover {
  background: rgba(255, 107, 0, 0.8);
}

.lightbox-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  text-align: center;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* Animaciones 
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.gallery-item {
  animation: fadeIn 0.5s ease forwards;
}

/* Responsive 
@media (max-width: 768px) {
  .gallery-grid {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .lightbox-content {
      max-width: 95%;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .item-overlay {
      padding: 10px;
  }
  
  .item-title {
      font-size: 14px;
  }
} */
.container {
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 5%;
}

h1 {
  text-align: center;
  margin: 20px 0 30px;
  color: #ffffff;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.gallery-item {
  background-color: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.gallery-title {
  padding: 10px;
  text-align: center;
  font-weight: 600;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  z-index: 100;
  overflow: auto;
  padding: 20px;
}

.modal-content {
  background-color: white;
  border-radius: 8px;
  max-width: 800px;
  margin: 40px auto;
  overflow: hidden;
  position: relative;
  animation: modalFadeIn 0.4s;
}

@keyframes modalFadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #2c3e50;
  color: white;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.close-button {
  color: white;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
}

.close-button:hover {
  color: #ccc;
}

.modal-body {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .modal-body {
      flex-direction: row;
  }
}

.modal-image-container {
  flex: 1;
  padding: 20px;
}

.modal-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.modal-info {
  flex: 1;
  padding: 20px;
}

.info-title {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 15px;
}

.info-description {
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.5;
}

.info-details {
  margin-top: 20px;
}

.info-item {
  display: flex;
  margin-bottom: 10px;
}

.info-label {
  font-weight: 600;
  width: 120px;
  color: #555;
}

.info-value {
  flex: 1;
}

@media (max-width: 767px) {
  .modal-content {
      margin: 20px;
  }
  
  .gallery {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}