/* ============================================================
   DNA 私董會 - Main Stylesheet
   Director Networking Alliance | Since 2014
   Black & Gold Theme
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dark: #9a7a2e;
  --black: #0a0a0a;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --dark-3: #222222;
  --white: #ffffff;
  --text-light: #e0d5c0;
  --text-muted: #999999;
  --red: #c0392b;
  --font-serif: 'Noto Serif TC', 'Georgia', serif;
  --font-sans: 'Noto Sans TC', 'Arial', sans-serif;
  --font-display: 'Cinzel', serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 20px rgba(201,168,76,0.3);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--black);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--gold);
  line-height: 1.3;
  margin-bottom: 1rem;
}

p { margin-bottom: 1rem; color: var(--text-light); }

ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: var(--transition);
}

#site-header.scrolled {
  background: rgba(10,10,10,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  padding: 0 32px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 70px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
}

.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}
.logo-sub {
  font-family: var(--font-display);
  font-size: 0.55rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Primary Navigation */
#primary-nav { display: flex; align-items: center; }

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
  gap: 4px;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.03em;
  border-radius: 4px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-page-ancestor > a {
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 6px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  box-shadow: var(--shadow);
  z-index: 100;
}

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

.nav-menu .sub-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.85rem;
  color: var(--text-light);
  transition: var(--transition);
}

.nav-menu .sub-menu li a:hover {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
  padding-left: 24px;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

/* ============================================================
   HERO SECTION - FULL WIDTH BANNER
   ============================================================ */
#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--black);
  margin-top: 0;
  padding-top: 90px; /* header height */
}

/* Full-width background image */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Dark overlay on top of image */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.45) 40%,
    rgba(0,0,0,0.75) 100%
  );
  z-index: 1;
}

/* Particle canvas */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 60px 24px;
  max-width: 900px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(201,168,76,0.6);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  padding: 8px 24px;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.hero-title .highlight {
  color: var(--gold);
  text-shadow: 0 0 30px rgba(201,168,76,0.5);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--gold-light);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 0.95rem;
  color: rgba(224,213,192,0.85);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--black);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  color: var(--black);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: rgba(201,168,76,0.15);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 22px; font-size: 0.82rem; }
.btn-lg { padding: 18px 42px; font-size: 1rem; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: linear-gradient(90deg, var(--dark-2), var(--dark-3), var(--dark-2));
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 28px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid rgba(201,168,76,0.15);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 56px; }

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--gold);
  margin-bottom: 16px;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 16px auto;
}

.section-desc {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Dark / Light alternating sections */
.section-dark { background: var(--black); }
.section-darker { background: var(--dark-2); }
.section-gold-border {
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

/* ============================================================
   ABOUT SECTION (Homepage)
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content .lead {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 24px;
}

.about-values { margin-top: 32px; }

.value-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(201,168,76,0.05);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
}

.value-label {
  font-weight: 700;
  color: var(--gold);
  min-width: 40px;
  font-size: 0.85rem;
}

.value-text { font-size: 0.9rem; color: var(--text-light); }

/* Five Core Values Box */
.five-core-box {
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.five-core-title {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 24px;
  font-family: var(--font-display);
}

.core-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.core-item {
  text-align: center;
  padding: 16px 8px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  transition: var(--transition);
}

.core-item:hover {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.core-icon { font-size: 1.8rem; margin-bottom: 8px; }

.core-name {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}

.core-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.core-quote {
  text-align: center;
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.9rem;
  border-top: 1px solid rgba(201,168,76,0.2);
  padding-top: 16px;
}

/* ============================================================
   SERVICES / CORE VALUES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 10px;
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.service-title {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.service-link:hover { color: var(--gold-light); }

/* ============================================================
   SEVEN DOCKING CONCEPTS
   ============================================================ */
.docking-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.docking-item {
  text-align: center;
  padding: 24px 12px;
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 8px;
  transition: var(--transition);
}

.docking-item:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
  transform: translateY(-4px);
}

.docking-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: rgba(201,168,76,0.3);
  margin-bottom: 8px;
}

.docking-title {
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}

.docking-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.docking-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   MEMBER BENEFITS
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 8px;
  transition: var(--transition);
}

.benefit-item:hover {
  border-color: rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.05);
}

