@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);
}

/* HERO “TENTANG KAMI” ---------------------------------*/
.hero-tentang{
  position: relative;
  height: 350px;
  background: url("aset/gereja.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero-tentang::before{           /* lapisan gelap */
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,.45);
}
.hero-inner{
  position: relative;
  margin-left: 40px;
}
.hero-inner h1{
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.hero-inner .breadcrumb{
  display:inline-block;
  color:#fff;
  font-size:16px;
  text-decoration: underline;
  margin-top:4px;
}

/* “SIAPA KAMI / SEJARAH G2CC” ------------------------*/
.section-title{
  font-size: 38px;
  font-weight: 700;
  margin: 60px 0 24px;
  padding-bottom: 6px;
  border-bottom: 4px solid var(--secondary);
  text-transform: uppercase;
}

.about-row{padding:0 40px 80px;}
.about-flex{
  display:flex;
  gap:40px;
  align-items:flex-start;
}
.about-img{
  width:280px;
  border-radius:0px;
  flex-shrink:0;
}
.about-text{
  font-size:32px;
  line-height:1.;
  letter-spacing: -1px;
  text-align:justify;
}

/* VISI MISI */
/* Gaya Umum untuk Bagian Visi-Misi */
#visi-misi {
    padding: 28px 12px;
    max-width: 1100px; /* Tingkatkan lebar dari 900px menjadi 1100px */
    margin: 0 auto;
    margin-bottom: 40px;
}

/* Gaya untuk Judul (Visi G2CC, Misi G2CC) */
.section-title {
    font-size: 48px; /* Ukuran font lebih besar */
    font-weight: 700; /* Tebal */
    color: #000; /* Warna hitam */
    margin-bottom: 20px; /* Jarak bawah judul */
    display: inline-block; /* Penting untuk garis bawah */
    position: relative; /* Penting untuk garis bawah pseudo-element */
    padding-bottom: 10px; /* Memberi ruang untuk garis bawah */
}

/* Garis Bawah di bawah Judul */
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60%; /* Lebar garis, sesuaikan jika perlu */
    height: 3px; /* Ketebalan garis */
    background-color: #F87D39; /* Warna oranye */
    border-radius: 5px; /* Sedikit melengkung di ujung */
}

/* Gaya untuk Teks Visi */
#visi-misi p {
    font-size: 24px; /* Ukuran font lebih besar */
    font-weight: 500; /* Sedang */
    line-height: 1.6; /* Jarak antar baris */
    color: #000; /* Warna hitam */
    margin-bottom: 40px; /* Jarak di bawah paragraf visi */
}

/* Gaya untuk Daftar Misi */
#visi-misi ol {
    list-style-type: decimal; /* Pastikan menggunakan angka */
    padding-left: 25px; /* Memberi jarak dari kiri untuk angka */
    margin-top: 20px; /* Jarak atas dari judul misi */
}

#visi-misi ol li {
    font-size: 20px; /* Kurangi ukuran font dari 24px menjadi 20px */
    font-weight: 500;
    line-height: 1.6;
    color: #000;
    margin-bottom: 15px;
    text-align: left;
}

/* Pastikan blok konten terpisah */
.content-block {
    margin-bottom: 40px; /* Jarak antara blok Visi dan Misi */
}

/* values */
.hero-iman {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("aset/dummy\ selengkapnya.jpg") no-repeat left center;
  background-size: cover;
  height: 500px;
  padding: 0 20px;
  color: #333;
  text-align: right;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.hero-text {
  background: rgba(255, 255, 255, 0.85); /* opsional transparan */
  padding: 40px;
  max-width: 500px;
  border-radius: 8px;
}

.hero-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 16px;
  margin-bottom: 24px;
}

.btn-primary {
  display: inline-block;
  background-color: #ea8512;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #084080;
}

/* ===== PASTORAL G2CC ===== */
.pastoral-section {
  padding: 40px;
  text-align: center;
  padding: 60px 20px;
}

.pastoral-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  margin-top: 32px;
}

.pastor-card {
  background: #f8f8f8;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.pastor-card:hover {
  transform: translateY(-5px);
}

.pastor-card img {
    width: 250px;
    height: 250px;
    object-fit: cover; /* Penting agar gambar tidak terdistorsi */
    border-radius: 12px;
    margin-bottom: 12px;
}

.pastor-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.pastor-card p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #ea8512;
  font-weight: 500;
}

/* ===== 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;
  }
}

/* ===== RESPONSIVE FIX UNTUK PASTORAL ===== */
@media (max-width: 1200px) {
  .pastoral-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .pastoral-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pastor-card img {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 600px) {
  .pastoral-grid {
    grid-template-columns: 1fr;
  }
  .pastor-card img {
    width: 100%;
    max-width: 280px;
    height: auto;
  }
}

/* ===== RESPONSIVE FIX UNTUK ABOUT SECTION ===== */
@media (max-width: 900px) {
  .about-flex {
    flex-direction: column;   /* tumpuk vertikal */
    align-items: center;      /* rata tengah */
    text-align: center;
  }
  .about-img {
    width: 100%;
    max-width: 320px;         /* biar gak kegedean */
    height: auto;
  }
  .about-text {
    font-size: 20px;          /* perkecil font */
    letter-spacing: normal;
    line-height: 1.6;
    margin-top: 16px;
  }
}

/* ===== RESPONSIVE FIX UNTUK SECTION TITLE ===== */
@media (max-width: 900px) {
  .section-title {
    font-size: 28px;     /* perkecil biar muat layar */
    text-align: center;  /* rata tengah di mobile */
  }
}

@media (max-width: 600px) {
  .section-title {
    font-size: 22px;     /* lebih kecil lagi untuk HP kecil */
    line-height: 1.3;
    text-align: center;
  }
}

