/*
Theme Name: Djasbro Developer
Theme URI: https://www.djasbrodigital.com/
Author: Djasbro Digital
Author URI: https://www.djasbrodigital.com/
Description: Professional WordPress theme for property developers and real estate companies. Clean, modern, SEO-optimized design inspired by leading Indonesian developers. Fully customizable colors, typography, and layout via dedicated Admin Panel + Customizer. Compatible with latest WordPress and PHP.
Version: 1.9.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: djasbro-developer
Tags: real-estate, property, developer, custom-menu, custom-logo, custom-colors, featured-images, theme-options, translation-ready, blog, portfolio, one-column, two-columns, three-columns, left-sidebar, right-sidebar, flexible-header, sticky-post
*/

/* =====================================================
   BASE RESET & VARIABLES
   ===================================================== */
:root {
  /* Colors matched to logo: navy text + gold accent underline */
  --dd-primary: #133150;
  --dd-secondary: #C9A227;
  --dd-accent: #0c2844;
  --dd-text: #1a1a1a;
  --dd-text-light: #555555;
  --dd-bg: #ffffff;
  --dd-bg-alt: #f5f7fa;
  --dd-border: #e5e7eb;
  --dd-success: #10b981;
  --dd-font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --dd-font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --dd-radius: 8px;
  --dd-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --dd-transition: all 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--dd-font-body);
  color: var(--dd-text);
  background-color: var(--dd-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--dd-primary);
  text-decoration: none;
  transition: var(--dd-transition);
}

a:hover {
  color: var(--dd-secondary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--dd-font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dd-primary);
  margin-bottom: 0.75em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1.25em;
  color: var(--dd-text-light);
}

ul, ol {
  margin-bottom: 1.25em;
  padding-left: 1.5em;
}

/* =====================================================
   CONTAINER & LAYOUT
   ===================================================== */
.dd-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.dd-section {
  padding: 80px 0;
}

.dd-section-alt {
  background-color: var(--dd-bg-alt);
}

.dd-section-title {
  text-align: center;
  margin-bottom: 48px;
}

.dd-section-title h2 {
  margin-bottom: 12px;
}

.dd-section-title p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* =====================================================
   HEADER
   ===================================================== */
.dd-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dd-border);
  transition: var(--dd-transition);
}

.dd-header.scrolled {
  box-shadow: var(--dd-shadow);
}

.dd-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.dd-logo img {
  max-height: 48px;
  width: auto;
}

.dd-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dd-primary);
  letter-spacing: -0.02em;
}

.dd-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.dd-nav > ul,
.dd-nav ul.menu {
  display: flex;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.dd-nav > ul > li,
.dd-nav ul.menu > li {
  position: relative;
  margin: 0;
}

.dd-nav > ul > li > a,
.dd-nav ul.menu > li > a {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dd-primary);
  padding: 10px 14px;
  position: relative;
  white-space: nowrap;
}

/* Gold underline for active / hover top-level */
.dd-nav > ul > li > a::after,
.dd-nav ul.menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  width: auto;
  height: 2px;
  background: var(--dd-secondary);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}

.dd-nav > ul > li:hover > a::after,
.dd-nav > ul > li.current-menu-item > a::after,
.dd-nav > ul > li.current-menu-ancestor > a::after,
.dd-nav ul.menu > li:hover > a::after,
.dd-nav ul.menu > li.current-menu-item > a::after,
.dd-nav ul.menu > li.current-menu-ancestor > a::after {
  transform: scaleX(1);
}

/* Dropdown sub-menu */
.dd-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(19, 49, 80, 0.15);
  border: 1px solid var(--dd-border);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.dd-nav li:hover > .sub-menu,
.dd-nav li.focus > .sub-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dd-nav .sub-menu li {
  margin: 0;
  width: 100%;
}

.dd-nav .sub-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dd-text);
  white-space: nowrap;
  border: none;
}

.dd-nav .sub-menu a::after {
  display: none !important;
}

.dd-nav .sub-menu a:hover {
  background: var(--dd-bg-alt);
  color: var(--dd-primary);
}

/* Nested deeper levels */
.dd-nav .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 2px;
}

.dd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--dd-radius);
  border: none;
  cursor: pointer;
  transition: var(--dd-transition);
  text-decoration: none;
}

.dd-btn-primary {
  background: var(--dd-primary);
  color: #fff;
}

.dd-btn-primary:hover {
  background: var(--dd-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.25);
}

.dd-btn-secondary {
  background: var(--dd-secondary);
  color: #fff;
}