.benefit-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,76,0.1);
  border-radius: 8px;
}

.benefit-text h4 {
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.benefit-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   BLOG / KNOWLEDGE SECTION
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  border-color: rgba(201,168,76,0.35);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.blog-card-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--dark-3);
}

.blog-card-thumb-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.blog-card-body { padding: 24px; }

.blog-card-cat {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.blog-card-title {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-title a { color: var(--white); }
.blog-card-title a:hover { color: var(--gold); }

.blog-card-excerpt {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-card-read-more {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--dark-2) 0%, rgba(201,168,76,0.08) 50%, var(--dark-2) 100%);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 80px 0;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--gold);
  margin-bottom: 16px;
}

.cta-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.cta-info {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 60px 0 0;
}

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

.footer-brand .site-logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 6px;
  color: var(--gold);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.footer-col h4 {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

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

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

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contact-item i { color: var(--gold); width: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

/* ============================================================
   PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.06) 0%, transparent 70%);
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--gold);
  margin-bottom: 16px;
}

.page-hero-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   CONTENT PAGES
   ============================================================ */
.content-section { padding: 72px 0; }

.content-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.content-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.content-card {
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 10px;
  padding: 28px;
  transition: var(--transition);
}

.content-card:hover {
  border-color: rgba(201,168,76,0.35);
  box-shadow: var(--shadow-gold);
}

.content-card h3 {
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.content-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Comparison Table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
}

.compare-table th {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  padding: 14px 20px;
  text-align: left;
  font-size: 0.88rem;
  border: 1px solid rgba(201,168,76,0.2);
}

.compare-table td {
  padding: 12px 20px;
  border: 1px solid rgba(201,168,76,0.1);
  font-size: 0.85rem;
  color: var(--text-light);
}

.compare-table tr:nth-child(even) td { background: rgba(201,168,76,0.03); }
.compare-table tr:hover td { background: rgba(201,168,76,0.06); }

.check-yes { color: #4caf50; font-weight: 700; }
.check-no { color: var(--text-muted); }
.check-dna { color: var(--gold); font-weight: 700; }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 64px 0;
}

.blog-main { min-width: 0; }

.blog-sidebar { min-width: 0; }

.blog-featured {
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}

.blog-featured-thumb {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.blog-featured-body { padding: 32px; }

.blog-featured-title {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}

.blog-list { display: flex; flex-direction: column; gap: 24px; }

.blog-list-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.blog-list-item:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateX(4px);
}

.blog-list-thumb {
  width: 200px;
  height: 140px;
  object-fit: cover;
  background: var(--dark-3);
}

.blog-list-body { padding: 20px 20px 20px 0; }

/* Sidebar Widgets */
.widget {
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
}

.widget-title {
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.cat-list { list-style: none; padding: 0; }

.cat-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(201,168,76,0.06);
  font-size: 0.85rem;
}

.cat-list li a { color: var(--text-muted); }
.cat-list li a:hover { color: var(--gold); }
.cat-count {
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
}

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.tag-cloud a {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 4px 12px;
  border-radius: 20px;
  transition: var(--transition);
}

.tag-cloud a:hover {
  color: var(--gold);
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 64px 0;
}

.post-content {
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 12px;
  padding: 48px;
}

.post-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.3;
}

.post-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.post-meta span { display: flex; align-items: center; gap: 6px; }
.post-meta i { color: var(--gold); }

.post-body h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 16px; }
.post-body h3 { font-size: 1.2rem; margin-top: 32px; margin-bottom: 12px; }
.post-body p { color: var(--text-light); line-height: 1.9; margin-bottom: 1.2rem; }
.post-body ul, .post-body ol { color: var(--text-light); margin-bottom: 1.2rem; }
.post-body li { margin-bottom: 8px; }

