/* === Reset & Base Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Poppins', Arial, sans-serif;
}

body {
  background-color: #f9fbfc;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* === Navbar === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #008080, #00bfa6);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo-img {
  height: 35px;
  width: 35px; /* samakan dengan height agar proporsional */
  margin-right: 10px;
  border-radius: 50%; /* membuat lingkaran */
  object-fit: cover; /* biar gambar tidak melebar/menyempit */
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo-image {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-link {
  position: relative;
  text-decoration: none;
  padding: 8px 12px;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: #e0f7f4; /* warna garis bawah */
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: #2e8b57;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu li a:hover {
  color: #e0f7f4;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
}

/* === Hero Section === */
.hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  border-radius: 0 0 25px 25px;
  overflow: hidden; /* agar gambar ikut border radius */
}

.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 128, 128, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
}


/* === Search Box === */
.search-box {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.search-container {
  display: flex;
  border: 2px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1); /* bayangan seluruh kotak */
}

.search-input {
  padding: 12px 18px;
  width: 280px;
  font-size: 1rem;
  border: none;
  outline: none;
  background-color: white;
}

.search-button {
  padding: 12px 18px;
  background-color: #f8fbf9;
  color: white;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: inset 0 0 0 rgba(0, 0, 0, 0); 
}

.search-button:hover {
  background-color: #256b45;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Tombol Kategori Produk */
.filter-buttons {
  text-align: center;
  margin: 20px 0;
}

.filter-btn {
  background-color: #00bfa6;
  border: none;
  color: white;
  padding: 10px 20px;
  margin: 5px;
  font-size: 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #007f72;
}

/* Produk Section Styling */
.produk-section {
  background: linear-gradient(to right, #e0f7fa, #ffffff);
  padding: 60px 20px 40px;
  text-align: center;
  border-top: 4px solid #1eb343;
  position: relative;
}

.section-header {
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: #00695c;
  margin-bottom: 10px;
}

.section-title .highlight {
  color: #1eb343;
  font-style: italic;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-top: 0;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Divider garis dekoratif */
.section-divider {
  width: 80px;
  height: 4px;
  background-color: #1eb343;
  margin: 0 auto 20px;
  border-radius: 10px;
}

.produk-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}
.produk-wrapper {
  display: flex;
  justify-content: center;
}


.produk-card {
  background: white;
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 280px;
  text-align: center;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-header {
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

/* === Produk Section === */
.produk-section {
  background: linear-gradient(to right, #e8f6f3, #fefefe);
  padding: 60px 20px 30px;
  text-align: center;
  margin-bottom: 0;
}

/* === Judul dan Subjudul === */
.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-size: 2.6rem;
  color: #00695c;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-top: 10px;
}

.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}


/* === Toolbar Pencarian === */
.produk-toolbar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  gap: 10px;
}

.produk-toolbar input[type="text"] {
  padding: 10px 15px;
  border: 2px solid #ccc;
  border-radius: 8px;
  width: 250px;
  font-size: 16px;
}

.produk-toolbar button {
  padding: 10px 15px;
  background-color: #00b050;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* === Grid Produk === */
.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === Kartu Produk === */
.produk-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.produk-card:hover {
  transform: scale(1.02);
}

.produk-card img {
  max-width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.produk-card h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 8px;
}

/* === Harga Produk === */
.harga {
  color: #27ae60;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 12px;
}

/* Tombol kembali*/
.back-button-container {
  margin: 20px;
  text-align: left;
}

.back-button {
  background-color: #008080;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background-color: #006666;
}


/* === Tombol Deskripsi & Order === */
.desc-btn {
  background-color: #f39c12;
  color: #1eb343;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background-color 0.3s;
}

.desc-btn:hover {
  background-color: #e67e22;
}

.order-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background-color: #1eb343;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.order-btn:hover {
  background-color: #008080;
}

/* === Deskripsi Produk === */
.deskripsi-produk {
  display: none;
  margin-top: 10px;
  font-size: 0.95rem;
  color: #1eb343;
  line-height: 1.5;
  background-color: #f9f9f9;
  padding: 12px;
  border-radius: 8px;
  border-left: 4px solid #f39c12;
  transition: all 0.3s ease;
}

/* === Group Tombol === */
.produk-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.produk-buttons .desc-btn,
.produk-buttons .order-btn {
  margin: 0;
}

.seller-contact {
  display: flex;
  justify-content: center; /* ⬅️ Tengah secara horizontal */
  margin-top: 10px;
}

.seller-contact .wa-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.seller-contact .wa-link img {
  width: 20px;
  height: 20px;
}

/* === Footer === */
footer {
  background-color: #008080;
  color: white;
  padding: 40px 20px 20px;
  margin-top: 0; /* hilangkan jarak ke atas */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  gap: 30px;
}

.footer-column {
  flex: 1 1 45%;
  min-width: 300px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.footer-column p {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 40px;
}

.footer {
  background: linear-gradient(to right, #00695c, #009688);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-branding {
  margin-bottom: 30px;
}

.footer-logo {
  width: 60px;
  height: auto;
  border-radius: 8px;
}

.footer-branding h2 {
  font-size: 1.5rem;
  margin-top: 10px;
}

/* Kolom Footer */
.footer-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto 30px;
  text-align: left; /* agar isi kolom lebih mudah dibaca */
}

.footer-column {
  max-width: 400px;
  flex: 1;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffeb3b;
}

.footer-column p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  font-size: 0.9rem;
  color: #ddd;
}

/* === Animations === */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Responsive === */
@media (max-width: 768px) {
  .produk-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    background-color: #006666;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    padding: 12px;
    text-align: center;
  }

  .hamburger {
    display: flex;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .logo-text {
    font-size: 1.2rem;
  }
}

/* ========================================
   1. Reset & Base Styles
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* ========================================
   2. Header / Navbar
======================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #00695c;
  padding: 12px 24px;
  color: white;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

.logo-image {
  width: 40px;
  height: 40px;
  margin-right: 12px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-link:hover {
  text-decoration: underline;
}

/* ========================================
   3. Visi & Misi Section
======================================== */
.visi-misi-section {
  background: linear-gradient(to right, #e6f4f1, #fefefe);
  padding: 60px 20px;
  text-align: center;
}

.visi-misi-section h2 {
  font-size: 2.4rem;
  color: #00695c;
  margin-bottom: 40px;
}

.visi-misi-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.visi,
.misi {
  background-color: #ffffff;
  padding: 24px 28px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 480px;
  text-align: left;
}

.visi h3,
.misi h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #2c3e50;
}

.misi ul {
  list-style: disc;
  padding-left: 20px;
  line-height: 1.7;
  color: #444;
}

/* === Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* === Navbar === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #00695c;
  padding: 12px 24px;
  color: white;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

.logo-image {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-link:hover {
  text-decoration: underline;
}

/* === Profil Penjual === */
.profil-penjual-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
}

.profil-penjual-section h2 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 40px;
  color: #00695c;
}

