/*
Theme Name:       Faraid Bundle
Theme URI:        https://hujanassalam.my.id
Author:           Hujan Assalam
Author URI:       https://hujanassalam.my.id
Description:      Tema WordPress profesional yang sepadan dengan plugin Faraid Bundle. Reka bentuk Islamic moden dengan warna hijau hutan + emas. Sesuai untuk laman web produk digital faraid, ustaz, peguam syarie, dan peniaga Muslim Malaysia.
Version:          1.0.0
Requires at least: 5.8
Tested up to:     6.7
Requires PHP:     7.4
License:          GNU General Public License v2 or later
License URI:      http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:      faraid-bundle
Tags:             islamic, green, gold, one-column, custom-colors, custom-menu, featured-images, full-width-template, translation-ready
*/

/* ═══════════════════════════════════════
   CSS VARIABLES — WARNA BRAND
═══════════════════════════════════════ */
:root {
  /* Dark base */
  --fc-0: #020b04;
  --fc-1: #040f06;
  --fc-2: #071409;
  --fc-3: #0d1f0f;
  --fc-4: #132814;
  --fc-5: #1a3318;
  --fc-6: #223f20;
  --fc-7: #2b4e28;

  /* Gold */
  --fg-1: #8a5f1a;
  --fg-2: #b07d24;
  --fg-3: #c8963a;
  --fg-4: #dea84a;
  --fg-5: #f0bf65;
  --fg-6: #f8d88a;

  /* Neutral */
  --cream:     #f5edd8;
  --sand:      #e8dcc4;
  --parchment: #f9f4e8;
  --ink:       #0e1a0d;
  --muted:     #5a6e52;
  --teal:      #0a3a2e;
  --white:     #ffffff;

  /* Border */
  --border:        rgba(200, 150, 58, 0.18);
  --border-strong: rgba(200, 150, 58, 0.40);

  /* Type */
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-arabic: 'Amiri', serif;
  --font-body:   'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ═══════════════════════════════════════
   RESET
═══════════════════════════════════════ */
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--fc-1);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: var(--fg-4); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--fg-5); }

/* ═══════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(26px, 4vw, 42px); }
h3 { font-size: clamp(20px, 3vw, 30px); }
h4 { font-size: clamp(16px, 2vw, 22px); }
h5, h6 { font-size: 16px; }

p  { margin-bottom: 1.2rem; font-size: 15px; color: rgba(255,255,255,0.7); }
p:last-child { margin-bottom: 0; }

strong { color: var(--white); font-weight: 700; }
em     { font-style: italic; color: var(--fg-5); }

ul, ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
li { margin-bottom: 0.4rem; color: rgba(255,255,255,0.7); font-size: 15px; }

blockquote {
  border-left: 4px solid var(--fg-3);
  padding: 16px 20px;
  margin: 24px 0;
  background: rgba(200,150,58,0.06);
  border-radius: 0 10px 10px 0;
}
blockquote p { font-family: var(--font-serif); font-style: italic; color: var(--fg-5); margin: 0; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

code, pre {
  font-family: 'Fira Code', 'Courier New', monospace;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
}
code { padding: 2px 6px; }
pre  { padding: 16px 20px; overflow-x: auto; margin: 20px 0; }

/* Headings colour on light bg */
.entry-content.light h1,
.entry-content.light h2,
.entry-content.light h3,
.entry-content.light h4 { color: var(--ink); }
.entry-content.light p,
.entry-content.light li { color: var(--muted); }

/* ═══════════════════════════════════════
   LAYOUT
═══════════════════════════════════════ */
.site-wrapper   { display: flex; flex-direction: column; min-height: 100vh; }
.site-main      { flex: 1; }
.container      { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-sm   { max-width: 760px;  margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1340px; margin: 0 auto; padding: 0 24px; }

.row { display: flex; flex-wrap: wrap; gap: 24px; }
.col-1-2 { flex: 1 1 calc(50% - 12px); min-width: 280px; }
.col-1-3 { flex: 1 1 calc(33.33% - 16px); min-width: 240px; }
.col-2-3 { flex: 2 1 calc(66.66% - 12px); min-width: 300px; }

/* ═══════════════════════════════════════
   MALAYSIA STRIPE
═══════════════════════════════════════ */
.my-stripe {
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    #cc0001 0 14.28%,
    #fff    14.28% 28.57%,
    #cc0001 28.57% 42.85%,
    #fff    42.85% 57.14%,
    #cc0001 57.14% 71.42%,
    #fff    71.42% 85.71%,
    #cc0001 85.71% 100%
  );
}

