/* =========================
   GALLERY SECTION
========================= */

.gallery-section{
  padding: 40px 0;
}

.gallery-title{
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
}

/* GRID */
.gallery-grid{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-gridd{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}


.gallery-gridd img{
  width: 100%;
  height: 500px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transition: transform .3s ease;
}

.gallery-gridd img:hover{
  transform: scale(1.03);
}








.gallery-griddd{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}


.gallery-griddd img{
  width: 100%;
  height: 400px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transition: transform .3s ease;
}

.gallery-griddd img:hover{
  transform: scale(1.03);
}












.gallery-gridddd{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}


.gallery-gridddd img{
  width: 100%;
  height: 450px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transition: transform .3s ease;
}

.gallery-gridddd img:hover{
  transform: scale(1.03);
}
/* =========================
   ALL IMAGE COMMON STYLE
========================= */

.gallery-grid img{
  width: 100%;
  height: 270px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transition: transform .3s ease;
}

.gallery-grid img:hover{
  transform: scale(1.03);
}

/* =========================
   SPECIAL IMAGE TYPES
========================= */

.RK-Classes-img{
  height: 430px;
}

.gallery-im{
  height: 500px;
  border: 1px solid #000;
}

.gallery-imgg{
  height: 300px;
  border: 1px solid #000;
}

/* =========================
   RED DIVIDER
========================= */

.red-divider{
  width: 100%;
  height: 3px;
  background: #e53935;
  /* margin: 50px 0; */
}

/* =========================
   LIGHTBOX
========================= */

.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img{
  max-width: 90%;
  max-height: 85%;
}

/* CLOSE BUTTON */
.close-btn{
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}

/* NAVIGATION */
.nav{
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

.prev{ left: 30px; }
.next{ right: 30px; }

/* COUNTER */
.counter{
  position: absolute;
  top: 20px;
  left: 30px;
  color: #fff;
  font-size: 16px;
}

/* =========================
   RESPONSIVE BREAKPOINTS
========================= */

/* Tablet */
@media (max-width: 992px){
  .gallery-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-title{
    font-size: 30px;
  }
}

/* Mobile */
@media (max-width: 576px){
  .gallery-grid, .gallery-gridd, .gallery-griddd, .gallery-gridddd{
    grid-template-columns: 1fr;
  }

  .gallery-title{
    font-size: 26px;
  }

  .gallery-grid img, .gallery-gridd img, .gallery-griddd img, .gallery-gridddd img{
    height: auto;
  }

  .gallery-im,
  .gallery-imgg,
  .RK-Classes-img {
    height: auto;
  }
}

