/* HERO SECTION */
.gallery-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    font-family: "Montserrat", sans-serif;
}

/* OVERLAY */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* CONTENT */
.gallery-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.gallery-content h1 {
    font-size: 56px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.gallery-content p {
    font-size: 18px;
    color: #ddd;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .gallery-content h1 {
        font-size: 36px;
    }

    .gallery-content p {
        font-size: 16px;
    }

    .gallery-hero {
        height: 50vh;
    }
}


/* FILTER */
.gallery-filter {
  text-align: center;
  margin: 50px auto;
}

.filter-btn {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  cursor: pointer;
  background: #eee;
  border-radius: 30px;
  transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: #bd8305;
  color: #fff;
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;

  
  height: 250px;
}


.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 key */
  display: block;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: 0.5s;
}

.lightbox .navGall {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.lightbox .prevGall {
  left: 30px;
}

.lightbox .nextGall {
  right: 30px;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* OVERLAY */
.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.4s;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item i {
  color: #fff;
  font-size: 24px;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.lightbox img,
.lightbox video {
  max-width: 90%;
  max-height: 80%;
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}