/* === Gallery === */
.tags {
  margin-bottom: 20px;
  text-align: center;
}

.tag-button {
  cursor: pointer;
  padding: 10px;
  margin: 0 10px 0 0;
  color: white;
  background-color: #ff821b;
  border-radius: 10px;
  -webkit-box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 5px 5px 10px 3px rgba(0, 0, 0, 0.2);
  font-weight: 200;
  font-size: 16px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 10px;
}

.gallery-item {
  width: calc(33.333% - 10px);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .gallery-item {
    width: calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .gallery-item {
    width: 100%;
  }
}

.nav-arrow {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -50px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  /* Adjust left/right arrow position */
}

.left-arrow {
  left: 0;
  border-radius: 3px 0 0 3px;
}

.right-arrow {
  right: 0;
  border-radius: 0 3px 3px 0;
}

/* Enhance close button for better visibility */
.close {
  z-index: 2;
}

.tags {
  display: flex;
  flex-direction: row;
  /* justify-content: center; */
}