.dd-btn-secondary:hover {
  background: #b08d1f;
  color: #fff;
}

.dd-btn-outline {
  background: transparent;
  border: 2px solid var(--dd-primary);
  color: var(--dd-primary);
}

.dd-btn-outline:hover {
  background: var(--dd-primary);
  color: #fff;
}

.dd-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.dd-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dd-primary);
  margin: 5px 0;
  transition: var(--dd-transition);
}

/* =====================================================
   HERO
   ===================================================== */
.dd-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dd-primary) 0%, var(--dd-accent) 100%);
  color: #fff;
  overflow: hidden;
}

.dd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
  background-size: 40px 40px;
  opacity: 0.5;
}

.dd-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.dd-hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(201, 162, 39, 0.2);
  border: 1px solid var(--dd-secondary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dd-secondary);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dd-hero h1 {
  color: #fff;
  margin-bottom: 20px;
}

.dd-hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}

.dd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* =====================================================
   PROJECTS / TOWNSHIPS
   ===================================================== */
.dd-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.dd-project-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--dd-shadow);
  transition: var(--dd-transition);
}

.dd-project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.dd-project-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.dd-project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dd-project-card:hover .dd-project-card-image img {
  transform: scale(1.05);
}

.dd-project-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--dd-secondary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dd-project-card-body {
  padding: 24px;
}

.dd-project-card-location {
  font-size: 0.85rem;
  color: var(--dd-secondary);
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dd-project-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.dd-project-card p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* =====================================================
   AWARDS / VALUES
   ===================================================== */
.dd-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.dd-value-card {
  text-align: center;
  padding: 40px 28px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--dd-border);
  transition: var(--dd-transition);
}

.dd-value-card:hover {
  border-color: var(--dd-secondary);
  box-shadow: var(--dd-shadow);
}

.dd-value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--dd-primary), var(--dd-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

/* =====================================================
   NEWS / BLOG
   ===================================================== */
.dd-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.dd-news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--dd-border);
  transition: var(--dd-transition);
}

.dd-news-card:hover {
  box-shadow: var(--dd-shadow);
}

.dd-news-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.dd-news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dd-news-card-body {
  padding: 24px;
}

.dd-news-date {
  font-size: 0.8rem;
  color: var(--dd-secondary);
  font-weight: 600;
  margin-bottom: 8px;
}

.dd-news-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.dd-news-card h3 a {
  color: var(--dd-primary);
}

