/*
Theme Name:  Kang Ni'am Theme
Theme URI:   https://kangniam.com
Author:      Ni'am Elhamid
Author URI:  https://kangniam.com
Description: Dark luxury editorial theme untuk portofolio web developer & digital strategist. Custom built from scratch.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kangniam
Tags:        portfolio, dark, one-page, custom
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg:    #0a0a08;
  --bg2:   #111110;
  --bg3:   #181816;
  --cream: #f5f0e8;
  --cream2:#e8e0d0;
  --gold:  #c9a84c;
  --gold2: #e8c96a;
  --text:  #d8d4cc;
  --muted: #6b6860;
  --accent:#c9a84c;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

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

/* Noise overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.15s ease, width 0.3s, height 0.3s, border-color 0.3s;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-navigation {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 28px 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, padding 0.4s;
}
#site-navigation.scrolled {
  background: rgba(10,10,8,0.95);
  backdrop-filter: blur(20px);
  padding: 18px 60px;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

/* Logo */
.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.site-logo span { color: var(--gold); }

/* Primary menu (generated by WordPress wp_nav_menu) */
#primary-menu {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
  margin: 0; padding: 0;
}
#primary-menu a {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.3s;
}
#primary-menu a:hover,
#primary-menu .current-menu-item > a { color: var(--cream); }

/* CTA button */
.nav-cta {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg);
  background: var(--gold);
  padding: 11px 28px;
  border-radius: 2px;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold2); transform: translateY(-1px); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   SECTION SHARED
   ============================================================ */
body { counter-reset: sec; }
.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.section-label::before {
  content: '0' counter(sec);
  counter-increment: sec;
  font-size: 10px;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible       { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Buttons */
.btn-primary {
  font-family: 'Syne', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  background: var(--gold); color: var(--bg);
  padding: 16px 36px;
  border-radius: 2px;
  transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-2px); box-shadow: 0 20px 40px rgba(201,168,76,0.2); }
.btn-ghost {
  font-family: 'Syne', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; color: var(--muted);
  border-bottom: 1px solid var(--muted);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.btn-ghost:hover { color: var(--cream); border-color: var(--cream); }
/* ... bagian tombol btn-ghost ... */
.btn-ghost:hover { color: var(--cream); border-color: var(--cream); }

/* --- PASTE DI SINI (BAGIAN BARU) --- */

/* Sub-title agar lebih 'pop' tapi tetap mewah */
.hero-desc, .about-body, .service-desc, .step-desc, .why-item-desc {
  color: var(--muted) !important;
  font-weight: 400 !important; 
  letter-spacing: 0.01em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Judul kecil/Eyebrow warna Gold */
.section-label, .hero-eyebrow, .project-type {
  color: var(--gold) !important;
  text-shadow: 0 0 10px rgba(201,168,76,0.2);
}

/* Kuatkan warna italic/em */
em {
  color: var(--gold2) !important;
  font-style: italic;
}

/* ============================================================
   HERO
   ============================================================ */
/* ... dan seterusnya ... */

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 160px 80px 100px 80px;
  position: relative; z-index: 2;
}
.hero-eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 16px;
}
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 5.5vw, 82px);
  font-weight: 900; line-height: 1.05;
  color: var(--cream); margin-bottom: 12px;
}
.hero-title em { font-style: italic; color: var(--gold); display: block; }
.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 400; line-height: 1.1;
  color: var(--cream2); margin-bottom: 36px; opacity: 0.85;
}
.hero-desc {
  font-size: 16px; font-weight: 300;
  color: var(--muted); max-width: 420px;
  line-height: 1.8; margin-bottom: 52px;
}
.hero-desc strong { color: var(--text); font-weight: 500; }
.hero-actions { display: flex; gap: 20px; align-items: center; }

