/* =========================================================
   IMPAS ACEH - JAKARTA — STYLE FRONTEND
   Tema warna diambil dari logo: hijau tua & kuning emas
   ========================================================= */

:root {
  --impas-green: #0d5c33;
  --impas-green-dark: #073d21;
  --impas-gold: #d4af1f;
  --impas-gold-light: #f0cf4d;
  --impas-black: #16140f;
  --impas-cream: #fdfbf3;
  --impas-text: #2b2b26;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  color: var(--impas-text);
  background-color: var(--impas-cream);
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  transition: color .2s ease;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--impas-green-dark);
  color: #fff;
  font-size: .82rem;
  padding: 6px 0;
}
.topbar a { color: var(--impas-gold-light); }
.topbar a:hover { color: #fff; }

/* ===== NAVBAR ===== */
.navbar-impas {
  background: var(--impas-green);
  padding: .6rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.navbar-impas .navbar-brand {
  color: var(--impas-gold-light) !important;
  font-weight: 700;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-impas .navbar-brand img { height: 42px; width: 42px; }
.navbar-impas .nav-link {
  color: #f3f3ea !important;
  font-weight: 500;
  padding: .5rem 1rem !important;
}
.navbar-impas .nav-link:hover,
.navbar-impas .nav-link.active {
  color: var(--impas-gold-light) !important;
}
.navbar-impas .dropdown-menu {
  border: none;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.navbar-impas .dropdown-item:hover {
  background: var(--impas-green);
  color: #fff;
}

/* ===== HERO ===== */
.hero-impas {
  background: linear-gradient(135deg, var(--impas-green-dark), var(--impas-green));
  color: #fff;
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero-impas::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,31,.25), transparent 70%);
}
.hero-impas h1 {
  font-weight: 700;
  font-size: 2.4rem;
}
.hero-impas .badge-gold {
  background: var(--impas-gold);
  color: var(--impas-green-dark);
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 30px;
  display: inline-block;
  margin-bottom: 18px;
  font-size: .85rem;
}

/* ===== SECTION TITLE ===== */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title .eyebrow {
  color: var(--impas-gold);
  text-transform: uppercase;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: 1.5px;
}
.section-title h2 {
  font-weight: 700;
  color: var(--impas-green-dark);
  margin-top: 6px;
}
.section-title .divider {
  width: 60px;
  height: 4px;
  background: var(--impas-gold);
  margin: 14px auto 0;
  border-radius: 4px;
}

/* ===== CARDS ===== */
.card-impas {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.card-impas:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,.14);
}
.card-impas .card-img-top {
  height: 190px;
  object-fit: cover;
  background: #e9e6d8;
}
.card-impas .card-body { padding: 20px; }
.card-impas .card-title {
  font-weight: 700;
  color: var(--impas-green-dark);
  font-size: 1.05rem;
}
.card-impas .meta {
  font-size: .78rem;
  color: #8a8a7e;
}
.badge-kategori {
  background: var(--impas-gold);
  color: var(--impas-green-dark);
  font-weight: 600;
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ===== BUTTONS ===== */
.btn-impas-primary {
  background: var(--impas-gold);
  border: none;
  color: var(--impas-green-dark);
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 30px;
  transition: all .2s ease;
}
.btn-impas-primary:hover {
  background: var(--impas-gold-light);
  color: var(--impas-green-dark);
}
.btn-impas-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  padding: 9px 24px;
  border-radius: 30px;
}
.btn-impas-outline:hover {
  background: #fff;
  color: var(--impas-green-dark);
}
.btn-impas-green {
  background: var(--impas-green);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 26px;
  border: none;
}
.btn-impas-green:hover { background: var(--impas-green-dark); color: #fff; }

/* ===== AGENDA LIST ===== */
.agenda-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,.06);
  margin-bottom: 14px;
}
.agenda-date {
  flex: 0 0 70px;
  text-align: center;
  background: var(--impas-green);
  color: #fff;
  border-radius: 10px;
  padding: 10px 4px;
}
.agenda-date .day { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.agenda-date .month { font-size: .75rem; text-transform: uppercase; }

/* ===== GALERI ===== */
.galeri-thumb {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 220px;
}
.galeri-thumb img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.galeri-thumb:hover img { transform: scale(1.08); }
.galeri-thumb .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(7,61,33,.9), transparent);
  color: #fff;
  padding: 30px 16px 12px;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer-impas {
  background: var(--impas-black);
  color: #cfcfc3;
  padding: 50px 0 20px;
}
.footer-impas h5 {
  color: var(--impas-gold-light);
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-impas a { color: #cfcfc3; }
.footer-impas a:hover { color: var(--impas-gold-light); }
.footer-impas .footer-bottom {
  border-top: 1px solid #2f2d27;
  margin-top: 30px;
  padding-top: 18px;
  font-size: .85rem;
  text-align: center;
  color: #8a8a7e;
}
.social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(212,175,31,.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  color: var(--impas-gold-light) !important;
}
.social-icon:hover { background: var(--impas-gold); color: var(--impas-black) !important; }

/* ===== BREADCRUMB BANNER ===== */
.page-banner {
  background: linear-gradient(135deg, var(--impas-green-dark), var(--impas-green));
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.page-banner h1 { font-weight: 700; margin: 0; }
.page-banner .breadcrumb { justify-content: center; background: transparent; margin: 8px 0 0; padding: 0; }
.page-banner .breadcrumb a { color: var(--impas-gold-light); }
.page-banner .breadcrumb-item.active { color: #e8e4cf; }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: #cfcfc3; }

/* ===== CONTENT BODY (artikel/halaman statis) ===== */
.konten-statis { line-height: 1.85; }
.konten-statis img { border-radius: 10px; margin: 16px 0; }
.konten-statis h2, .konten-statis h3 { color: var(--impas-green-dark); }

/* ===== FORM ===== */
.form-impas label { font-weight: 600; color: var(--impas-green-dark); }
.form-impas .form-control, .form-impas .custom-select {
  border-radius: 8px;
  border: 1px solid #ddd8c2;
  padding: 10px 14px;
}
.form-impas .form-control:focus {
  border-color: var(--impas-green);
  box-shadow: 0 0 0 .2rem rgba(13,92,51,.15);
}
.card-form {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
}

/* ===== STRUKTUR PENGURUS ===== */
.pengurus-card {
  text-align: center;
  background: #fff;
  border-radius: 14px;
  padding: 24px 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
}
.pengurus-card img {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 4px solid var(--impas-gold);
}
.pengurus-card .jabatan {
  color: var(--impas-gold);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
}

/* ===== PAGINATION ===== */
.pagination .page-link { color: var(--impas-green-dark); border-radius: 8px; margin: 0 3px; border: 1px solid #e2dec9;}
.pagination .page-item.active .page-link { background: var(--impas-green); border-color: var(--impas-green); }

@media (max-width: 768px) {
  .hero-impas { padding: 60px 0 80px; text-align: center; }
  .hero-impas h1 { font-size: 1.8rem; }
}