.dd-news-card h3 a:hover {
  color: var(--dd-secondary);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.dd-cta {
  background: linear-gradient(135deg, var(--dd-primary) 0%, var(--dd-accent) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
  border-radius: 16px;
  margin: 0 24px;
}

.dd-cta h2 {
  color: #fff;
  margin-bottom: 16px;
}

.dd-cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.125rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.dd-footer {
  background: var(--dd-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 32px;
}

.dd-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.dd-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dd-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.dd-footer a:hover {
  color: var(--dd-secondary);
}

.dd-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dd-footer li {
  margin-bottom: 10px;
}

.dd-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

.dd-footer-credit a {
  color: var(--dd-secondary);
  font-weight: 600;
}

/* =====================================================
   SINGLE / PAGE CONTENT
   ===================================================== */
.dd-content {
  padding: 60px 0;
}

.dd-content .entry-header {
  margin-bottom: 32px;
}

.dd-content .entry-title {
  margin-bottom: 12px;
}

.dd-content .entry-meta {
  font-size: 0.9rem;
  color: var(--dd-text-light);
}

.dd-content .entry-content {
  max-width: 800px;
}

.dd-content .entry-content h2,
.dd-content .entry-content h3 {
  margin-top: 1.75em;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 992px) {
  .dd-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .dd-nav > ul,
  .dd-nav ul.menu {
    display: none;
  }

  .dd-menu-toggle {
    display: block;
  }

  .dd-nav.active > ul,
  .dd-nav.active ul.menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 0;
    box-shadow: var(--dd-shadow);
    gap: 0;
    border-top: 1px solid var(--dd-border);
    z-index: 999;
  }

  .dd-nav.active > ul > li,
  .dd-nav.active ul.menu > li {
    width: 100%;
    border-bottom: 1px solid var(--dd-border);
  }

  .dd-nav.active > ul > li > a,
  .dd-nav.active ul.menu > li > a {
    padding: 14px 24px;
  }

  /* Mobile submenu always visible when parent open */
  .dd-nav.active .sub-menu {
    display: block;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 8px 16px;
    background: var(--dd-bg-alt);
    min-width: 100%;
  }

  .dd-nav.active .sub-menu a {
    padding: 10px 24px;
    font-size: 0.9rem;
  }

  .dd-header-inner {
    height: 70px;
  }

  .dd-section {
    padding: 56px 0;
  }

  .dd-hero {
    min-height: 70vh;
  }

  .dd-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .dd-cta {
    margin: 0 16px;
    padding: 56px 20px;
  }
}

/* =====================================================
   ACCESSIBILITY & SEO HELPERS
   ===================================================== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--dd-primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
}

.skip-link:focus {
  top: 0;
}

/* =====================================================
   HERO BANNER + EXTRA RESPONSIVE
   ===================================================== */
.dd-hero-has-banner {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.dd-btn-hero-outline {
  border-color: #fff !important;
  color: #fff !important;
}
.dd-btn-hero-outline:hover {
  background: #fff !important;
  color: var(--dd-primary) !important;
}

.dd-section-cta {
  text-align: center;
  margin-top: 48px;
}

.dd-empty-msg {
  text-align: center;
  grid-column: 1 / -1;
  color: var(--dd-text-light);
  padding: 24px;
}

/* Extra small phones */
@media (max-width: 480px) {
  .dd-container {
    padding: 0 16px;
  }

  .dd-hero {
    min-height: 60vh;
    padding: 48px 0;
  }

  .dd-hero h1 {
    font-size: 1.75rem;
  }

  .dd-hero p {
    font-size: 1rem;
  }

  .dd-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .dd-hero-actions .dd-btn {
    width: 100%;
    justify-content: center;
  }

  .dd-projects-grid,
  .dd-news-grid,
  .dd-values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dd-section {
    padding: 40px 0;
  }

  .dd-section-title h2 {
    font-size: 1.5rem;
  }

  .dd-cta {
    margin: 0 12px;
    padding: 40px 16px;
    border-radius: 12px;
  }

  .dd-cta h2 {
    font-size: 1.4rem;
  }

  .dd-logo-text {
    font-size: 1.15rem;
  }

  .dd-header-inner {
    height: 64px;
  }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 992px) {
  .dd-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dd-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dd-values-grid {
    grid-template-columns: 1fr;
  }
}

/* Large desktop */
@media (min-width: 1400px) {
  .dd-container {
    max-width: 1320px;
  }
}

/* Touch devices: larger tap targets */
@media (hover: none) and (pointer: coarse) {
  .dd-nav > ul > li > a,
  .dd-nav ul.menu > li > a {
    padding: 14px 16px;
  }
  .dd-btn {
    min-height: 48px;
    padding: 14px 24px;
  }
}

/* =====================================================
   PROJECT CARD (Paramount-style)
   ===================================================== */
.dd-project-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(19, 49, 80, 0.1);
  transition: var(--dd-transition);
  height: 100%;
}

.dd-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(19, 49, 80, 0.16);
}

.dd-project-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--dd-primary);
}

.dd-project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dd-project-card:hover .dd-project-card-image img {
  transform: scale(1.06);
}

.dd-project-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--dd-secondary);
  color: #fff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
}

.dd-project-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dd-project-card-title {
  font-size: 1.15rem;
  margin: 0 0 8px;
  line-height: 1.3;
}

.dd-project-card-title a {
  color: var(--dd-primary);
}

.dd-project-card-title a:hover {
  color: var(--dd-secondary);
}

.dd-project-card-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  color: var(--dd-text-light);
  margin-bottom: 12px;
}

.dd-pin {
  font-size: 0.9rem;
}

