/* =====================================================
   PSHT CABANG OGAN ILIR - Main Stylesheet
   Bootstrap 5.3 + Custom
   ===================================================== */

:root {
  --psht-red:       #C0392B;
  --psht-dark-red:  #922B21;
  --psht-gold:      #D4A017;
  --psht-dark:      #1A1A2E;
  --psht-dark2:     #16213E;
  --psht-mid:       #2C3E50;
  --psht-light:     #F8F9FA;
  --psht-white:     #FFFFFF;
  --psht-gray:      #6C757D;
  --font-heading:   'Cinzel', serif;
  --font-body:      'Lato', sans-serif;
  --shadow-sm:      0 2px 8px rgba(0,0,0,.10);
  --shadow-md:      0 6px 24px rgba(0,0,0,.15);
  --shadow-lg:      0 12px 40px rgba(0,0,0,.20);
  --radius:         10px;
  --radius-lg:      18px;
  --transition:     all 0.3s ease;
}

/* ── Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: var(--font-body);
  color: #2d3436;
  background: #fff;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: var(--font-heading); }
a { color: var(--psht-red); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--psht-dark-red); }
img { max-width: 100%; }

/* ── Topbar ─────────────────────────────────────────── */
.topbar {
  background: var(--psht-dark);
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  padding: 6px 0;
}
.topbar span { display: inline-flex; align-items: center; }
.topbar-right a {
  color: rgba(255,255,255,.65);
  margin-left: 12px;
  font-size: 1rem;
}
.topbar-right a:hover { color: var(--psht-gold); }

/* ── Navbar ─────────────────────────────────────────── */
#mainNav {
  background: linear-gradient(135deg, var(--psht-dark) 0%, var(--psht-dark2) 100%);
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
  padding: 12px 0;
  transition: var(--transition);
}
#mainNav.scrolled { padding: 8px 0; box-shadow: 0 4px 30px rgba(0,0,0,.5); }

.navbar-brand { padding: 0; }
.brand-logo img { height: 48px; width: 48px; object-fit: contain; }
.brand-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--psht-gold);
  line-height: 1.1;
  letter-spacing: .5px;
}
.brand-tagline { display: block; font-size: .65rem; color: rgba(255,255,255,.55); letter-spacing: 1px; }

.nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 500;
  font-size: .9rem;
  padding: 6px 14px !important;
  border-radius: 6px;
  letter-spacing: .3px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--psht-gold) !important; background: rgba(255,255,255,.05); }
.btn-daftar {
  background: var(--psht-red) !important;
  color: #fff !important;
  border-radius: 20px !important;
  padding: 6px 18px !important;
  margin-left: 6px;
}
.btn-daftar:hover { background: var(--psht-dark-red) !important; transform: translateY(-1px); }
.dropdown-menu { background: var(--psht-dark); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); }
.dropdown-item { color: rgba(255,255,255,.8); font-size: .875rem; padding: 8px 18px; }
.dropdown-item:hover { background: rgba(255,255,255,.08); color: var(--psht-gold); }