.hero-right { position: relative; overflow: hidden; }
.hero-img-wrap {
  position: absolute; inset: 0;
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.hero-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,8,0.7) 0%, rgba(10,10,8,0.1) 60%, rgba(201,168,76,0.08) 100%);
  z-index: 1;
}
.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  filter: grayscale(20%) contrast(1.05);
}
.hero-float {
  position: absolute; bottom: 60px; left: -40px;
  z-index: 3;
  background: var(--bg2);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 24px 30px; border-radius: 4px;
  backdrop-filter: blur(10px);
}
.hero-float-num {
  font-family: 'Playfair Display', serif;
  font-size: 42px; font-weight: 900;
  color: var(--gold); line-height: 1;
}
.hero-float-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
  margin-top: 4px;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap {
  background: var(--gold);
  overflow: hidden; padding: 14px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 22s linear infinite;
}
.marquee-track span {
  font-family: 'Syne', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bg); padding: 0 40px;
}
.marquee-track span::after { content: '✦'; margin-left: 40px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 130px 80px;
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 100px; align-items: center;
  background: var(--bg);
}
.about-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 700; line-height: 1.1;
  color: var(--cream); margin-bottom: 30px;
}
.about-headline em { font-style: italic; color: var(--gold); }
.about-body {
  font-size: 15px; font-weight: 300;
  line-height: 1.9; color: var(--muted);
  margin-bottom: 20px;
}
.about-body strong { color: var(--text); font-weight: 500; }
.about-right { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.stat-card {
  background: var(--bg3); padding: 36px 30px;
  border-left: 2px solid var(--gold);
  transition: background 0.3s;
}
.stat-card:hover { background: var(--bg2); }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 52px; font-weight: 900;
  color: var(--gold); line-height: 1;
}
.stat-num sup { font-size: 24px; }
.stat-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-top: 8px;
}
.stat-desc { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.5; opacity: 0.7; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 130px 80px; background: var(--bg2); }
.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 70px;
}
.services-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 700; line-height: 1.1;
  color: var(--cream);
}
.services-title em { font-style: italic; color: var(--gold); display: block; }
.services-intro { max-width: 320px; font-size: 14px; color: var(--muted); line-height: 1.8; font-weight: 300; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service-card {
  background: var(--bg3); padding: 48px 40px;
  position: relative; overflow: hidden;
  transition: background 0.4s;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.5s ease;
}
.service-card:hover { background: var(--bg); }
.service-card:hover::before { width: 100%; }
.service-num {
  font-family: 'Playfair Display', serif;
  font-size: 72px; font-weight: 900;
  color: rgba(201,168,76,0.07);
  position: absolute; top: 20px; right: 24px;
  line-height: 1; transition: color 0.4s;
}
.service-card:hover .service-num { color: rgba(201,168,76,0.13); }
.service-icon { width: 52px; height: 52px; margin-bottom: 28px; color: var(--gold); }
.service-icon svg { width: 100%; height: 100%; }
.service-name {
  font-family: 'Syne', sans-serif;
  font-size: 20px; font-weight: 700;
  color: var(--cream); margin-bottom: 14px; line-height: 1.2;
}
.service-desc { font-size: 14px; color: var(--muted); line-height: 1.8; font-weight: 300; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.service-tag {
  font-family: 'Syne', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 4px 12px; border-radius: 2px;
}

/* ============================================================
   PROJECTS / CASES
   ============================================================ */
.projects { padding: 130px 80px; background: var(--bg); }
.projects-header { margin-bottom: 70px; }
.projects-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 700; color: var(--cream); line-height: 1.1;
}
.projects-title em { font-style: italic; color: var(--gold); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.project-card {
  background: var(--bg3);
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
}
.project-card.featured { grid-column: span 2; aspect-ratio: auto; min-height: 340px; }
.project-bg {
  position: absolute; inset: 0;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
  transition: transform 0.5s ease; overflow: hidden;
}
.project-bg img { width: 100%; height: 100%; object-fit: cover; }
.project-card:hover .project-bg { transform: scale(1.05); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,8,0.95) 0%, rgba(10,10,8,0.3) 60%, transparent 100%);
  padding: 36px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.project-type {
  font-family: 'Syne', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.project-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: var(--cream); line-height: 1.2; margin-bottom: 8px;
}
.project-desc {
  font-size: 13px; color: var(--muted);
  opacity: 0; transform: translateY(10px);
  transition: all 0.4s;
}
.project-card:hover .project-desc { opacity: 1; transform: translateY(0); }
.project-link {
  position: absolute; top: 24px; right: 24px;
  width: 40px; height: 40px;
  background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--bg); font-size: 16px; text-decoration: none;
  opacity: 0; transform: scale(0.7);
  transition: all 0.3s;
}
.project-card:hover .project-link { opacity: 1; transform: scale(1); }

/* ============================================================
   WHY ME
   ============================================================ */