.dd-project-card-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.dd-project-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dd-price-note {
  font-size: 0.72rem;
  color: var(--dd-text-light);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dd-project-price strong {
  font-size: 1.2rem;
  color: var(--dd-primary);
  font-weight: 800;
}

.dd-project-dp {
  display: inline-block;
  background: rgba(201, 162, 39, 0.15);
  color: #9a7b1a;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}

.dd-project-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-size: 0.85rem;
  color: var(--dd-text-light);
}

.dd-project-specs li {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dd-spec-label {
  font-weight: 700;
  color: var(--dd-primary);
  font-size: 0.75rem;
  background: var(--dd-bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
}

.dd-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.dd-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dd-primary);
  background: var(--dd-bg-alt);
  border: 1px solid var(--dd-border);
  padding: 3px 10px;
  border-radius: 50px;
}

.dd-project-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* Single project detail specs */
.dd-project-detail-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.dd-spec-box {
  background: var(--dd-bg-alt);
  border: 1px solid var(--dd-border);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
}

.dd-spec-box-label {
  display: block;
  font-size: 0.75rem;
  color: var(--dd-text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.dd-spec-box strong {
  font-size: 1.15rem;
  color: var(--dd-primary);
}

@media (max-width: 480px) {
  .dd-project-card-body {
    padding: 16px;
  }
  .dd-project-price strong {
    font-size: 1.05rem;
  }
  .dd-project-detail-specs {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====================================================
   HEADER ACTIONS (theme + lang)
   ===================================================== */
.dd-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dd-theme-toggle {
  background: var(--dd-bg-alt);
  border: 1px solid var(--dd-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--dd-transition);
  padding: 0;
}

.dd-theme-toggle:hover {
  border-color: var(--dd-secondary);
}

html[data-theme="light"] .dd-theme-icon-dark { display: inline; }
html[data-theme="light"] .dd-theme-icon-light { display: none; }
html[data-theme="dark"] .dd-theme-icon-dark { display: none; }
html[data-theme="dark"] .dd-theme-icon-light { display: inline; }

.dd-lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.dd-lang-switch a,
.dd-lang-link {
  color: var(--dd-primary);
  text-decoration: none;
}

.dd-lang-switch .active a,
.dd-lang-switch a:hover {
  color: var(--dd-secondary);
}

.dd-lang-list {
  display: flex;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
}

/* =====================================================
   DARK MODE
   ===================================================== */
html[data-theme="dark"] {
  --dd-primary: #e8eef5;
  --dd-secondary: #d4b84a;
  --dd-accent: #8ba3c0;
  --dd-text: #e8eef5;
  --dd-text-light: #a8b5c4;
  --dd-bg: #0d1b2a;
  --dd-bg-alt: #132337;
  --dd-border: #243447;
  --dd-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] body {
  background: var(--dd-bg);
  color: var(--dd-text);
}

html[data-theme="dark"] .dd-header {
  background: rgba(13, 27, 42, 0.95);
  border-bottom-color: var(--dd-border);
}

html[data-theme="dark"] .dd-nav > ul > li > a,
html[data-theme="dark"] .dd-nav ul.menu > li > a,
html[data-theme="dark"] .dd-logo-text {
  color: var(--dd-text);
}

html[data-theme="dark"] .dd-nav .sub-menu {
  background: var(--dd-bg-alt);
  border-color: var(--dd-border);
}

html[data-theme="dark"] .dd-nav .sub-menu a {
  color: var(--dd-text);
}

html[data-theme="dark"] .dd-nav .sub-menu a:hover {
  background: var(--dd-bg);
}

html[data-theme="dark"] .dd-project-card,
html[data-theme="dark"] .dd-news-card,
html[data-theme="dark"] .dd-value-card,
html[data-theme="dark"] .dd-about-card,
html[data-theme="dark"] .dd-spec-box {
  background: var(--dd-bg-alt);
  border-color: var(--dd-border);
}

html[data-theme="dark"] .dd-project-card-title a,
html[data-theme="dark"] .dd-news-card h3 a,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4 {
  color: var(--dd-text);
}

html[data-theme="dark"] .dd-btn-outline {
  border-color: var(--dd-secondary);
  color: var(--dd-secondary);
}

html[data-theme="dark"] .dd-btn-outline:hover {
  background: var(--dd-secondary);
  color: #0d1b2a;
}

html[data-theme="dark"] .dd-btn-primary {
  background: var(--dd-secondary);
  color: #0d1b2a;
}

html[data-theme="dark"] .dd-footer {
  background: #081018;
}

html[data-theme="dark"] .dd-tag {
  background: var(--dd-bg);
  border-color: var(--dd-border);
  color: var(--dd-text);
}

html[data-theme="dark"] .dd-project-dp {
  background: rgba(212, 184, 74, 0.2);
  color: var(--dd-secondary);
}

html[data-theme="dark"] .dd-menu-toggle span {
  background: var(--dd-text);
}

html[data-theme="dark"] .dd-nav.active > ul,
html[data-theme="dark"] .dd-nav.active ul.menu {
  background: var(--dd-bg-alt);
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.dd-about-hero {
  min-height: 42vh;
}

.dd-about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.dd-about-content {
  max-width: none;
}

.dd-about-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.dd-about-image img {
  width: 100%;
  height: auto;
}

.dd-about-card {
  background: var(--dd-bg-alt);
  border: 1px solid var(--dd-border);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 16px;
}

.dd-about-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: var(--dd-secondary);
}

.dd-about-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.dd-pagination {
  margin-top: 40px;
  text-align: center;
}

.dd-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  margin: 0 4px;
  border-radius: 8px;
  border: 1px solid var(--dd-border);
  color: var(--dd-primary);
  font-weight: 600;
  text-decoration: none;
}

.dd-pagination .page-numbers.current,
.dd-pagination .page-numbers:hover {
  background: var(--dd-primary);
  color: #fff;
  border-color: var(--dd-primary);
}

html[data-theme="dark"] .dd-pagination .page-numbers {
  color: var(--dd-text);
}

html[data-theme="dark"] .dd-pagination .page-numbers.current {
  background: var(--dd-secondary);
  color: #0d1b2a;
  border-color: var(--dd-secondary);
}

@media (max-width: 768px) {
  .dd-about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Ad slots */
.dd-ad-slot {
  margin: 28px 0;
  text-align: center;
  clear: both;
  overflow: hidden;
}
.dd-ad-slot ins,
.dd-ad-slot iframe {
  max-width: 100%;
}

/* =====================================================
   NEWS ARCHIVE — featured + grid
   ===================================================== */
.dd-news-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
  background: var(--dd-bg-alt);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--dd-border);
}

.dd-news-featured-image {
  position: relative;
  min-height: 280px;
}

.dd-news-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
}

.dd-news-featured-cat,
.dd-news-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--dd-secondary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 6px;
  z-index: 2;
}

.dd-news-featured-body {
  padding: 28px 28px 28px 0;
}

.dd-news-featured-body h2 {
  font-size: 1.6rem;
  margin: 8px 0 14px;
  line-height: 1.3;
}

.dd-news-featured-body h2 a {
  color: var(--dd-primary);
}

.dd-news-featured-body h2 a:hover {
  color: var(--dd-secondary);
}

.dd-news-grid-archive {
  margin-top: 8px;
}

/* =====================================================
   SINGLE ARTICLE — news style
   ===================================================== */
.dd-article-hero {
  background: linear-gradient(135deg, var(--dd-primary) 0%, var(--dd-accent, #0c2844) 100%);
  color: #fff;
  padding: 48px 0 40px;
}

.dd-article-hero-inner {
  max-width: 800px;
}

.dd-article-breadcrumb {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.dd-article-breadcrumb a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.dd-article-breadcrumb a:hover {
  border-bottom-color: var(--dd-secondary);
}

.dd-article-cat {
  display: inline-block;
  background: var(--dd-secondary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.dd-article-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.25;
  margin: 0 0 16px;
  color: #fff;
}

.dd-article-meta {
  font-size: 0.9rem;
  opacity: 0.9;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.dd-article-dot {
  opacity: 0.6;
}

.dd-article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 60px;
  align-items: start;
}

.dd-article-featured {
  margin: 0 0 32px;
  border-radius: 12px;
  overflow: hidden;
}

.dd-article-featured img {
  width: 100%;
  height: auto;
  display: block;
}

.dd-article-featured figcaption {
  font-size: 0.85rem;
  color: var(--dd-text-light);
  padding: 10px 4px 0;
  font-style: italic;
}

.dd-article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 720px;
}

.dd-article-content p {
  margin-bottom: 1.25em;
}

.dd-article-content h2,
.dd-article-content h3 {
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  color: var(--dd-primary);
}

.dd-article-content img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}

.dd-article-content blockquote {
  border-left: 4px solid var(--dd-secondary);
  margin: 1.5em 0;
  padding: 12px 20px;
  background: var(--dd-bg-alt);
  font-style: italic;
}

.dd-article-tags {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--dd-border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.dd-article-tags .dd-tags-label {
  font-weight: 700;
  margin-right: 4px;
}

.dd-article-tags a {
  font-size: 0.8rem;
  background: var(--dd-bg-alt);
  border: 1px solid var(--dd-border);
  padding: 4px 12px;
  border-radius: 50px;
  color: var(--dd-primary);
  text-decoration: none;
}

.dd-article-tags a:hover {
  border-color: var(--dd-secondary);
  color: var(--dd-secondary);
}

.dd-article-share {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.dd-share-btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--dd-bg-alt);
  border: 1px solid var(--dd-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dd-primary);
  text-decoration: none;
}

.dd-share-btn:hover {
  border-color: var(--dd-secondary);
  color: var(--dd-secondary);
}

.dd-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--dd-border);
}

.dd-post-nav a {
  text-decoration: none;
  color: var(--dd-primary);
  padding: 16px;
  border-radius: 10px;
  background: var(--dd-bg-alt);
  border: 1px solid var(--dd-border);
  transition: var(--dd-transition);
}

.dd-post-nav a:hover {
  border-color: var(--dd-secondary);
}

.dd-post-nav span {
  display: block;
  font-size: 0.8rem;
  color: var(--dd-text-light);
  margin-bottom: 4px;
}

.dd-post-nav strong {
  font-size: 0.95rem;
  line-height: 1.35;
}

.dd-post-nav-next {
  text-align: right;
}

/* Sidebar */
.dd-sidebar-box {
  background: var(--dd-bg-alt);
  border: 1px solid var(--dd-border);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 20px;
}

.dd-sidebar-box h3 {
  margin: 0 0 16px;
  font-size: 1.05rem;
  color: var(--dd-primary);
}

.dd-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dd-related-list li {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--dd-border);
}

