/* Gallery Section */
.rj-gallery-section {
  padding: 60px 20px;
  background:
    radial-gradient(circle at top, rgba(196,59,255,0.18), transparent 60%),
    #000;
}

.rj-gallery-section {
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}


/* ===============================
   GALLERY MOSAIC TEXTURE
=============================== */
.rj-gallery-section {
  position: relative;
  padding: 60px 20px;
  background: #0b0b0f;
  overflow: hidden;
}

/* Mosaic texture overlay */
.rj-gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://www.transparenttextures.com/patterns/cubes.png");
  opacity: 0.08;      /* 0.10 = subtle | 0.18 = strong */
  pointer-events: none;
  z-index: 0;
}

/* Keep gallery above texture */
.rj-gallery {
  position: relative;
  z-index: 1;
}

.gallery-title {
  text-align: center;
  color: #fff;
  font-size: 32px;
  margin-bottom: 30px;
}



/* Gallery Layout */
.rj-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.rj-gallery img {
  width: 280px;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.rj-gallery img:hover {
  transform: scale(1.05);
}

/* Lightbox */
.rj-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.rj-lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
}

/* Close Button */
.rj-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* Arrows */
.rj-lightbox-nav {
  position: absolute;
  top: 50%;
  font-size: 60px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
}

.rj-lightbox-nav.prev {
  left: 30px;
}

.rj-lightbox-nav.next {
  right: 30px;
}