.carousel-container {
  max-width: 100%;
  margin: auto;
  text-align: center;
}

.carousel-main {
  position: relative;
  overflow: hidden;
}

.carousel-img {
  display: none;
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
}

.carousel-img.active {
  display: block;
}

.carousel-thumbs {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.carousel-thumb {
  width: 60px;
  height: 40px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  border-radius: 5px;
  border: 2px solid transparent;
}

.carousel-thumb.active {
  opacity: 1;
  border-color: #007bff;
}

.carousel-buttons {
  margin-top: 10px;
}

.carousel-buttons button {
  padding: 5px 15px;
  margin: 0 10px;
  cursor: pointer;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

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

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

.lightbox-nav span {
  font-size: 40px;
  color: white;
  cursor: pointer;
}