.dd-related-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.dd-related-list a {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.dd-related-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
}

.dd-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dd-related-body strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--dd-primary);
  margin-bottom: 4px;
}

.dd-related-body em {
  font-size: 0.78rem;
  color: var(--dd-text-light);
  font-style: normal;
}

.dd-sidebar-cta p {
  font-size: 0.9rem;
  margin-bottom: 14px;
}

html[data-theme="dark"] .dd-article-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #132337 100%);
}

html[data-theme="dark"] .dd-news-featured,
html[data-theme="dark"] .dd-sidebar-box {
  background: var(--dd-bg-alt);
}

html[data-theme="dark"] .dd-article-title,
html[data-theme="dark"] .dd-news-featured-body h2 a {
  color: var(--dd-text);
}

@media (max-width: 900px) {
  .dd-news-featured {
    grid-template-columns: 1fr;
  }
  .dd-news-featured-body {
    padding: 20px 22px 24px;
  }
  .dd-article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .dd-post-nav {
    grid-template-columns: 1fr;
  }
  .dd-post-nav-next {
    text-align: left;
  }
}

/* =====================================================
   ABOUT PAGE — Paramount-style
   ===================================================== */
.dd-about-hero {
  min-height: 48vh;
}

.dd-about-intro-inner {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.85;
}