/* ═══════════════════════════════════════
   TOPBAR
═══════════════════════════════════════ */
.site-topbar {
  background: linear-gradient(90deg, var(--fc-0), var(--teal), var(--fc-0));
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg-5);
  letter-spacing: 0.02em;
}
.topbar-sep { margin: 0 12px; opacity: 0.4; }

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(4,15,6,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1340px;
  margin: 0 auto;
  gap: 20px;
}

/* Logo */
.site-branding { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-logo {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--fg-3), var(--fg-5));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.site-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.branding-text { line-height: 1.2; }
.site-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--fg-5);
  display: block;
}
.site-tagline {
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
}

/* Navigation */
.site-nav { display: flex; align-items: center; gap: 8px; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0; margin: 0;
}
.nav-menu li { position: relative; }
.nav-menu > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  border-radius: 8px;
  transition: all 0.18s;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
  color: var(--fg-5);
  background: rgba(200,150,58,0.1);
}

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--fc-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.22s;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  z-index: 300;
}
.nav-menu li:hover > .sub-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-menu .sub-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  border-radius: 8px;
  transition: all 0.15s;
}
.nav-menu .sub-menu a:hover {
  color: var(--fg-5);
  background: rgba(200,150,58,0.1);
}

/* Header CTA */
.header-cta {
  background: linear-gradient(135deg, var(--fg-3), var(--fg-5));
  color: var(--fc-0);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,150,58,0.42);
  color: var(--fc-0);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--fg-4);
  border-radius: 2px;
  transition: all 0.3s;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════════════
   HERO SECTION (halaman utama)
═══════════════════════════════════════ */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 70% at 80% 10%, rgba(200,150,58,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 10% 80%, rgba(10,58,46,0.2) 0%, transparent 50%),
    linear-gradient(180deg, var(--fc-0) 0%, var(--fc-2) 50%, var(--fc-1) 100%);
  text-align: center;
}
.hero-geo {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(200,150,58,0.05)' stroke-width='0.7'%3E%3Cpolygon points='50,5 95,27 95,73 50,95 5,73 5,27'/%3E%3Cpolygon points='50,18 80,34 80,66 50,82 20,66 20,34'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100px 100px;
}
.hero-content { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }
.hero-bismillah {
  font-family: var(--font-arabic);
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--fg-6);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  opacity: 0; animation: fadeUp 0.8s ease 0.1s forwards;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,150,58,0.1);
  border: 1px solid var(--border-strong);
  color: var(--fg-5);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 50px; margin-bottom: 26px;
  opacity: 0; animation: fadeUp 0.8s ease 0.25s forwards;
}
.hero-title {
  font-size: clamp(36px, 6vw, 74px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 18px;
  opacity: 0; animation: fadeUp 0.8s ease 0.4s forwards;
}
.hero-title .gold {
  display: block; font-style: italic;
  background: linear-gradient(135deg, var(--fg-4), var(--fg-6), var(--fg-5));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.55);
  max-width: 560px; margin: 0 auto 34px;
  line-height: 1.75;
  opacity: 0; animation: fadeUp 0.8s ease 0.55s forwards;
}
.hero-cta-group {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  opacity: 0; animation: fadeUp 0.8s ease 0.7s forwards;
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  border: none; border-radius: 12px; padding: 14px 28px;
  cursor: pointer; text-decoration: none; transition: all 0.2s;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--fg-3), var(--fg-5));
  color: var(--fc-0);
  box-shadow: 0 6px 24px rgba(200,150,58,0.38);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(200,150,58,0.55);
  color: var(--fc-0);
}
.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--border-strong);
  color: var(--fg-5);
}
.btn-secondary:hover {
  background: rgba(200,150,58,0.08);
  border-color: var(--fg-3);
  color: var(--fg-5);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.7);
}
.btn-outline:hover { border-color: var(--fg-3); color: var(--fg-5); }
.btn-lg  { font-size: 17px; padding: 18px 36px; border-radius: 14px; }
.btn-sm  { font-size: 13px; padding: 9px 18px; border-radius: 9px; }
.btn-full { width: 100%; }

/* Pulse animation for CTA */
.btn-pulse { animation: ctaPulse 2.5s ease-in-out infinite; }
@keyframes ctaPulse {
  0%,100% { box-shadow: 0 6px 24px rgba(200,150,58,0.38); }
  50%      { box-shadow: 0 6px 40px rgba(200,150,58,0.65); }
}

