@charset "utf-8";
/* CSS Document */

/* Gallery Specific Styles */
.gallery-container {
  width: 100%;
  padding: 20px;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.gallery-item {
  flex: 0 0 calc(25% - 20px);
  padding: 10px;
  box-sizing: border-box;
  cursor: pointer;
}

@media screen and (max-width: 991px) {
  .gallery-item {
    flex: 0 0 calc(33.333% - 20px);
  }
}

@media screen and (max-width: 767px) {
  .gallery-item {
    flex: 0 0 calc(50% - 20px);
  }
}

@media screen and (max-width: 480px) {
  .gallery-item {
    flex: 0 0 calc(100% - 20px);
  }
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
  border: 1px solid #323131;
}

.gallery-item img:hover {
  transform: scale(1.05);
  border-color: #a81c51;
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
}

.lightbox-nav button {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  margin: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.lightbox-nav button:hover {
  background: #a81c51;
}

.lightbox-caption {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  font-family: 'Manrope', serif;
}