@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
:root {
  --primary: #000;
  --secondary: #ea8512; /* oranye */
  --bg-light: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  font-weight: 500;
      background: #fff;
      color: #111;
      line-height: 1.6;
  margin: 0;
  background: var(--bg-light);
  padding-top: 70px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 28px; /* bigger */
  background: transparent;
  background: rgba(0, 0, 0, 0.9);          /* transparent at top */
  transition: background 0.3s ease;
}
.navbar.scrolled {
  background: #000;                 /* solid black after scroll */
}
.navbar .logo img {
  width: 32px;
  height: 36px;
}
.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 36px;
  font-size: 15px;
}
.navbar a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.navbar a:hover {
  color: var(--secondary);
}

/* qris */
.qris-section {
  text-align: center;
  padding: 64px 16px;
  background-color: #ffff;
  color: #111;
}

.qris-section h2 {
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--secondary);
}

.qris-section p {
  font-size: 16px;
  margin-bottom: 24px;
}

.qris-container {
  display: flex;
  justify-content: center;
}

.qris-image {
  width: 750px; /* ubah ukuran sesuai kebutuhan */
  height: auto;
  /* border: 4px solid var(--secondary); */
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
  .qris-image {
    width: 280px;
  }
}

.logo-pembayaran {
  margin-top: 32px;
  text-align: center;
}

.logo-pembayaran p {
  font-size: 16px;
  margin-bottom: 12px;
  color: #333;
}

.logo-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-list img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.logo-list img:hover {
  transform: scale(1.1);
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 16px;
  font-size: 13px;
  display: grid;
  gap: 24px;
}
/* footer .logo {
  width: 200px; /* atau lebih sesuai keinginan } */
footer .cols {
  display: inline-flexbox;
  flex-direction: column;
  gap: 10px;
}
footer a:hover {
  color: var(--secondary);
}
footer .social {
  display: flex;
  gap: 18px;
  font-size: 24px;
}

footer.footer-grid {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  background: #000;
  color: #fff;
  padding: 24px 24px;
  flex-wrap: wrap;
  gap: 36px;
  font-size: 20px;
  column-gap: 100px;
}

.footer-left {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.footer-logo {
  width: 300px;
  height: 300px;
}

.footer-center p {
  margin: 0 0 12px;
  line-height: 1.4;
}

.footer-right p {
  margin: 0 0 8px;
  font-weight: 600;
}

.footer-social {
  display: flex;
  gap: 16px;
  font-size: 20px;
}

.footer-social a {
  color: #fff;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--secondary); /* pakai warna oranye kalau ada */
}

.footer-social img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.footer-social a:hover img {
  filter: brightness(50) saturate(100%) sepia(1) hue-rotate(-30deg) saturate(600%) brightness(100);
  transform: scale(1.1);
}

.menu-toggle {
  display: none; /* Sembunyikan secara default */
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
  z-index: 102; /* Pastikan di atas navbar */
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* Tampilkan tombol hanya di mobile */
  }

  /* Atur ulang posisi navbar di mobile */
  .navbar {
    padding: 14px 28px;
    background: #000; /* Jadikan solid black */
  }
  
  /* Atur tampilan menu saat mobile */
  .navbar ul {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
  }
  
  /* Class 'show' akan ditambahkan oleh JS */
  .navbar ul.show {
    transform: translateY(0);
  }
}

/* ===============================
   GLOBAL RESPONSIVE FIX
   =============================== */
@media (max-width: 768px) {
  /* NAVBAR */
  .navbar {
    padding: 10px 16px;
    gap: 12px;
  }
  .navbar .logo img {
    width: 28px;
    height: 32px;
  }

  /* HERO */
  .hero-carousel-wrapper {
    aspect-ratio: auto; /* biar tingginya menyesuaikan layar */
    height: 220px;
  }
  .hero-slide img {
    object-fit: cover;
  }

  /* WARTA */
  .warta-card {
    flex: 0 0 80%; /* biar isi layar */
  }
  .warta-card .title {
    font-size: 18px;
  }

  /* TEMA */
  .tema-card-container {
    max-width: 95%;
    height: auto;
  }
  .tema-card-front img,
  .tema-card-back img {
    width: 150px;
    height: 150px;
  }

  /* RENUNGAN */
  .renungan-preview-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .renungan-image {
    width: 100%;
    max-width: 300px;
  }

  /* JADWAL IBADAH */
  .tabel-jadwal {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }
  .kolom-judul {
    font-size: 18px;
    gap: 16px;
  }
  .slot {
    font-size: 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  /* SOROTAN */
  .carousel-item {
    min-width: 80%;
    height: auto;
  }
  .carousel-item img {
    height: 220px;
  }
}