/* ── Hero Banner Slider ──────────────────────────────── */
.hero-slider { position: relative; }
.hero-slide {
  position: relative;
  height: 560px;
  background: var(--psht-dark);
  overflow: hidden;
}
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .55;
  transition: transform 6s ease;
}
.swiper-slide-active .hero-slide img { transform: scale(1.06); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,.85) 0%, rgba(192,57,43,.35) 100%);
  display: flex; align-items: center;
}
.hero-content { max-width: 620px; }
.hero-content .badge-top {
  display: inline-block;
  background: var(--psht-gold);
  color: var(--psht-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.hero-content h1 span { color: var(--psht-gold); }
.hero-content p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-top: 12px; }
.hero-btns { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--psht-red);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  box-shadow: 0 4px 20px rgba(192,57,43,.5);
  transition: var(--transition);
}
.btn-hero-primary:hover { background: var(--psht-dark-red); color: #fff; transform: translateY(-2px); }
.btn-hero-outline {
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-hero-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.swiper-pagination-bullet { background: rgba(255,255,255,.6); }
.swiper-pagination-bullet-active { background: var(--psht-gold); }

/* ── Section titles ──────────────────────────────────── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(192,57,43,.1);
  color: var(--psht-red);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(192,57,43,.2);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--psht-dark);
  margin-bottom: 8px;
}
.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--psht-red), var(--psht-gold));
  border-radius: 2px;
  margin: 12px auto;
}
.section-divider.left { margin-left: 0; }

/* ── Stats Counter ───────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--psht-dark) 0%, var(--psht-dark2) 100%);
  padding: 50px 0;
}
.stat-card { text-align: center; padding: 24px; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--psht-gold);
  line-height: 1;
}
.stat-label { color: rgba(255,255,255,.7); font-size: .9rem; margin-top: 6px; }

/* ── Officers ────────────────────────────────────────── */
.officers-section { padding: 80px 0; background: var(--psht-light); }
.officer-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}
.officer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.officer-photo {
  width: 100%; height: 240px;
  object-fit: cover;
  object-position: top;
}
.officer-photo-placeholder {
  width: 100%; height: 240px;
  background: linear-gradient(135deg, var(--psht-dark) 0%, var(--psht-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: rgba(255,255,255,.3);
}
.officer-info { padding: 20px; }
.officer-name { font-size: 1.1rem; color: var(--psht-dark); margin-bottom: 4px; }
.officer-position { font-size: .85rem; color: var(--psht-red); font-weight: 600; }
.officer-period { font-size: .78rem; color: var(--psht-gray); margin-top: 4px; }
.officer-badge {
  display: inline-block;
  background: var(--psht-gold);
  color: var(--psht-dark);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Sejarah Singkat ─────────────────────────────────── */
.sejarah-section { padding: 80px 0; }
.sejarah-card {
  background: linear-gradient(135deg, var(--psht-dark) 0%, var(--psht-dark2) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.sejarah-card::before {
  content: '🥋';
  position: absolute; right: -20px; bottom: -30px;
  font-size: 10rem; opacity: .05;
}
.sejarah-card .section-badge { background: rgba(212,160,23,.15); color: var(--psht-gold); border-color: rgba(212,160,23,.3); }
.sejarah-card h2 { color: #fff; }
.sejarah-card p { color: rgba(255,255,255,.8); line-height: 1.8; }
.sejarah-card .section-divider { background: linear-gradient(90deg, var(--psht-gold), var(--psht-red)); }
.btn-sejarah {
  background: var(--psht-gold);
  color: var(--psht-dark);
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 700;
  font-size: .9rem;
  transition: var(--transition);
}
.btn-sejarah:hover { background: #b8860b; color: #fff; transform: translateY(-2px); }
.milestone { display: flex; gap: 16px; margin-bottom: 20px; }
.milestone-year {
  min-width: 60px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--psht-gold);
}
.milestone-text { color: rgba(255,255,255,.8); font-size: .9rem; line-height: 1.6; }

/* ── News Cards ──────────────────────────────────────── */
.news-section { padding: 80px 0; background: var(--psht-light); }
.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news-card-img {
  width: 100%; height: 200px;
  object-fit: cover;
  background: #ddd;
}
.news-card-img-placeholder {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, #ddd 0%, #bbb 100%);
  display: flex; align-items: center; justify-content: center;
  color: #999; font-size: 2.5rem;
}
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-category {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--psht-red);
  margin-bottom: 8px;
}
.news-card-title { font-size: 1rem; color: var(--psht-dark); margin-bottom: 10px; line-height: 1.4; }
.news-card-excerpt { font-size: .875rem; color: var(--psht-gray); line-height: 1.6; flex: 1; }
.news-card-footer { padding: 14px 20px; border-top: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; }
.news-meta { font-size: .78rem; color: var(--psht-gray); }
.btn-read-more { font-size: .82rem; color: var(--psht-red); font-weight: 600; }
.btn-read-more:hover { color: var(--psht-dark-red); }

/* ── Gallery Slider ──────────────────────────────────── */
.gallery-section { padding: 80px 0; overflow: hidden; }
.gallery-swiper { overflow: visible; }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 260px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,.9) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex; align-items: flex-end; padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption { color: #fff; font-size: .9rem; font-weight: 600; }

/* ── Page Headers ────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--psht-dark) 0%, var(--psht-dark2) 60%, rgba(192,57,43,.4) 100%);
  padding: 70px 0 50px;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--psht-red), var(--psht-gold), var(--psht-red));
}
.page-header h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-header .breadcrumb-item, .page-header .breadcrumb-item a { color: rgba(255,255,255,.7); font-size: .875rem; }
.page-header .breadcrumb-item.active { color: var(--psht-gold); }
.page-header .breadcrumb-divider { color: rgba(255,255,255,.4); }

/* ── Form Pendaftaran ────────────────────────────────── */
.form-section { padding: 60px 0; }
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.form-card-header {
  background: linear-gradient(135deg, var(--psht-dark), var(--psht-dark2));
  padding: 24px 32px;
  color: #fff;
}
.form-card-header h4 { margin: 0; font-size: 1.3rem; color: #fff; }
.form-card-header p { margin: 4px 0 0; color: rgba(255,255,255,.65); font-size: .875rem; }
.form-card-body { padding: 32px; }
.form-section-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--psht-red);
  border-bottom: 2px solid var(--psht-red);
  padding-bottom: 8px;
  margin-bottom: 20px;
  margin-top: 32px;
}
.form-section-title:first-child { margin-top: 0; }
.form-control, .form-select {
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .9rem;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--psht-red);
  box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}
.form-label { font-size: .875rem; font-weight: 600; color: #444; margin-bottom: 6px; }
.btn-submit {
  background: linear-gradient(135deg, var(--psht-red), var(--psht-dark-red));
  color: #fff;
  border: none;
  padding: 12px 36px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(192,57,43,.4);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(192,57,43,.5); color: #fff; }

/* ── Documents ───────────────────────────────────────── */
.doc-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--psht-red);
  transition: var(--transition);
  display: flex; align-items: center; gap: 16px;
}
.doc-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.doc-icon { font-size: 2.2rem; min-width: 44px; text-align: center; }
.doc-info { flex: 1; }
.doc-title { font-weight: 700; color: var(--psht-dark); font-size: .95rem; margin-bottom: 4px; }
.doc-meta { font-size: .78rem; color: var(--psht-gray); }
.btn-download {
  background: var(--psht-red);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}
.btn-download:hover { background: var(--psht-dark-red); color: #fff; }

/* ── Contact ─────────────────────────────────────────── */
.contact-info-card {
  background: linear-gradient(135deg, var(--psht-dark), var(--psht-dark2));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  height: 100%;
}
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(212,160,23,.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--psht-gold);
}
.contact-info-text h6 { color: var(--psht-gold); margin-bottom: 4px; font-size: .875rem; }
.contact-info-text p { color: rgba(255,255,255,.75); font-size: .875rem; margin: 0; }

/* ── Sejarah Page ────────────────────────────────────── */
.sejarah-content { padding: 60px 0; }
.sejarah-content h2 { color: var(--psht-dark); }
.sejarah-content p { line-height: 1.9; color: #444; }
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: '';
  position: absolute; left: 28px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--psht-red), var(--psht-gold));
}
.timeline-item { display: flex; gap: 24px; margin-bottom: 32px; }
.timeline-marker {
  min-width: 56px; height: 56px;
  background: var(--psht-red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .85rem;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 6px rgba(192,57,43,.15);
}
.timeline-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  flex: 1;
}
.timeline-content h5 { color: var(--psht-dark); margin-bottom: 8px; font-size: 1rem; }
.timeline-content p { color: #555; font-size: .875rem; line-height: 1.7; margin: 0; }

/* ── Admin Navbar ────────────────────────────────────── */
.admin-sidebar {
  width: 260px;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--psht-dark) 0%, var(--psht-dark2) 100%);
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 1000;
  overflow-y: auto;
  transition: var(--transition);
}
.admin-sidebar-brand {
  padding: 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.admin-sidebar-brand h6 { color: var(--psht-gold); font-family: var(--font-heading); margin: 8px 0 2px; font-size: .95rem; }
.admin-sidebar-brand small { color: rgba(255,255,255,.5); font-size: .75rem; }
.admin-nav { padding: 16px 0; }
.admin-nav-section {
  font-size: .68rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,.3);
  padding: 12px 20px 6px;
}
.admin-nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px;
  color: rgba(255,255,255,.72);
  font-size: .875rem;
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.admin-nav-link:hover { background: rgba(255,255,255,.07); color: var(--psht-gold); }
.admin-nav-link.active { color: var(--psht-gold); background: rgba(212,160,23,.12); border-left-color: var(--psht-gold); }
.admin-nav-link i { font-size: 1rem; min-width: 18px; }
.admin-nav-badge {
  margin-left: auto;
  background: var(--psht-red);
  color: #fff;
  font-size: .65rem;
  padding: 2px 7px;
  border-radius: 10px;
}

.admin-main { margin-left: 260px; min-height: 100vh; background: #f4f6fb; }
.admin-topbar {
  background: #fff;
  padding: 12px 24px;
  box-shadow: 0 1px 6px rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 999;
}
.admin-content { padding: 24px; }
.admin-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.admin-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex; justify-content: space-between; align-items: center;
}
.admin-card-header h5 { margin: 0; font-size: 1rem; color: var(--psht-dark); }
.admin-card-body { padding: 20px; }

.stat-widget {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 16px;
  border-top: 4px solid var(--psht-red);
  transition: var(--transition);
}
.stat-widget:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-widget-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.stat-widget-value { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--psht-dark); line-height: 1; }
.stat-widget-label { font-size: .8rem; color: var(--psht-gray); margin-top: 4px; }

