/* Bagian body */
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/sungaibg.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;
  color: #2e3a59;
  margin-bottom: 2rem;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  color: #2e3a59;
  margin-bottom: 1rem;
}

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

.kt-ketua-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
}

.kt-ketua-img img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.kt-ketua-sambutan {
  max-width: 500px;
  font-size: 1rem;
  color: #444;
}

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

.kt-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

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

.kt-info {
  padding: 1rem;
}

.kt-info h3 {
  margin: 0 0 0.5rem;
  color: #2e3a59;
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .kt-ketua-layout {
    flex-direction: column;
    text-align: center;
  }

  .kt-ketua-sambutan {
    text-align: center;
  }

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

/* Struktur Pengurus */
.section-kt-struktur {
  margin: 2rem auto;
  max-width: 800px;
}

.struktur-list {
  list-style-type: none;
  padding: 0;
  margin: 0 auto;
  font-size: 1rem;
  color: #444;
}

.struktur-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

/* Galeri Foto */
.section-kt-galeri {
  margin: 2rem auto;
  max-width: 1000px;
  text-align: center;
}

.kt-gallery-photos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.kt-gallery-photos img {
  width: 220px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.kt-gallery-photos img:hover {
  transform: scale(1.05);
}

.section-kt ul {
  list-style: none;
  padding-left: 1rem;
}

.section-kt ul li::before {
  content: "• ";
  color: var(--daleman-dark-green);
  font-weight: bold;
  margin-right: 0.3rem;
}

/* Layout dua kolom untuk galeri kegiatan */
.kt-kegiatan-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Kartu kegiatan */
.kt-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

/* Info kegiatan */
.kt-info {
  margin-top: 1rem;
}

.kt-info h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.kt-info p {
  color: #555;
  margin-bottom: 0.5rem;
}

.kt-date {
  font-size: 0.875rem;
  color: #888;
}

/* Swiper */
.swiper {
  width: 100%;
  height: 220px;
  border-radius: 10px;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #2c3e50;
}

@media (max-width: 768px) {
  .swiper {
    height: 200px;
  }
}

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

