/* Boxy Lightbox Styles */
#bunker {
  position: relative;
  padding: 20px 40px;
  width: 100%;
  overflow: hidden;
}

#bunker .bunker-grid-container {
  display: flex;
  gap: 20px;
  overflow-x: scroll;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0;
}

#bunker .bunker-grid-container::-webkit-scrollbar {
  display: none;
}

#bunker .bunker-grid-container img {
  flex: 0 0 400px;
  width: 500px;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#bunker .bunker-grid-container img:hover {
  transform: scale(1.05);
}

#bunker .bunker-container-prev,
#bunker .bunker-container-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* background: rgba(114, 52, 173, 0.8); */
  background: #e05d39;
  color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 2;
  transition: all 0.3s ease;
}

#bunker .bunker-container-prev:hover,
#bunker .bunker-container-next:hover {
  background: #3f3f3f;
  transform: translateY(-50%) scale(1.1);
}

#bunker .bunker-container-prev:disabled,
#bunker .bunker-container-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#bunker .bunker-container-prev {
  left: 10px;
}

#bunker .bunker-container-next {
  right: 10px;
}

.bunker-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bunker-overlay.active {
  display: flex;
  opacity: 1;
}

.bunker-lightbox {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  margin: auto;
  background-color: #3f3f3f;
  border-radius: 8px;
  overflow: hidden;
}

.bunker-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bunker-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.bunker-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
}

.bunker-close,
.bunker-share,
.bunker-prev,
.bunker-next {
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.bunker-close:hover,
.bunker-share:hover,
.bunker-prev:hover,
.bunker-next:hover {
  background: rgba(0, 0, 0, 0.8);
  color: #7234ad;
}

.bunker-prev,
.bunker-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.bunker-prev {
  left: 20px;
}

.bunker-next {
  right: 20px;
}

.bunker-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #3f3f3f;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20001;
  animation: boxyFadeInUp 0.3s ease;
}

.bunker-toast-close {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0 5px;
}

.bunker-toast-close:hover {
  color: #7234ad;
}

.bunker-container-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.bunker-container-nav button {
  background: #3f3f3f;
  color: #ffffff;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s;
}

.bunker-container-nav button:hover {
  background: #595959;
}

.bunker-container-nav button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bunker-pagination {
  color: #ffffff;
  padding: 10px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  min-width: 60px;
  text-align: center;
}

.bunker-description {
  color: #ffffff;
  padding: 15px;
  text-align: center;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.5);
  margin: 10px 0;
  border-radius: 4px;
}

@keyframes boxyFadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