.why {
  padding: 130px 80px; background: var(--bg2);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
}
.why-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 700; color: var(--cream); line-height: 1.1;
  margin-bottom: 36px;
}
.why-title em { font-style: italic; color: var(--gold); }
.why-list { list-style: none; }
.why-item {
  display: flex; gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.why-item:last-child { border-bottom: none; }
.why-item-num { font-family: 'Playfair Display', serif; font-size: 13px; color: var(--gold); font-style: italic; min-width: 28px; padding-top: 2px; }
.why-item-title { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: var(--cream); margin-bottom: 6px; }
.why-item-desc { font-size: 13px; color: var(--muted); line-height: 1.7; font-weight: 300; }
.why-quote-card {
  background: var(--bg3);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 52px 48px; border-radius: 4px; position: relative;
}
.why-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 120px; color: rgba(201,168,76,0.1);
  position: absolute; top: -20px; left: 30px; line-height: 1;
}
.why-quote {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-style: italic;
  color: var(--cream); line-height: 1.7; margin-bottom: 30px;
}
.why-author { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { padding: 130px 80px; background: var(--bg); }
.process-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 700; color: var(--cream);
  margin-bottom: 70px; line-height: 1.1;
}
.process-title em { font-style: italic; color: var(--gold); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.process-step { background: var(--bg3); padding: 44px 36px; position: relative; }
.process-step::after {
  content: '→'; position: absolute; top: 44px; right: -12px;
  font-size: 20px; color: var(--gold); z-index: 2;
}
.process-step:last-child::after { display: none; }
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 52px; font-weight: 900;
  color: rgba(201,168,76,0.15); line-height: 1; margin-bottom: 20px;
}
.step-title { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: var(--cream); margin-bottom: 12px; }
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.8; font-weight: 300; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 140px 80px; background: var(--bg2);
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-eyebrow { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 5vw, 76px); font-weight: 900;
  color: var(--cream); line-height: 1.05;
  margin-bottom: 24px; position: relative; z-index: 1;
}
.cta-title em { font-style: italic; color: var(--gold); }
.cta-subtitle {
  font-size: 15px; color: var(--muted); font-weight: 300;
  margin-bottom: 52px; max-width: 480px;
  margin-left: auto; margin-right: auto;
  line-height: 1.8; position: relative; z-index: 1;
}
.cta-actions { display: flex; gap: 20px; justify-content: center; align-items: center; position: relative; z-index: 1; }
.cta-wa {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; background: #25D366; color: white;
  padding: 16px 36px; border-radius: 2px; transition: all 0.3s;
}
.cta-wa:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 20px 40px rgba(37,211,102,0.2); }
.cta-email {
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; color: var(--muted);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 15px 36px; border-radius: 2px; transition: all 0.3s;
}
.cta-email:hover { color: var(--cream); border-color: rgba(255,255,255,0.3); }

/* ============================================================
   BLOG / INSIGHT ARCHIVE
   ============================================================ */
.page-banner {
  padding: 160px 80px 80px;
  background: var(--bg);
}
.page-banner-label { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.page-banner-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px, 5vw, 72px); font-weight: 900;
  color: var(--cream); line-height: 1.05;
}
.page-banner-title em { font-style: italic; color: var(--gold); }

