/* ═══════════════════════════════════════════════════════════════
   CD RESTOP Corporate — cdrestop.com
   Premium dark theme with gold accents
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy: #0F2847;
  --navy-deep: #060E1A;
  --gold: #C8973E;
  --gold-light: #D4A94E;
  --gold-dark: #A67C2E;
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(200,151,62,0.15);
  --text: rgba(255,255,255,0.9);
  --text-secondary: rgba(255,255,255,0.7);
  --text-muted: rgba(255,255,255,0.5);
  --font-serif: 'DM Serif Display', serif;
  --font-sans: 'DM Sans', sans-serif;
  --r: 8px;
  --r-lg: 16px;
  --r-xl: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--navy-deep);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent; transition: all 0.4s;
}
.nav.scrolled {
  background: rgba(6,14,26,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; gap: 2px; }
.logo-text { font-family: var(--font-serif); font-size: 1.4rem; color: var(--gold); letter-spacing: 1px; }
.logo-sub { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 0.88rem; font-weight: 500; color: var(--text-secondary); transition: color 0.3s; }
.nav-links a:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; color: var(--gold); font-size: 1.5rem; cursor: pointer; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center; padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(170deg, var(--navy-deep) 0%, var(--navy) 40%, #15375E 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(200,151,62,0.08), transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(200,151,62,0.05), transparent 50%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-badge {
  display: inline-block; font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(200,151,62,0.4); padding: 6px 20px;
  border-radius: 30px; margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400; line-height: 1.2; margin-bottom: 24px; color: #fff;
}
.hero-desc {
  font-size: 1.05rem; color: var(--text-secondary); max-width: 620px;
  margin: 0 auto 40px; line-height: 1.8;
}
.hero-stats {
  display: flex; justify-content: center; gap: 48px; margin-bottom: 40px;
}
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-serif); font-size: 2rem; color: var(--gold); }
.stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--r); font-size: 0.9rem;
  font-weight: 600; cursor: pointer; transition: all 0.3s; border: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff; box-shadow: 0 4px 20px rgba(200,151,62,0.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(200,151,62,0.4); color: #fff; }
.btn-outline {
  background: transparent; border: 1px solid var(--glass-border);
  color: var(--text-secondary);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline.light { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); }
.btn-outline.light:hover { border-color: var(--gold); color: var(--gold); }
.hero-actions { display: flex; gap: 16px; justify-content: center; }

/* ── Sections ────────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-dark { background: rgba(0,0,0,0.3); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header.light h2, .section-header.light .section-badge { color: #fff; }
.section-badge {
  display: inline-block; font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff; margin-bottom: 16px;
}
.section-line {
  width: 60px; height: 3px; margin: 0 auto;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 2px;
}

/* ── Grids ───────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── Cards ───────────────────────────────────────────────────── */
.info-card, .eco-card, .value-card, .partner-group {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-lg); padding: 32px;
  backdrop-filter: blur(16px); transition: all 0.4s;
}
.info-card:hover, .eco-card:hover { border-color: rgba(200,151,62,0.35); transform: translateY(-4px); }

.info-card h3, .eco-card h4 { font-family: var(--font-serif); color: var(--gold); margin-bottom: 16px; }
.info-card.highlight { border-color: rgba(200,151,62,0.25); background: rgba(200,151,62,0.05); }
.info-card p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.info-list { list-style: none; }
.info-list li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04); color: var(--text-secondary); }
.info-list li strong { color: var(--text); }

.eco-icon { font-size: 2rem; margin-bottom: 12px; }
.eco-card p { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 12px; }
.eco-link { font-size: 0.82rem; font-weight: 600; color: var(--gold); }

.value-card { text-align: center; padding: 28px 20px; }
.value-icon { font-size: 2.2rem; margin-bottom: 12px; }
.value-card h4 { font-size: 0.85rem; letter-spacing: 2px; color: var(--gold); margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--text-muted); }

.partner-group h4 { font-family: var(--font-serif); color: var(--gold); margin-bottom: 16px; font-size: 1.1rem; }
.partner-group ul { list-style: none; }
.partner-group ul li { padding: 8px 0; color: var(--text-secondary); font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.03); }

/* ── Quote ───────────────────────────────────────────────────── */
.section-quote { background: linear-gradient(135deg, rgba(200,151,62,0.05), rgba(15,40,71,0.3)); }
.ceo-quote {
  max-width: 700px; margin: 0 auto; text-align: center;
  border: none; padding: 0;
}
.ceo-quote p {
  font-family: var(--font-serif); font-size: 1.3rem; font-style: italic;
  color: var(--text); line-height: 1.8; margin-bottom: 20px;
}
.ceo-quote footer { font-size: 0.88rem; color: var(--gold); }

