/* Reset & Global */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  position: relative; /* Agar overlay bisa absolute terhadap body */
  min-height: 100vh;
}

.background-overlay {
  position: fixed; /* Supaya ikut scroll */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/umkm1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5; /* Ini untuk atur tingkat transparansi */
  z-index: -1; /* Biar ada di belakang konten */
  filter: blur(2px); /* Blur langsung */
}

.main-content {
  position: relative;
  z-index: 1; /* Pastikan konten ada di atas overlay */
  color: #fff; /* Warna teks agar tetap terbaca */
}

.hero-content {
  padding: 2rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.section-description {
  text-align: center;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: white;
}

.umkm-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.umkm-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.umkm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.umkm-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.umkm-info {
  padding: 1.25rem;
}

.umkm-info h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #2c3e50;
}

.umkm-info p {
  margin: 0.5rem 0;
  color: #555;
  font-size: 0.95rem;
}

.umkm-date {
  font-size: 0.85rem;
  color: #888;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .umkm-card {
    width: 90%;
  }
}

@media (max-width: 768px) {
    .kt-kegiatan-gallery {
        grid-template-columns: 1fr;
    }
}