/* ═══════════════════════════════════════
   CARDS
═══════════════════════════════════════ */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--fg-3), var(--fg-5), transparent);
  opacity: 0; transition: opacity 0.25s;
}
.card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.card:hover::before { opacity: 1; }

/* Light card */
.card-light {
  background: var(--white);
  border: 1px solid var(--sand);
  border-left: 4px solid var(--fg-3);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  transition: transform 0.22s, box-shadow 0.22s;
}
.card-light:hover { transform: translateX(6px); box-shadow: 0 4px 22px rgba(0,0,0,0.1); }

/* Card grid */
.card-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 16px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; }

/* ═══════════════════════════════════════
   SECTION BASE
═══════════════════════════════════════ */
.section { padding: 88px 24px; }
.section-dark   { background: var(--fc-3); }
.section-darker { background: var(--fc-0); }
.section-mid    { background: var(--fc-2); }
.section-green  { background: linear-gradient(135deg, var(--fc-4), var(--fc-6)); }
.section-light  { background: var(--parchment); }

.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; }
.section-header.center .gold-rule { margin: 14px auto 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(200,150,58,0.09);
  border: 1px solid var(--border-strong);
  color: var(--fg-4);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 14px;
}
.kicker.light { background: rgba(200,150,58,0.1); color: var(--fg-1); border-color: rgba(138,95,26,0.3); }
.section-title {
  font-size: clamp(26px,4vw,44px);
  margin-bottom: 10px;
  font-weight: 900;
}
.section-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 560px;
}
.section-sub.dark { color: var(--muted); }
.gold-rule {
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--fg-3), var(--fg-5));
  border-radius: 2px;
  margin: 14px 0;
}
.gold-rule.light { background: linear-gradient(90deg, var(--fg-2), transparent); }
.gold-rule.center { margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════
   POSTS — BLOG
═══════════════════════════════════════ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 24px;
  margin-top: 8px;
}
.post-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.25s;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 14px 44px rgba(0,0,0,0.3); }
.post-card-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--fc-4); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-thumb .no-image {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, var(--fc-4), var(--fc-7));
}
.post-card-body { padding: 22px; }
.post-card-cat {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-4); margin-bottom: 8px;
}
.post-card-title {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 700;
  color: var(--white); line-height: 1.3; margin-bottom: 10px;
}
.post-card-title a { color: var(--white); }
.post-card-title a:hover { color: var(--fg-5); }
.post-card-excerpt { font-size: 13.5px; color: rgba(255,255,255,0.5); line-height: 1.65; margin-bottom: 16px; }
.post-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.3); }
.read-more { color: var(--fg-4); font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 4px; }
.read-more:hover { color: var(--fg-5); }

/* Single post */
.single-hero { background: var(--fc-3); padding: 80px 24px 60px; border-bottom: 1px solid var(--border); }
.single-hero-inner { max-width: 760px; margin: 0 auto; }
.single-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-4); margin-bottom: 12px; display: block; }
.single-title { font-size: clamp(28px,4vw,48px); font-weight: 900; line-height: 1.1; margin-bottom: 16px; }
.single-meta { display: flex; align-items: center; gap: 16px; font-size: 13px; color: rgba(255,255,255,0.4); flex-wrap: wrap; }
.single-meta .sep { opacity: 0.3; }

.entry-content { max-width: 760px; margin: 0 auto; padding: 56px 24px; }
.entry-content h2 { margin: 36px 0 14px; }
.entry-content h3 { margin: 28px 0 12px; }
.entry-content p  { color: rgba(255,255,255,0.72); margin-bottom: 18px; }
.entry-content ul, .entry-content ol { margin-bottom: 18px; }
.entry-content img { border-radius: 12px; margin: 24px 0; }
.entry-content .wp-caption { text-align: center; }
.entry-content .wp-caption-text { font-size: 12.5px; color: rgba(255,255,255,0.4); margin-top: 8px; }

/* ═══════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════ */
.content-area {
  max-width: 1100px; margin: 0 auto; padding: 56px 24px;
  display: grid; grid-template-columns: 1fr 300px; gap: 36px;
}
.widget-area {}
.widget {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 24px;
}
.widget-title {
  font-family: var(--font-serif);
  font-size: 16px; font-weight: 700; color: var(--fg-5);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 14px; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: rgba(255,255,255,0.65); }
