/* ==========================================================================
   Design System & Modern Styling for Kwarran & DKR Kertajati Portal + Admin
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Scout Theme */
  --pramuka-dark: #231614;
  --pramuka-brown: #3D231D;
  --pramuka-tan: #8D6E63;
  --pramuka-light-tan: #D7CCC8;
  --pramuka-gold: #FFB300;
  --pramuka-gold-glow: rgba(255, 179, 0, 0.35);
  --pramuka-amber: #FF8F00;
  --pramuka-red: #D32F2F;
  --pramuka-green: #2E7D32;

  /* Neutral Theme (Light Mode Default) */
  --bg-primary: #FAF6F0;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F5EFE6;
  --bg-card: rgba(255, 255, 255, 0.92);
  --text-main: #231614;
  --text-muted: #61514D;
  --text-light: #9E8E89;
  --border-color: rgba(61, 35, 29, 0.12);
  --shadow-sm: 0 4px 12px rgba(35, 22, 20, 0.05);
  --shadow-md: 0 10px 30px rgba(35, 22, 20, 0.08);
  --shadow-lg: 0 20px 45px rgba(35, 22, 20, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.6);

  --font-heading: 'Outfit', 'Cinzel', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Theme Overrides */
[data-theme="dark"] {
  --bg-primary: #170E0D;
  --bg-surface: #231614;
  --bg-surface-elevated: #2D1D19;
  --bg-card: rgba(35, 22, 20, 0.92);
  --text-main: #F5EFE6;
  --text-muted: #BCAAA4;
  --text-light: #8D7B75;
  --border-color: rgba(255, 179, 0, 0.15);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.6);
  --glass-bg: rgba(35, 22, 20, 0.88);
  --glass-border: rgba(255, 179, 0, 0.2);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography Helpers */
.text-gradient {
  background: linear-gradient(135deg, var(--pramuka-gold) 0%, #FFE082 50%, var(--pramuka-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold {
  color: var(--pramuka-gold);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.badge-gold {
  background: rgba(255, 179, 0, 0.15);
  color: var(--pramuka-gold);
  border: 1px solid rgba(255, 179, 0, 0.3);
}

.badge-brown {
  background: rgba(141, 110, 99, 0.15);
  color: var(--pramuka-tan);
  border: 1px solid rgba(141, 110, 99, 0.3);
}

.badge-red {
  background: rgba(211, 47, 47, 0.15);
  color: var(--pramuka-red);
  border: 1px solid rgba(211, 47, 47, 0.3);
}

/* Navbar Navigation - Ultra Clean & Single Line */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 10px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  padding: 6px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-img-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--pramuka-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2px;
  box-shadow: 0 0 12px var(--pramuka-gold-glow);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--pramuka-gold);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  transition: color var(--transition-fast);
  white-space: nowrap;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--pramuka-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pramuka-gold);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.theme-toggle, .btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.theme-toggle:hover, .btn-icon:hover {
  background: var(--pramuka-gold);
  color: var(--pramuka-dark);
  border-color: var(--pramuka-gold);
  transform: translateY(-2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pramuka-gold), var(--pramuka-amber));
  color: #1A0E0C;
  box-shadow: 0 4px 15px var(--pramuka-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--pramuka-gold-glow);
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--pramuka-gold);
}

.btn-outline:hover {
  background: var(--pramuka-gold);
  color: #1A0E0C;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--pramuka-dark);
  color: var(--pramuka-gold);
  border: 1px solid var(--pramuka-gold);
}