.dd-about-intro-inner p {
  margin-bottom: 1.25em;
}

.dd-about-intro-inner h2,
.dd-about-intro-inner h3 {
  color: var(--dd-primary);
  margin-top: 1.5em;
}

.dd-about-vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.dd-about-vm-card {
  background: var(--dd-bg);
  border: 1px solid var(--dd-border);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: var(--dd-shadow);
}

.dd-about-vm-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dd-secondary);
  margin-bottom: 8px;
}

.dd-about-vm-card h2 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  color: var(--dd-primary);
}

.dd-about-vm-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--dd-text);
}

.dd-about-vm-en {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--dd-border);
  font-size: 0.95rem;
  color: var(--dd-text-light);
  font-style: italic;
  line-height: 1.7;
}

.dd-mission-list {
  margin: 0;
  padding-left: 1.2em;
}

.dd-mission-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.dd-about-stats {
  background: var(--dd-primary);
  color: #fff;
  padding: 48px 0;
}

.dd-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.dd-stat-item strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--dd-secondary);
  line-height: 1.1;
  margin-bottom: 8px;
}

.dd-stat-item span {
  font-size: 0.95rem;
  opacity: 0.9;
}

.dd-credentials-content {
  max-width: 900px;
  margin: 0 auto;
}

.dd-credentials-content ul {
  margin-bottom: 1.5em;
}

html[data-theme="dark"] .dd-about-vm-card {
  background: var(--dd-bg-alt);
}

html[data-theme="dark"] .dd-about-stats {
  background: #081018;
}

@media (max-width: 768px) {
  .dd-about-vm-grid {
    grid-template-columns: 1fr;
  }
  .dd-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }
  .dd-about-vm-card {
    padding: 24px 20px;
  }
}

/* Berita vs Artikel badges */
.dd-badge-berita,
.dd-news-card-cat.dd-badge-berita,
.dd-news-featured-cat.dd-badge-berita {
  background: #133150 !important;
  color: #fff !important;
}
.dd-badge-artikel,
.dd-news-card-cat.dd-badge-artikel,
.dd-news-featured-cat.dd-badge-artikel {
  background: #C9A227 !important;
  color: #133150 !important;
}