.profil-card {
  display: flex;
  align-items: flex-start;
  background: #ffffff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.profil-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 20px;
  border: 3px solid #00bfa5;
}

.profil-card-content {
  flex: 1;
}

.profil-card-content h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 8px;
}

.profil-card-content p {
  font-size: 14px;
  color: #555;
  margin: 4px 0;
}

/* === Responsive Mobile === */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .nav-menu {
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
  }

  .profil-card {
  display: flex;
  align-items: flex-start; /* posisi awal tetap di atas */
  background: #ffffff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  gap: 20px; /* jarak antara foto dan teks */
}

.profil-card-content {
  display: flex;
  flex-direction: column; /* susun teks secara vertikal */
  justify-content: center;
}

}
.btn-kembali {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 20px;
  background-color: #007B5E;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}

.btn-kembali:hover {
  background-color: #005f47;
}

.gallery-section {
  padding: 80px 20px;
  background-color: #fefefe;
  text-align: center;
}

.gallery-section h2 {
  font-size: 2.2rem;
  color: #00695c;
  margin-bottom: 10px;
}

.gallery-subtitle {
  font-size: 1rem;
  color: #777;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
}

/* === Profil Penjual Styling === */
.seller-profile-section {
  padding: 60px 20px 100px;
  background: linear-gradient(to right, #e0f7fa, #f1f8e9);
  text-align: center;
}

.seller-profile-section h2 {
  font-size: 2.4rem;
  color: #00796b;
  margin-bottom: 40px;
  font-weight: 700;
}

/* Container untuk semua penjual */
.seller-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 kolom */
  gap: 2rem;
  padding: 20px;
}

/* Kartu penjual lebih besar */
.seller-card {
  width: 100%;
  min-height: 320px; /* tinggi minimal lebih panjang */
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* Produk penjual 1 */
.produk-seller-page {
  text-align: center;
  padding: 40px 20px;
}

.produk-seller-page h1 {
  font-size: 2rem;
  color: #00695c;
  margin-bottom: 10px;
}

.seller-location {
  font-size: 1rem;
  color: #777;
  margin-bottom: 30px;
}

.produk-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.produk-item {
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 220px;
  transition: transform 0.2s;
}

.produk-item:hover {
  transform: scale(1.03);
}

.produk-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}


/* Hover animasi */
.seller-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

/* Foto profil penjual */
.seller-card .seller-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid #80cbc4;
}

