/* ============================
   GLOBAL
   ============================ */
:root {
  --hijau: #1a5c38;
  --hijau-tua: #0f3d24;
  --emas: #c9a84c;
  --emas-muda: #f0d080;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

/* TOPBAR */
.topbar {
  background: var(--hijau-tua);
  color: #f0d080;
  font-size: 13px;
  padding: 6px 0;
}

/* NAVBAR */
.navbar {
  background: var(--hijau) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white !important;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--emas);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--hijau-tua);
}

.brand-title {
  font-weight: 700;
  font-size: 15px;
  color: white;
  line-height: 1.2;
}

.brand-sub {
  font-size: 11px;
  color: var(--emas-muda);
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--emas-muda) !important;
}

.dropdown-menu {
  background: var(--hijau-tua);
  border: none;
}

.dropdown-item {
  color: rgba(255, 255, 255, 0.85);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--emas-muda);
}

/* HERO */
.hero {
  /* Ganti 'foto-masjid.jpg' dengan nama file foto Anda */
  background-image: url('masjid.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Overlay gelap agar teks tetap terbaca di atas foto */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(10, 40, 20, 0.65) 0%,
      rgba(15, 61, 36, 0.75) 100%);
}

/* Konten hero harus di atas overlay */
.hero-overlay {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
}

.arabic {
  font-size: 28px;
  color: var(--emas-muda);
  margin-bottom: 16px;
  font-family: serif;
}

/* JADWAL SHOLAT */
.bg-hijau {
  background: var(--hijau) !important;
}

.text-emas {
  color: var(--emas) !important;
}

.text-emas-muda {
  color: var(--emas-muda) !important;
}

.text-hijau {
  color: var(--hijau) !important;
}

/* SECTION */
.section-title {
  color: var(--hijau);
  font-weight: 700;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--emas);
  border-radius: 2px;
  margin: 8px 0 16px;
}

/* CARDS KEGIATAN */
.card-kegiatan {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8f0ea;
  overflow: hidden;
  transition: transform 0.2s;
}

.card-kegiatan:hover {
  transform: translateY(-4px);
}

.card-kegiatan-icon {
  background: linear-gradient(135deg, var(--hijau), #2d7a50);
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 36px;
}

/* PENGUMUMAN */
.peng-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #e8f0ea;
}

.peng-tgl {
  background: var(--hijau);
  color: white;
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
  min-width: 56px;
}

/* STATISTIK / FOOTER */
footer {
  background: var(--hijau-tua);
  color: rgba(255, 255, 255, 0.8);
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--emas-muda);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  text-align: center;
  padding: 12px;
}

.text-muted-footer {
  color: rgba(255, 255, 255, 0.7) !important;
}

.mini-footer {
  background: var(--hijau-tua);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  font-size: 12px;
  padding: 12px;
}

/* PAGE HEADER */
.page-header {
  background: linear-gradient(135deg, var(--hijau-tua), var(--hijau));
}

/* BUTTONS */
.btn-hijau {
  background: var(--hijau);
  color: white;
  border: none;
}

.btn-hijau:hover {
  background: var(--hijau-tua);
  color: white;
}

.btn-emas {
  background: var(--emas);
  color: var(--hijau-tua);
  font-weight: 700;
  border: none;
}

.btn-emas:hover {
  background: var(--emas-muda);
}

.btn-outline-hijau {
  border: 2px solid var(--hijau);
  color: var(--hijau);
  background: white;
}

.btn-outline-hijau:hover,
.btn-outline-hijau.active {
  background: var(--hijau);
  color: white;
}

.bg-emas {
  background: var(--emas) !important;
}

.bg-hijau-soft {
  background: #d4edda !important;
}

/* TIMELINE */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--emas);
}

.tl-item {
  position: relative;
  margin-bottom: 24px;
}

.tl-year {
  position: absolute;
  left: -38px;
  background: var(--hijau);
  color: var(--emas-muda);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.tl-box {
  background: #f8fbf9;
  border: 1px solid #d4edda;
  border-radius: 8px;
  padding: 14px;
  margin-left: 8px;
}

/* PENGURUS AVATAR */
.card-pengurus {
  background: #f8fbf9;
  border: 1px solid #e8f0ea;
  border-radius: 12px;
}

.avatar-icon {
  width: 56px;
  height: 56px;
  background: var(--hijau);
  color: var(--emas-muda);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto;
}

.avatar-icon-sm {
  width: 36px;
  height: 36px;
  background: var(--hijau);
  color: var(--emas-muda);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* CARD VISI MISI */
.card-visi {
  background: linear-gradient(135deg, var(--hijau-tua), var(--hijau));
  border-radius: 16px;
  color: white;
}

.card-misi {
  background: #f8fbf9;
  border: 1px solid #d4edda;
  border-radius: 10px;
}

.nomor-misi {
  width: 36px;
  height: 36px;
  background: var(--hijau);
  color: var(--emas-muda);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.card-nilai {
  background: #f8fbf9;
  border: 1px solid #d4edda;
  border-radius: 12px;
}

.nilai-icon {
  width: 48px;
  height: 48px;
  background: var(--hijau);
  color: var(--emas-muda);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto;
}

/* CARD JADWAL */
.card-jadwal {
  background: #f8fbf9;
  border: 1px solid #d4edda;
  border-radius: 10px;
  padding: 16px;
  border-left: 4px solid var(--emas);
}

/* CARD AYAT */
.card-ayat {
  background: linear-gradient(135deg, var(--hijau-tua), var(--hijau));
  border-radius: 12px;
  color: white;
}

/* TABLE */
.table-hijau th {
  background: var(--hijau);
  color: white;
  border-color: var(--hijau);
}

/* BREADCRUMB */
.breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}