/* ========================== */
/* GLOBAL STYLE */
/* ========================== */
body {
  background-color: #E5E5E5;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  /* Global Title Styling */


/* Warna judul dua bagian */
.title-brown {
  color: #63391f;
}

.title-black {
  color: #000000;
}

}

/* ========================== */
/* TITLE */
/* ========================== */
.section-title {
  position: relative; /* ✨ penting agar ::after menempel ke elemen ini */
  font-weight: 900; /* typografi tebal */
  font-size: 40px;
  line-height: 1.1;
  color: #000000; /* warna coklat */
  z-index: 4; /* agar tetap di atas */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  text-align: center; /* ✨ biar teks dan garis sejajar tengah */
  margin-bottom: 50px !important; /* jarak title ke tombol filter */
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px; /* beri jarak sedikit dari teks */
  transform: translateX(-50%);
  width: 50px; /* panjang garis */
  height: 4px; /* tebal garis */
  background-color: #000000; /* warna garis senada */
  border-radius: 2px;
}
.menu-btn {
  background-color: #000000;
  color: #ffffff;
  font-weight: 500;
  font-size: 12px;
  padding: 10px 20px;
  border: 2px solid #000000;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.menu-btn.active,
.menu-btn:hover {
  background-color: #6d3e23;
  color: #fff;
  border: 2px solid #6d3e23;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}


.gallery-row {
  margin: 0;
}

.gallery-item {
  padding: 8px; /* beri jarak antar card */
}

.gallery-card {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 400px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}
/* ========================== */
/* BACK BUTTON */
/* ========================== */
.btn-back {
  display: inline-block;
  margin: 20px;
  padding: 5px 10px;
  background-color: #000000;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  transition: background-color 0.3s ease;
}

.btn-back:hover {
  background-color: #6d3e23;
  color: #fff;
}
/* ========================== */
/* BACK BUTTON */
/* ========================== */
.btn-back {
  display: inline-block;
  margin: 20px;
  padding: 5px 10px;
  background-color: #000000;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  transition: background-color 0.3s ease;
}

.btn-back:hover {
  background-color: #6d3e23;
  color: #fff;
}
/* ========================== */
/* RESPONSIVE (Tablet & Mobile) */
/* ========================== */
@media (max-width: 992px) {
  .section-title {
    font-size: 40px;
  }
  .gallery-card {
    height: 250px; /* sedikit lebih kecil */
  }

  .gallery-item {
    padding: 6px;
  }
}

@media (max-width: 768px) {

  /* 🔠 Judul lebih kecil dan jaraknya dirapikan */
  .section-title {
    font-size: 30px;
    margin-bottom: 3rem;
  }

   .gallery-card {
    height: 220px; /* biar proporsional */
    margin-bottom: 10px;
  }

  .gallery-card img {
    object-fit: cover;
  }

  .gallery-item {
    padding: 5px;
  }
}
/* ========================== */
/* LEBIH KECIL LAGI (HP kecil ≤576px) */
/* ========================== */
@media (max-width: 576px) {
  .section-title {
    font-size: 30px;
  }

 .gallery-card {
    height: 180px; /* lebih kecil lagi */
    margin-bottom: 8px;
  }

  .gallery-item {
    padding: 4px;
  }

  .gallery-card:hover img {
    transform: scale(1.03); /* efek hover lebih lembut di hp */
  }
}