.widget ul li a:hover { color: var(--fg-5); }

/* Search widget */
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] {
  flex: 1; background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 10px 14px; font-size: 14px; color: var(--white); outline: none;
}
.search-form input[type="search"]:focus { border-color: var(--fg-3); }
.search-form button {
  background: linear-gradient(135deg,var(--fg-3),var(--fg-5));
  color: var(--fc-0); border: none; border-radius: 10px;
  padding: 10px 14px; cursor: pointer; font-weight: 700;
}

/* ═══════════════════════════════════════
   PAGINATION
═══════════════════════════════════════ */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; padding: 40px 24px;
}
.pagination a,
.pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.65);
  transition: all 0.18s;
}
.pagination a:hover,
.pagination .current {
  background: linear-gradient(135deg,var(--fg-3),var(--fg-5));
  color: var(--fc-0); border-color: transparent;
  box-shadow: 0 4px 14px rgba(200,150,58,0.35);
}

/* ═══════════════════════════════════════
   PAGE TEMPLATES
═══════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--fc-0), var(--fc-3));
  padding: 80px 24px 64px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero-title { font-size: clamp(32px,5vw,54px); font-weight: 900; }
.page-hero-sub { font-size: 16px; color: rgba(255,255,255,0.5); margin-top: 10px; }
.page-content { max-width: 760px; margin: 0 auto; padding: 56px 24px; }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255,255,255,0.35);
  padding: 12px 0; margin-bottom: 8px;
}
.breadcrumb a { color: rgba(255,255,255,0.45); }
.breadcrumb a:hover { color: var(--fg-4); }
.breadcrumb .sep { opacity: 0.4; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  background: var(--fc-0);
  border-top: 1px solid var(--border);
}

/* Footer widgets */
.footer-widgets {
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.footer-widget-title {
  font-family: var(--font-serif);
  font-size: 15px; font-weight: 700; color: var(--fg-4);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.footer-widget p { font-size: 13.5px; color: rgba(255,255,255,0.38); line-height: 1.75; }
.footer-widget ul { list-style: none; padding: 0; margin: 0; }
.footer-widget ul li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.footer-widget ul li:last-child { border-bottom: none; }
.footer-widget ul li a { font-size: 13.5px; color: rgba(255,255,255,0.45); }
.footer-widget ul li a:hover { color: var(--fg-4); }

/* Footer brand */
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo {
  width: 38px; height: 38px;
  background: linear-gradient(135deg,var(--fg-3),var(--fg-5));
  border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.footer-brand-name { font-family: var(--font-serif); font-size: 16px; color: var(--fg-4); }

/* Footer bottom */
.footer-bottom {
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  max-width: 1100px; margin: 0 auto;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-links { display: flex; gap: 16px; list-style: none; padding: 0; margin: 0; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-links a:hover { color: var(--fg-4); }

/* ═══════════════════════════════════════
   FORMS (WordPress default)
═══════════════════════════════════════ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="number"],
textarea,
select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 15px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 14px;
  -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--fg-3); }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.22); }
select { cursor: pointer; }
select option { background: var(--fc-3); }
label {
  display: block;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}

/* Comment form */
.comment-form input[type="submit"],
.wp-block-button__link {
  background: linear-gradient(135deg,var(--fg-3),var(--fg-5));
  color: var(--fc-0);
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  border: none; border-radius: 10px; padding: 13px 26px;
  cursor: pointer; transition: all 0.2s;
}
.comment-form input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,150,58,0.42); }

/* ═══════════════════════════════════════
   GUTENBERG BLOCKS
═══════════════════════════════════════ */
.wp-block-quote {
  border-left: 4px solid var(--fg-3);
  padding: 16px 20px;
  background: rgba(200,150,58,0.06);
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
}
.wp-block-quote p { font-family: var(--font-serif); font-style: italic; color: var(--fg-5) !important; }
.wp-block-quote cite { font-size: 13px; color: rgba(255,255,255,0.4); }

.wp-block-separator { border-color: var(--border) !important; margin: 32px 0 !important; }

.wp-block-image img { border-radius: 12px; }
.wp-block-image figcaption { font-size: 12.5px; color: rgba(255,255,255,0.38); text-align: center; margin-top: 8px; }

.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table td, .wp-block-table th {
  border: 1px solid var(--border);
  padding: 10px 14px;
  font-size: 14px;
}
.wp-block-table th { background: var(--fc-4); color: var(--fg-4); font-weight: 700; }

/* ═══════════════════════════════════════
   UTILITIES
═══════════════════════════════════════ */
.text-center   { text-align: center; }
.text-gold     { color: var(--fg-5); }
.text-muted    { color: rgba(255,255,255,0.45); }
.text-gold-2   { color: var(--fg-4); }
.bg-dark       { background: var(--fc-0); }
.hidden        { display: none; }

/* Reveal animation */
.reveal        { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in     { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .content-area { grid-template-columns: 1fr; }
  .widget-area { order: -1; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; flex-direction: column; width: 100%; }
  .nav-menu.open {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(4,15,6,0.98);
    border-top: 1px solid var(--border);
    padding: 16px;
    backdrop-filter: blur(16px);
  }
  .nav-menu > li > a { padding: 12px 16px; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  .row { flex-direction: column; }
  .col-1-2, .col-1-3, .col-2-3 { flex: 1 1 100%; }
}

@media (max-width: 480px) {
  .section { padding: 60px 18px; }
  .container { padding: 0 18px; }
  .hero-section { padding: 80px 18px 60px; }
}

/* ═══════════════════════════════════════
   WORDPRESS CORE CLASSES
═══════════════════════════════════════ */
.alignleft   { float: left; margin: 0 20px 20px 0; }
.alignright  { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin: 20px auto; }
.alignwide   { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull   { width: 100vw; margin-left: calc(-50vw + 50%); }
.wp-caption  { max-width: 100%; }
.sticky      {}
.bypostauthor{}
.gallery     { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 8px; margin: 20px 0; }
.gallery-item img { border-radius: 8px; width: 100%; height: 160px; object-fit: cover; }

/* Screen reader only */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
}

/* ═══════════════════════════════════════
   TESTIMONIAL CARDS — warna hitam/gelap
═══════════════════════════════════════ */
.testi-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  position: relative;
}
.testi-quote {
  font-family: var(--font-serif);
  font-size: 60px;
  color: var(--fg-3);
  opacity: 0.2;
  line-height: 0.8;
  margin-bottom: 12px;
}
.testi-stars {
  color: var(--fg-3);
  font-size: 16px;
  margin-bottom: 12px;
}
.testi-text {
  font-size: 14px;
  /* PENTING: warna hitam/gelap supaya terbaca di latar krim */
  color: #1a1a1a !important;
  line-height: 1.78;
  margin-bottom: 18px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-av {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fc-5), var(--fg-3));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: var(--white);
  flex-shrink: 0;
}
.testi-name {
  font-size: 14px;
  font-weight: 700;
  /* Warna hitam pekat */
  color: #111111 !important;
}
.testi-loc {
  font-size: 12px;
  /* Warna gelap kelabu */
  color: #555555 !important;
  margin-top: 2px;
}
.testi-badge {
  display: inline-block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(10,58,46,0.1);
  color: var(--teal);
  border: 1px solid rgba(10,58,46,0.25);
  padding: 2px 8px;
  border-radius: 20px;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px,1fr));
  gap: 16px;
  margin-top: 8px;
}

/* ═══════════════════════════════════════
   FAQ STYLES
═══════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.22s;
}
.faq-item:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.08); }
.faq-q {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  /* Warna hitam untuk FAQ di latar terang */
  color: #111111;
  user-select: none;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--teal); }
.faq-arrow {
  color: var(--fg-2);
  font-size: 12px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
  font-size: 14px;
  /* Warna gelap untuk teks FAQ */
  color: #444444;
  line-height: 1.75;
}
.faq-a-inner { padding: 0 22px 20px; }
.faq-item.open .faq-a    { max-height: 320px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-item.open .faq-q    { color: var(--teal); }

/* FAQ dalam background gelap (plugin pages) */
.section-dark .faq-item,
.section-mid  .faq-item,
.section-darker .faq-item {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.section-dark .faq-q,
.section-mid  .faq-q,
.section-darker .faq-q { color: var(--white); }
.section-dark .faq-a,
.section-mid  .faq-a,
.section-darker .faq-a { color: rgba(255,255,255,0.55); }

/* ═══════════════════════════════════════
   STATS GRID
═══════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.stat-block {
  background: rgba(255,255,255,0.03);
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-block:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(32px,4vw,48px);
  font-weight: 900;
  color: var(--fg-5);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  line-height: 1.45;
}
@media(max-width:580px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-block { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-block:last-child { border-bottom: none; }
  .testi-grid { grid-template-columns: 1fr; }
}