.post-body blockquote {
  border-left: 3px solid var(--gold);
  margin: 28px 0;
  padding: 16px 24px;
  background: rgba(201,168,76,0.05);
  font-style: italic;
  color: var(--gold-light);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 0.88rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-info-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* Contact Form */
.contact-form .form-group { margin-bottom: 20px; }

.contact-form label {
  display: block;
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark-3);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 6px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  transition: var(--transition);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.pagination a:hover,
.pagination .current {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

#scroll-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 12px auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .docking-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .about-grid,
  .content-grid-2,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .services-grid,
  .benefits-grid,
  .blog-grid,
  .content-grid-3 { grid-template-columns: repeat(2, 1fr); }

  .blog-layout,
  .post-layout { grid-template-columns: 1fr; }

  .blog-sidebar { order: -1; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .core-items { grid-template-columns: repeat(3, 1fr); }

  .docking-grid { grid-template-columns: repeat(3, 1fr); }

  .blog-list-item { grid-template-columns: 160px 1fr; }
}

@media (max-width: 768px) {
  /* Mobile Navigation */
  #primary-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }

  #primary-nav.open { transform: translateX(0); }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-menu > li > a {
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(201,168,76,0.1);
    border-radius: 0;
  }

  .nav-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 16px;
    display: none;
  }

  .nav-menu li.open > .sub-menu { display: block; }

  .nav-toggle { display: flex; }

  /* Hero */
  #hero { min-height: 85vh; }
  .hero-title { font-size: 2.2rem; }

  /* Sections */
  .section { padding: 56px 0; }

  .services-grid,
  .benefits-grid,
  .blog-grid,
  .content-grid-3 { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .core-items { grid-template-columns: repeat(2, 1fr); }

  .docking-grid { grid-template-columns: repeat(2, 1fr); }

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

  .footer-bottom { flex-direction: column; text-align: center; }

  .blog-list-item { grid-template-columns: 1fr; }
  .blog-list-thumb { width: 100%; height: 180px; }

  .post-content { padding: 28px; }

  .header-inner { padding: 0 16px; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .core-items { grid-template-columns: repeat(2, 1fr); }
  .docking-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   HEADER LOGO RESPONSIVE OVERRIDES
   ============================================================ */

/* Desktop: logo text tightly beside logo image */
.site-logo {
  align-items: center;
}
.logo-text {
  line-height: 1.1;
}
.logo-name {
  white-space: nowrap;
}
.logo-sub {
  white-space: nowrap;
}

/* Tablet (max 1024px): slightly smaller logo */
@media (max-width: 1024px) {
  .site-logo img {
    height: 60px;
    max-width: 130px;
  }
  .logo-name {
    font-size: 1rem;
  }
  .logo-sub {
    font-size: 0.5rem;
  }
}

/* Mobile (max 768px): hide logo text, show image only, reduce header height */
@media (max-width: 768px) {
  .header-inner {
    height: 70px;
    padding: 0 16px;
  }
  .site-logo img {
    height: 54px;
    max-width: 110px;
  }
  .logo-text { display: none; }
}

/* Small mobile (max 480px) */
@media (max-width: 480px) {
  .header-inner {
    height: 60px;
  }
  .site-logo img {
    height: 46px;
    max-width: 95px;
  }
}

/* ============================================================
   DNA LOGO IMAGE - PRECISE SIZE CONTROL
   ============================================================ */

/* Desktop: Logo image controlled size */
img.dna-logo-img {
  object-fit: contain;
  display: block;
}

/* Tablet */
@media (max-width: 1024px) {
  img.dna-logo-img {
  }
}

/* Mobile: logo only, no text */
@media (max-width: 768px) {
  img.dna-logo-img {
  }
}

/* Small mobile */
@media (max-width: 480px) {
  img.dna-logo-img {
  }
}


/* ============================================================
   DNA LOGO IMAGE - PRECISE SIZE CONTROL
   ============================================================ */

img.dna-logo-img {
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  img.dna-logo-img {
  }
}

@media (max-width: 768px) {
  img.dna-logo-img {
  }
}

@media (max-width: 480px) {
  img.dna-logo-img {
  }
}

/* DNA LOGO PRECISE CONTROL */
img.dna-logo-img {
  height: 75px !important;
  width: auto !important;
  max-width: 150px !important;
  object-fit: contain;
  display: block;
}
@media (max-width: 1024px) {
  img.dna-logo-img {
    height: 65px !important;
    max-width: 130px !important;
  }
}
@media (max-width: 768px) {
  img.dna-logo-img {
    height: 55px !important;
    max-width: 110px !important;
  }
  .logo-text { display: none !important; }
}
@media (max-width: 480px) {
  img.dna-logo-img {
    height: 46px !important;
    max-width: 92px !important;
  }
}
