/*
 * Palet JAWANTARA (sogan coklat + emas) untuk tema WordPress berbasis variabel CSS
 * seperti WP Digiterkini. Hanya menimpa variabel warna; file tema tidak diubah.
 * Dimuat plugin JAWANTARA App bila "Selaraskan warna tema" aktif.
 */
html:root {
  /* biru tema -> coklat sogan */
  --blue-50: #fbf3e6;
  --blue-100: #f3e2b8;
  --blue-300: #e2bf86;
  --blue-400: #cf9d55;
  --blue-500: #b06a28;
  --blue-600: #9a4a1c;
  --blue-700: #8e3a16;
  --blue-800: #5b2a12;
  --blue-900: #3f1c0b;
  /* merah aksen -> emas */
  --red-50: #fff6e5;
  --red-100: #fdf3dc;
  --red-500: #e0b04a;
  --red-600: #c08a1e;
  --red-700: #9a6a00;
  /* latar & garis -> krem */
  --neutral-0: #fffaf1;
  --neutral-25: #fdf8ef;
  --neutral-50: #faf3e7;
  --neutral-75: #f6eedf;
  --neutral-100: #f1e6d3;
  --neutral-150: #ece0cb;
  --neutral-200: #e6d6bd;
  /* latar mode gelap -> coklat tua */
  --neutral-550: #4a3a2c;
  --neutral-600: #3a2c20;
  --neutral-650: #2f2419;
  --neutral-700: #261c14;
  --neutral-750: #211810;
  --neutral-800: #1c140e;
  --neutral-850: #17110c;
  --neutral-900: #130e09;
  --neutral-950: #0e0a06;
  /* teks */
  --ink-100: #e2d5c6;
  --ink-200: #c4b19e;
  --ink-300: #9a836f;
  --ink-400: #866d5a;
  --ink-500: #6b5443;
  --ink-700: #4a3426;
  --ink-900: #2b1a10;
  --ink-dm-300: #8a7460;
  --ink-dm-500: #b49c84;
  --ink-dm-700: #e2d2bc;
  --ink-dm-900: #f2e6d4;
  --shadow-blue: 0 4px 18px rgba(91, 42, 18, .28);
  --swiper-theme-color: #5b2a12;
}

/* Warna galat tetap merah (palet merah di atas dipakai untuk aksen emas) */
html:root:not(.dark-mode) {
  --color-error: #a3321f;
  --color-error-bg: #f8e1da;
  --color-border-error: #a3321f;
  --form-input-focus-ring: rgba(91, 42, 18, .12);
  --form-input-error-ring: rgba(163, 50, 31, .1);
}

html.dark-mode:root {
  --color-bg-hover: rgba(192, 138, 30, .12);
  --color-text-link: #e0a45a;
  --color-text-link-hover: #f0c06a;
  --color-error: #f19a86;
  --color-error-bg: rgba(163, 50, 31, .15);
}

/* Logo memakai warna navigasi; di mode gelap coklat tua tidak terbaca, jadi pakai emas seperti logo sidebar tema */
html.dark-mode .logo-text,
html.dark-mode .footer-logo__text,
html.dark-mode .notfound-footer__logo {
  color: var(--color-text-link);
}