.blog-grid {
  padding: 0 80px 100px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--bg);
}
.post-card { background: var(--bg3); overflow: hidden; }
.post-card-thumb { aspect-ratio: 16/9; overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-body { padding: 32px; }
.post-cat {
  font-family: 'Syne', sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.post-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  color: var(--cream); line-height: 1.3; margin-bottom: 12px;
}
.post-card-title a { text-decoration: none; transition: color 0.3s; }
.post-card-title a:hover { color: var(--gold); }
.post-card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.post-card-meta { font-family: 'Syne', sans-serif; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Single post */
.single-post { padding: 160px 80px 100px; max-width: 820px; margin: 0 auto; }
.single-post h1 { font-family: 'Playfair Display', serif; font-size: clamp(36px, 4vw, 58px); font-weight: 900; color: var(--cream); line-height: 1.1; margin-bottom: 28px; }
.single-post h2, .single-post h3 { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--cream); margin: 40px 0 16px; }
.single-post h2 { font-size: 32px; } .single-post h3 { font-size: 24px; }
.single-post p { color: var(--muted); line-height: 1.9; margin-bottom: 20px; }
.single-post a { color: var(--gold); }
.single-post img { border-radius: 4px; margin: 30px 0; }
.single-post blockquote { border-left: 3px solid var(--gold); padding: 20px 30px; margin: 30px 0; background: var(--bg3); font-family: 'Playfair Display', serif; font-style: italic; color: var(--cream); }

/* Contact page */
.contact-page { padding: 160px 80px 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-form-wrap { }
.contact-form input, .contact-form textarea {
  width: 100%; background: var(--bg3);
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--text); font-family: 'DM Sans', sans-serif;
  font-size: 15px; padding: 16px 20px;
  border-radius: 2px; margin-bottom: 16px;
  outline: none; transition: border-color 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(201,168,76,0.4); }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form button {
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--gold); color: var(--bg);
  padding: 16px 36px; border: none; border-radius: 2px;
  cursor: pointer; transition: all 0.3s;
}
.contact-form button:hover { background: var(--gold2); transform: translateY(-1px); }
.contact-info-card { padding: 48px; background: var(--bg3); border: 1px solid rgba(201,168,76,0.15); }
.contact-info-title { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--cream); margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-label { font-family: 'Syne', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-info-value { font-size: 15px; color: var(--text); }
.contact-info-value a { color: var(--text); text-decoration: none; transition: color 0.3s; }
.contact-info-value a:hover { color: var(--gold); }

/* About page */
.about-page { padding: 160px 80px 100px; }
.about-page-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 100px; }
.about-page-img { aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; }
.about-page-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 60px 80px 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 60px;
}
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--cream); margin-bottom: 14px; }
.footer-brand-name span { color: var(--gold); }
.footer-tagline { font-size: 13px; color: var(--muted); line-height: 1.7; font-weight: 300; max-width: 260px; margin-bottom: 28px; }
.footer-contact a { display: block; font-size: 13px; color: var(--muted); text-decoration: none; margin-bottom: 8px; transition: color 0.3s; }
.footer-contact a:hover { color: var(--gold); }
.footer-col-title { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream); margin-bottom: 20px; }
.footer-menu, .footer-links { list-style: none; }
.footer-menu li, .footer-links li { margin-bottom: 12px; }
.footer-menu a, .footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.3s; }
.footer-menu a:hover, .footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 30px; display: flex;
  justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 12px; color: var(--muted); font-family: 'Syne', sans-serif; letter-spacing: 0.05em; }
.footer-socials { display: flex; gap: 20px; }
.footer-socials a { font-size: 12px; font-family: 'Syne', sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.3s; }
.footer-socials a:hover { color: var(--gold); }