/* ── CTA ─────────────────────────────────────────────────────── */
.section-cta {
  text-align: center; padding: 80px 24px;
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.section-cta h2 { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 16px; }
.section-cta p { color: var(--text-secondary); margin-bottom: 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  padding: 64px 0 32px; border-top: 1px solid var(--glass-border);
  background: rgba(0,0,0,0.4);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { font-family: var(--font-serif); color: var(--gold); font-size: 1.3rem; margin-bottom: 8px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }
.footer-addr { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.footer-links h4 { font-family: var(--font-serif); color: var(--gold); font-size: 0.95rem; margin-bottom: 16px; }
.footer-links a { display: block; color: var(--text-muted); font-size: 0.88rem; padding: 4px 0; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.04); font-size: 0.82rem; color: var(--text-muted); }
.footer-bottom a { color: var(--gold); }

/* ── Utilities ───────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(6,14,26,0.98); flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid var(--glass-border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
}

/* ═══ PAGE HERO (sub-pages) ═══════════════════════════════════ */
.page-hero {
  min-height: 40vh; display: flex; align-items: flex-end; justify-content: center;
  text-align: center; padding: 120px 24px 48px;
  background: linear-gradient(170deg, var(--navy-deep) 0%, var(--navy) 60%, #15375E 100%);
  position: relative;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(200,151,62,0.06), transparent 60%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; margin-top: 12px; }
.page-hero p { color: var(--text-secondary); margin-top: 8px; font-size: 1rem; }

/* Active nav link */
.nav-links a.active { color: var(--gold); }

/* ═══ INFO TABLE ══════════════════════════════════════════════ */
.info-table { width: 100%; border-collapse: collapse; }
.info-table td { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.92rem; color: var(--text-secondary); }
.info-table .label { font-weight: 600; color: var(--text); width: 140px; white-space: nowrap; padding-right: 20px; }
.heading-gold { font-family: var(--font-serif); color: var(--gold); font-size: 1.5rem; margin-bottom: 24px; }

/* ═══ STAT ROW ════════════════════════════════════════════════ */
.stat-row { display: flex; gap: 32px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--glass-border); }

/* ═══ VISION CARDS ════════════════════════════════════════════ */
.vision-card {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--r-lg);
  padding: 36px; backdrop-filter: blur(16px); transition: all 0.4s;
}
.vision-card:hover { border-color: rgba(200,151,62,0.35); transform: translateY(-4px); }
.vision-icon { font-size: 2.5rem; margin-bottom: 16px; }
.vision-card h3 { font-family: var(--font-serif); color: var(--gold); font-size: 1.3rem; margin-bottom: 12px; }
.vision-card p { color: var(--text-secondary); line-height: 1.85; }

/* ═══ LEADER CARDS ════════════════════════════════════════════ */
.leader-card {
  text-align: center; background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--r-lg); padding: 36px 24px; backdrop-filter: blur(16px);
  transition: all 0.4s;
}
.leader-card:hover { border-color: rgba(200,151,62,0.35); transform: translateY(-4px); }
.leader-avatar {
  width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700; color: #fff; letter-spacing: 1px;
}
.leader-card h4 { font-family: var(--font-serif); color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.leader-role { font-size: 0.82rem; color: var(--gold); }
.team-note { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-top: 32px; }

/* ═══ QUOTE BLOCK ═════════════════════════════════════════════ */
.quote-block {
  max-width: 700px; margin: 0 auto 48px; text-align: center;
}
.quote-block blockquote {
  border: none; padding: 0;
}
.quote-block blockquote p {
  font-family: var(--font-serif); font-size: 1.15rem; font-style: italic;
  color: var(--text); line-height: 1.85; margin-bottom: 16px;
}
.quote-block blockquote footer { font-size: 0.88rem; color: var(--gold); }

/* ═══ TIMELINE ════════════════════════════════════════════════ */
.timeline { position: relative; max-width: 700px; margin: 0 auto; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark), transparent);
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before {
  content: ''; position: absolute; left: -33px; top: 4px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--gold); border: 3px solid var(--navy-deep);
}
.timeline-year {
  font-family: var(--font-serif); font-size: 1.3rem; color: var(--gold); margin-bottom: 8px;
}
.timeline-content h4 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.timeline-content ul { list-style: none; }
.timeline-content ul li {
  position: relative; padding-left: 18px; margin-bottom: 6px;
  color: var(--text-secondary); font-size: 0.9rem;
}
.timeline-content ul li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
  border-radius: 50%; background: rgba(200,151,62,0.4);
}

@media (max-width: 768px) {
  .page-hero { min-height: 30vh; padding-top: 100px; }
  .info-table .label { width: auto; display: block; padding-bottom: 2px; }
  .stat-row { flex-direction: column; gap: 16px; }
  .timeline { padding-left: 32px; }
  .timeline::before { left: 11px; }
  .timeline-item::before { left: -27px; }
}