/* ── Tables ──────────────────────────────────────────── */
.table th { font-size: .8rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #666; border-color: #f0f0f0; }
.table td { font-size: .875rem; vertical-align: middle; border-color: #f7f7f7; }
.table-hover tbody tr:hover { background: rgba(192,57,43,.03); }
.badge-status-pending  { background: #fff3cd; color: #856404; }
.badge-status-approved { background: #d1e7dd; color: #0f5132; }
.badge-status-rejected { background: #f8d7da; color: #842029; }
.badge-status-published { background: #d1e7dd; color: #0f5132; }
.badge-status-draft { background: #e9ecef; color: #6c757d; }

/* ── Login ───────────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--psht-dark) 0%, var(--psht-dark2) 50%, var(--psht-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.login-page::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.login-card {
  background: rgba(255,255,255,.97);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}
.login-logo { text-align: center; margin-bottom: 28px; }
.login-logo h4 { font-family: var(--font-heading); color: var(--psht-dark); margin-top: 10px; }
.login-logo small { color: var(--psht-gray); font-size: .8rem; }

/* ── Footer ──────────────────────────────────────────── */
.footer { background: var(--psht-dark); color: rgba(255,255,255,.75); }
.footer-top { padding: 60px 0 40px; }
.footer-logo { font-family: var(--font-heading); font-size: 1.2rem; color: var(--psht-gold); margin-bottom: 4px; }
.footer-motto { color: rgba(255,255,255,.5); font-style: italic; font-size: .9rem; margin-bottom: 12px; }
.footer-heading { font-family: var(--font-heading); font-size: .85rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--psht-gold); margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .875rem; }
.footer-links a:hover { color: var(--psht-gold); padding-left: 6px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: .875rem; }
.footer-contact i { color: var(--psht-gold); margin-top: 2px; min-width: 16px; }
.footer-news-item { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-news-item a { color: rgba(255,255,255,.72); font-size: .85rem; display: block; line-height: 1.4; }
.footer-news-item a:hover { color: var(--psht-gold); }
.footer-news-item small { color: rgba(255,255,255,.35); font-size: .75rem; }
.footer-bottom { background: rgba(0,0,0,.2); padding: 18px 0; font-size: .83rem; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--psht-gold); border-color: var(--psht-gold); color: var(--psht-dark); }

/* ── Floating buttons ────────────────────────────────── */
.btn-back-top {
  position: fixed; bottom: 80px; right: 20px;
  width: 44px; height: 44px;
  background: var(--psht-red);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  display: none;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition);
}
.btn-back-top.show { display: flex; }
.btn-back-top:hover { background: var(--psht-dark-red); transform: translateY(-3px); }

.whatsapp-float {
  position: fixed; bottom: 20px; right: 20px;
  width: 52px; height: 52px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  z-index: 1000;
  transition: var(--transition);
}
.whatsapp-float:hover { background: #128c7e; transform: scale(1.1); color: #fff; }

/* ── Alerts & Badges ─────────────────────────────────── */
.alert-psht { background: rgba(192,57,43,.08); border-left: 4px solid var(--psht-red); border-radius: var(--radius); color: var(--psht-dark-red); }

/* ── Utilities ───────────────────────────────────────── */
.text-gold  { color: var(--psht-gold) !important; }
.text-psht  { color: var(--psht-red) !important; }
.bg-psht    { background: var(--psht-red) !important; }
.bg-dark-psht { background: var(--psht-dark) !important; }
.rounded-xl { border-radius: var(--radius-lg) !important; }
.shadow-psht { box-shadow: var(--shadow-md) !important; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero-slide { height: 400px; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.show { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .sejarah-card { padding: 28px 24px; }
}
@media (max-width: 767.98px) {
  .hero-slide { height: 320px; }
  .hero-content h1 { font-size: 1.5rem; }
  .officers-section { padding: 50px 0; }
  .news-section, .gallery-section, .sejarah-section { padding: 50px 0; }
  .topbar-left { display: none; }
  .login-card { padding: 32px 24px; }
  .timeline::before { left: 20px; }
  .timeline-marker { min-width: 40px; height: 40px; font-size: .72rem; }
}