/* WordPress admin bar fix */
.admin-bar #site-navigation { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar #site-navigation { top: 46px; } }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { padding: 60px 80px; text-align: center; }
.pagination .page-numbers {
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  padding: 10px 18px; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px; margin: 0 4px; transition: all 0.3s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { color: var(--gold); border-color: rgba(201,168,76,0.3); }

/* ============================================================
   RESPONSIVE
/* ============================================================
   FINAL RESPONSIVE FIX (HP MODE)
   ============================================================ */
@media screen and (max-width: 1024px) {
  
  /* 1. Reset Layout Dasar */
  html, body { overflow-x: hidden !important; width: 100% !important; }

  /* 2. Header & Hamburger */
  #site-navigation { 
    padding: 15px 20px !important; 
    background: #0a0a08 !important; 
    position: fixed !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .nav-cta { display: none !important; }
  .nav-toggle { display: flex !important; z-index: 9999 !important; }
  .nav-toggle span { background: #c9a84c !important; }

  /* 3. Hero Section - Foto di Atas, Teks di Bawah */
  .hero { 
    display: flex !important; 
    flex-direction: column-reverse !important; 
    height: auto !important; 
    padding-top: 80px !important;
  }
  .hero-right { width: 100% !important; height: 350px !important; }
  .hero-img-wrap { clip-path: none !important; position: relative !important; height: 100% !important; }
  .hero-left { width: 100% !important; padding: 40px 20px !important; text-align: center; }
  .hero-title { font-size: 38px !important; }

  /* 4. About, Services, & Projects - Paksa 1 Kolom */
  .about, .services, .projects { padding: 60px 24px !important; display: block !important; }
  
  .services-grid, .projects-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .about { grid-template-columns: 1fr !important; }
  .about-right { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }

  .project-card.featured { grid-column: span 1 !important; aspect-ratio: 4/3 !important; }

  /* 5. Mobile Menu */
  #primary-menu {
    display: none;
    flex-direction: column !important;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #111110 !important;
    padding: 20px !important;
    z-index: 9998 !important;
    border-bottom: 2px solid #c9a84c;
  }
  #primary-menu.open { display: flex !important; }

  /* 6. Footer Fix */
  #site-footer { padding: 40px 24px !important; }
  .footer-grid { display: flex !important; flex-direction: column !important; gap: 40px !important; }
  .footer-tagline { max-width: 100% !important; }
  .footer-bottom { flex-direction: column !important; gap: 20px; text-align: center; }
  .footer-socials { justify-content: center; }
  
  @media screen and (max-width: 1024px) {
  
  /* ... kode yang sudah kita buat tadi (Header, Hero, Services, dll) ... */

  /* Paste kodenya di sini, sebelum tanda kurung penutup paling akhir */
  .process-steps {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .process-step {
    width: 100% !important;
    padding: 30px 24px !important;
    border-bottom: 1px solid rgba(201,168,76,0.1);
  }

  .process-step::after {
    display: none !important;
  }

/* --- FIX TAMPILAN BLOG (INSIGHT) DI HP --- */
  
  .page-banner {
    padding: 100px 20px 40px !important; /* Kurangi padding atas agar tidak terlalu turun */
    text-align: center;
  }
  
  .page-banner-title {
    font-size: 32px !important; /* Kecilkan judul blog di HP */
    line-height: 1.2 !important;
  }

  .blog-grid {
    display: flex !important;
    flex-direction: column !important; /* Paksa artikel berderet ke bawah */
    padding: 20px !important;
    gap: 30px !important;
  }

  .post-card {
    background: var(--bg3);
    border-radius: 4px;
    overflow: hidden;
  }

  .post-card-body {
    padding: 20px !important;
  }

  .post-card-title {
    font-size: 18px !important; /* Judul artikel lebih pas di layar HP */
    margin-bottom: 10px !important;
  }

  .post-card-excerpt p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--muted);
  }

  /* Perbaikan Gambar Artikel di HP */
  .post-card-thumb {
    aspect-ratio: 16/9;
    width: 100% !important;
  }

  .post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Pagination (Nomor Halaman) */
  .pagination {
    padding: 40px 20px !important;
  }
  .pagination .page-numbers {
    padding: 8px 12px !important;
    font-size: 12px !important;
  }
  
  /* --- FIX TAMPILAN ISI ARTIKEL (SINGLE POST) --- */
  
  .single-post {
    padding: 100px 20px 60px !important; /* Padding kanan-kiri pas buat HP */
  }

  .single-post h1 {
    font-size: 28px !important; /* Biar judul artikel nggak pecah per kata */
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
    color: var(--cream) !important;
  }

  /* Warna teks isi artikel agar lebih kontras */
  .entry-content p, .single-post p {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #e0e0e0 !important; /* Putih keabuan yang lebih terang dari sebelumnya */
    margin-bottom: 20px !important;
  }

  .single-post img {
    width: calc(100% + 40px) !important; /* Gambar sedikit meluap biar dramatis */
    margin-left: -20px !important;
    border-radius: 0 !important;
  }

  /* Aksen Gold di dalam artikel */
  .single-post strong {
    color: var(--gold) !important;
  }
  
  /* --- SUB-MENU / DROPDOWN CUSTOM --- */

/* Desktop Mode */
@media screen and (min-width: 1025px) {
  #primary-menu li { position: relative; }
  
  #primary-menu .sub-menu {
    position: absolute;
    top: 100%; left: 0;
    background: #111110;
    min-width: 220px;
    padding: 15px 0;
    border: 1px solid rgba(201,168,76,0.2);
    display: none; /* Sembunyikan dulu */
    z-index: 999;
  }

  #primary-menu li:hover > .sub-menu {
    display: block; /* Tampilkan saat di-hover */
    animation: fadeIn 0.3s ease;
  }

  #primary-menu .sub-menu a {
    padding: 10px 20px;
    display: block;
    text-transform: none; /* Biar lebih elegan tidak uppercase semua */
    font-size: 13px;
    letter-spacing: 0.05em;
  }
}

/* Mobile Mode (Tumpuk di bawah menu utama) */
@media screen and (max-width: 1024px) {
  #primary-menu .sub-menu {
    padding-left: 20px !important;
    background: rgba(255,255,255,0.03) !important;
    display: block !important; /* Di HP langsung tampilkan di bawahnya */
  }
  
  #primary-menu .sub-menu a {
    font-size: 12px !important;
    color: var(--muted) !important;
    padding: 8px 0 !important;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

} /* <--- Ini adalah kurung penutup media query yang paling akhir */