.btn-dark:hover {
  background: var(--pramuka-brown);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  padding-top: 130px;
  padding-bottom: 70px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 10% 20%, rgba(255, 179, 0, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(141, 110, 99, 0.12) 0%, transparent 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--pramuka-gold);
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Hero Showcase Card */
.hero-card {
  position: relative;
  background: linear-gradient(145deg, var(--pramuka-brown), var(--pramuka-dark));
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 2px solid rgba(255, 179, 0, 0.3);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(255, 179, 0, 0.15);
  color: #FFF;
  overflow: hidden;
}

.scout-emblem {
  width: 90px;
  height: 90px;
  margin: 0 auto 16px auto;
  background: rgba(255, 255, 255, 0.95);
  border: 3px solid var(--pramuka-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 0 20px var(--pramuka-gold-glow);
}

.scout-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-card-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.hero-card-subtitle {
  text-align: center;
  color: var(--pramuka-gold);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.hero-card-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.info-row i {
  color: var(--pramuka-gold);
}

/* Section Layout */
.section {
  padding: 80px 0;
  position: relative;
}

.section-bg {
  background-color: var(--bg-surface-elevated);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Feature 3: Bagan Struktur Organisasi */
.org-tree {
  text-align: center;
}

.org-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.org-card:hover {
  border-color: var(--pramuka-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.org-card.leader {
  max-width: 320px;
  margin: 0 auto;
  border: 2px solid var(--pramuka-gold);
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-surface-elevated));
}

.org-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pramuka-brown);
  color: var(--pramuka-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 8px auto;
  border: 2px solid var(--pramuka-gold);
}

.org-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.org-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.org-connector-v {
  width: 2px;
  height: 25px;
  background: var(--pramuka-gold);
  margin: 0 auto 20px auto;
}

.org-card.dkr-leader {
  border: 1px solid var(--pramuka-gold);
}

.org-card.dkr-sub {
  padding: 12px;
}

.org-card.dkr-sub h5 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--pramuka-gold);
  margin-bottom: 2px;
}

/* Feature 1: Galeri Grid & Lightbox Cards */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 210px;
  cursor: pointer;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 16px 14px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: #FFF;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
}

/* Feature 4: Semaphore Grid Cheatsheet */
.semaphore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.sem-item {
  background: var(--bg-primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 0.78rem;
  color: var(--text-main);
}

/* Grid Layouts & Uniform Utility Boxes */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 179, 0, 0.4);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--pramuka-brown), var(--pramuka-dark));
  border: 1px solid var(--pramuka-gold);
  color: var(--pramuka-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Utility Box Uniform Alignment */
.utility-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.utility-box form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Form Controls */
.form-box {
  background: var(--bg-surface);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-main);
  outline: none;
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--pramuka-gold);
  box-shadow: 0 0 0 3px var(--pramuka-gold-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 85px;
}

/* Quiz Box */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.quiz-option {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.quiz-option:hover {
  background: var(--pramuka-gold-glow);
  border-color: var(--pramuka-gold);
}

.quiz-option.correct {
  background: rgba(46, 125, 50, 0.2);
  border-color: var(--pramuka-green);
  color: var(--pramuka-green);
}

.quiz-option.wrong {
  background: rgba(211, 47, 47, 0.2);
  border-color: var(--pramuka-red);
  color: var(--pramuka-red);
}

/* News & Agenda */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--pramuka-gold);
  color: #1A0E0C;
  border-color: var(--pramuka-gold);
  box-shadow: 0 4px 12px var(--pramuka-gold-glow);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--pramuka-gold);
}

.news-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--pramuka-brown);
}

.news-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.news-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}

.news-excerpt {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* DKR Banner */
.dkr-banner {
  background: linear-gradient(135deg, #1C1210 0%, #3D231D 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 2px solid var(--pramuka-gold);
  color: #FFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.dkr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
}

.dkr-profi-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.dkr-item-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 179, 0, 0.2);
}

.dkr-item-box i {
  color: var(--pramuka-gold);
  font-size: 1.2rem;
  margin-top: 2px;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-surface);
  width: 92%;
  max-width: 1000px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  padding: 18px 24px;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
}

/* Admin Dashboard Specifics */
.admin-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 20px;
}

.admin-tab {
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.85rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
}

.admin-tab.active {
  color: var(--pramuka-gold);
  border-bottom-color: var(--pramuka-gold);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.85rem;
}

.admin-table th, .admin-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  background: var(--bg-surface-elevated);
  font-weight: 700;
  color: var(--text-muted);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--pramuka-dark);
  color: #FFF;
  border: 1px solid var(--pramuka-gold);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
}

/* Footer */
.footer {
  background: var(--pramuka-dark);
  color: #F5EFE6;
  padding: 60px 0 25px 0;
  border-top: 3px solid var(--pramuka-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--pramuka-gold);
  margin-bottom: 12px;
}

.footer-brand p {
  color: #BCAAA4;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.footer-links h4 {
  font-family: var(--font-heading);
  color: var(--pramuka-gold);
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #BCAAA4;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--pramuka-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #8D7B75;
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }
}

@media (max-width: 992px) {
  .hero-grid, .dkr-grid, .grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
