.gallery-section {
  position: relative;
  background: #000;
  background-size: cover;
  padding: 120px 0;
  color: #fff;
  font-family: 'Courier Prime', monospace;
}

.gallery-title {
  font-size: 50px;
  letter-spacing: 5px;
  font-weight: bold;
}

/* Stylized Vibe Text (Handwritten look) */
.vibe-text {
  position: absolute;
  top: 60px;
  right: 10%;
  font-family: "Sedgwick Ave Display", cursive; /* Use a similar font */
  font-size: 40px;
  
}

.gallerydiv {
  position: relative;
  z-index: 9;
}

.no-ordinary-text {
  position: absolute;
  bottom: 0px;
  left: 0;
  z-index: 1;
  font-family: "Sedgwick Ave Display", cursive;
  font-size: 50px;
  max-width: 300px;
  text-align: left;
  line-height: 1;
}

/* Gallery Grid Styling */
.gallery-item {
  cursor: pointer;
  overflow: hidden;
  background: #000;
  aspect-ratio: 1 / 1;
}

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

.gallery-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.view-all-btn {
  background: #EE2E3C;
  color: #fff;
  border: none;
  padding: 10px 40px;
  font-family: 'Courier Prime', monospace;
  letter-spacing: 2px;
  text-shadow: 0 0 10px #fff, 0 0 30px #fff;
  text-transform: uppercase;
}
.gallery-section {
  position: relative;
  background: url('../assets/GalleryBg.webp') no-repeat center center;
  background-size: cover;
  padding: 120px 0;
  color: #fff;
  font-family: 'Courier Prime', monospace;
}

/* Maintain your layout */
.gallery-item {
  display: block; /* Required for the <a> tag */
  cursor: pointer;
  overflow: hidden;
  background: #000;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.gallery-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* PhotoSwipe UI Customization (Match Unit VII Red) */
.pswp {
  --pswp-bg: rgba(0, 0, 0, 0.95);
  --pswp-placeholder-bg: #1a1a1a;
}
/* PhotoSwipe UI Adjustments */
.pswp {
  /* Ensure the background is pure black and opaque for the smaller image look */
  --pswp-bg: #000;
  --pswp-root-z-index: 10000;
}

/* Optional: Add a subtle border to the opened image to make it 'pop' against the black */
.pswp__img {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

/* Ensure the close button is easy to see on the black background */

/* Custom Lightbox */
.custom-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.custom-lightbox.active {
  display: flex;
}

.lb-img-wrapper {
  max-width: 60vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img-wrapper img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  transition: opacity 0.2s ease;
}

.lb-arrow {
  background: rgba(238, 46, 60, 0.85);
  border: none;
  color: #fff;
  font-size: 22px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0 20px;
  transition: background 0.2s;
}

.lb-arrow:hover {
  background: rgba(238, 46, 60, 1);
}



/* Mobile adjustments */
@media (max-width: 768px) {
  .lb-img-wrapper {
    max-width: 90vw;
  }
  .lb-arrow {
    width: 38px;
    height: 38px;
    font-size: 16px;
    margin: 0 8px;
  }
}
@media screen and (max-width: 576px) {
  .lb-arrow {
    display: none;
  }
  .gallery-title {
    font-size: 30px !important;
    line-height: 1.2;
    letter-spacing: 0 !important;
  }
}