.gallery2 {
    display: flex;
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}
.gallery2 img {
    object-fit: cover;
}

.gallery-section {
  padding: 160px 14%;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  z-index: 100;
}
.gallery img:hover {
  transform: scale(1.05);
}
/* Gallery Lightbox styling */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 10000;
  }
  .gallery-lightbox-image {
    max-width: 90%;
    max-height: 90%;
  }
  .close-gallery-lightbox {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
  }
  
  /* Gallery Lightbox styling */
.gallery-lightbox2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 10000;
  }
  .gallery-lightbox-image2 {
    max-width: 90%;
    max-height: 90%;
  }
  .close-gallery-lightbox2 {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
  }

.palm-background {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 20%;
}
.palm-background img {
  object-fit: cover;
  flex-shrink: 0;
}

/* Tablets */
@media (max-width: 1200px) {
    .gallery {
      grid-template-columns: repeat(2, 1fr); 
    }
  }
  
  /* Small Tablets & Large Phones*/
  @media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(1, 1fr); 
      }
  }
  
  /* Mobile Phones */
  @media (max-width: 480px) {
    .gallery img {
      height: 250px;
    }
  
  }