/* ==========================
   HERO BANNER
========================== */

.hero-banner {
  padding: 55px;
  background: #fff;
}

.hero-banner-image {
  overflow: hidden;
  border-radius: 35px;
}

.hero-banner-image img {
  width: 100%;
  height: 444px;
  margin-top: 70px;
  /* object-fit: cover; */
  display: block;
  border-radius: 35px;
}

/* ==========================
   LAPTOP
========================== */

@media (max-width: 1200px) {
  .hero-banner {
    padding: 18px;
  }

  .hero-banner-image img {
    height: 520px;
  }
}

/* ==========================
   TABLET LANDSCAPE
========================== */

@media (max-width: 991px) {
  .hero-banner {
    padding: 15px;
  }

  .hero-banner-image {
    border-radius: 25px;
  }

  .hero-banner-image img {
    height: 420px;
    border-radius: 25px;
  }
}

/* ==========================
   TABLET PORTRAIT
========================== */

@media (max-width: 768px) {
  .hero-banner {
    padding: 12px;
  }

  .hero-banner-image {
    border-radius: 20px;
  }

  .hero-banner-image img {
    height: 320px;
    border-radius: 20px;
  }
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 576px) {
  .hero-banner {
    padding: 10px;
  }

  .hero-banner-image {
    border-radius: 18px;
  }

  .hero-banner-image img {
    height: 250px;
    border-radius: 18px;
  }
}

/* ==========================
   SMALL MOBILE
========================== */

@media (max-width: 480px) {
  .hero-banner {
    padding: 8px;
  }

  .hero-banner-image {
    border-radius: 15px;
  }

  .hero-banner-image img {
    height: 220px;
    border-radius: 15px;
  }
}

/* ==========================
   EXTRA SMALL MOBILE
========================== */

@media (max-width: 360px) {
  .hero-banner-image img {
    height: 180px;
  }
}

/* ==========================
   GALLERY SECTION
========================== */

.gallery-section {
  padding: 20px 0;
  background: #f5f5f5;
}

.gallery-section .container {
  max-width: 1320px;
  margin: auto;
  padding: 0 15px;
}

.section-title {
  text-align: center;
  margin-bottom: 25px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: #111;
}

/* FILTER BUTTONS */

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.gallery-filter a {
  text-decoration: none;
  padding: 12px 25px;
  background: #eee;
  color: #000;
  border-radius: 30px;
  transition: 0.3s;
}

.gallery-filter a.active {
  background: #3c9c2b;
  color: #fff;
}

.gallery-filter button {
  padding: 10px 18px;
  border: 1px solid #2ea043;
  background: transparent;
  color: #2ea043;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-filter button.active,
.gallery-filter button:hover {
  background: #2ea043;
  color: #fff;
}

/* GRID */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  height: 280px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.15));
}

.gallery-overlay h3 {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
}

.gallery-overlay span {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-overlay span i {
  font-size: 14px;
  color: #000;
}

.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-image {
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 20px;
  background: #fff;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 45px;
  cursor: pointer;
  line-height: 1;
  z-index: 10000;
}

.close-btn:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .modal-image {
    max-width: 95%;
    border-radius: 12px;
  }

  .close-btn {
    font-size: 35px;
    right: 20px;
  }
}

/* ==========================
   LARGE TABLET
========================== */

@media (max-width: 1199px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .gallery-card {
    height: 240px;
  }

  .gallery-overlay h3 {
    font-size: 24px;
  }
}

/* ==========================
   TABLET
========================== */

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-card {
    height: 250px;
  }

  .section-title h2 {
    font-size: 32px;
  }
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 767px) {
  .gallery-section {
    padding: 60px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-card {
    height: 260px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .gallery-overlay h3 {
    font-size: 22px;
  }

  .gallery-filter {
    gap: 8px;
  }

  .gallery-filter button {
    padding: 8px 14px;
    font-size: 14px;
  }
}

/* ==========================
   SMALL MOBILE
========================== */

@media (max-width: 480px) {
  .gallery-card {
    height: 220px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .gallery-overlay h3 {
    font-size: 20px;
  }

  .gallery-overlay span {
    width: 34px;
    height: 34px;
  }
}