/* Nama penjual */
.seller-card .seller-name {
  font-size: 1.3rem;
  font-weight: bold;
  color: #00695c;
  margin-bottom: 5px;
}


/* Lokasi penjual */
.seller-card .seller-location {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 10px;
}

/* Deskripsi produk penjual */
.seller-card .seller-description {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* Animasi Dasar */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Kelas Animasi */
.animate-fade-slide {
  animation: fadeSlideUp 0.8s ease-out both;
}

.animate-zoom-in {
  animation: zoomIn 0.6s ease-out both;
}

/* Tambahan efek saat scroll (opsional JS jika ingin lebih kompleks) */
.seller-card {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease;
}

.seller-card.show {
  opacity: 1;
  transform: scale(1);
}


/* Kontak */
.seller-card .seller-contact {
  font-size: 0.9rem;
  color: #00897b;
  font-weight: 500;
}

/* Responsive - biar tetap 1 baris di layar besar */
@media (min-width: 992px) {
  .seller-container {
    flex-wrap: nowrap;
  }
}

/* === Hero Section === */
.hero {
  background-image: url('images/bg-hero-desa.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 20px;
  color: white;
  text-align: center;
  position: relative;
  border-radius: 0 0 50px 50px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  min-height: 300px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-in-out;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  background-color: #ffffff;
  color: #008080;
  padding: 0.75rem 1.7rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 5px 15px rgba(0, 114, 255, 0.2);
}

.btn:hover {
  background-color: #f1f1f1;
  transform: scale(1.05);
}

.kontak-section {
  padding: 80px 20px;
  background-color: #f0fdfa;
  text-align: center;
}

.kontak-section h2 {
  font-size: 2rem;
  color: #00695c;
  margin-bottom: 40px;
}

.kontak-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.kontak-info {
  flex: 1 1 300px;
  font-size: 1rem;
  line-height: 1.6;
  background-color: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.kontak-info p {
  margin-bottom: 16px;
  color: #333;
}

.kontak-map {
  flex: 1 1 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.btn-produk {
  display: inline-block;
  background-color: #008080;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn-produk:hover {
  background-color: #006666;
}

.nama-toko {
  font-weight: bold;
  font-size: 0.9rem;
  color: #008080; /* hijau toska */
  margin: 5px 0;
}

.gallery-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  text-align: center;
  color: #6b6b6b;          /* abu-abu soft */
  line-height: 1.4;
  letter-spacing: 0.4px;
  margin: 8px auto 16px auto;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 6px;
  width: fit-content;
}

.gallery-subtitle span {
  font-style: italic;      /* memberi kesan keterangan */
  font-size: 0.85rem;
  color: #7b7b7b;          /* sedikit lebih muda dari judul */
}

/* Animasi gallery */
.gallery-item {
  opacity: 0;
  transform: scale(0.9);
  animation: fadeInScale 0.8s forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
