/* CID Media — Brand Overrides (client.css)
 * Overrides base theme tokens from main.css with CID Media branding.
 * Dark executive theme with gold accents.
 */

/* ─── BRAND TOKENS ─── */
:root {
  /* Colors — dark theme */
  --navy: #0a0f1a;
  --navy-light: #141b2d;
  --navy-muted: #1e2a3d;
  --gold: #896129;
  --gold-light: #c89144;
  --gold-hover: #a07530;
  --off-white: #0a0f1a;
  --gray-50: #0f111b;
  --gray-100: #141b2d;
  --gray-200: #1e2a3d;
  --gray-400: rgba(255,255,255,0.5);
  --gray-600: rgba(255,255,255,0.7);
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.7);
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.3), 0 0 0 1px rgba(200,164,90,0.1);

  /* Typography */
  --font-display: 'Cal Sans', 'Inter', sans-serif;
}

/* Body */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #ffffff;
  background: #0a0f1a;
}

/* ─── NAVIGATION ─── */
.nav {
  background: rgba(10, 15, 26, 0.97);
  border-bottom: 1px solid rgba(200, 164, 90, 0.3);
  backdrop-filter: blur(16px);
}

.nav-logo--text {
  font-family: 'Cal Sans', 'Inter', sans-serif;
  color: #c89144;
}

.nav-item > a {
  font-family: 'Cal Sans', 'Inter', sans-serif;
  letter-spacing: 2px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}

.nav-item > a:hover,
.nav-item > a.active {
  color: #c89144;
}

.nav-cta {
  background: #896129 !important;
  color: #ffffff !important;
  border-radius: 2px !important;
}

.nav-cta:hover {
  background: #c89144 !important;
  color: #0a0f1a !important;
}

/* Dropdown */
.nav-dropdown {
  background: #141b2d;
  border: 1px solid rgba(200, 164, 90, 0.2);
}

.nav-dropdown a {
  color: rgba(255,255,255,0.65);
}

.nav-dropdown a:hover {
  color: #c89144;
  background: rgba(200, 164, 90, 0.08);
}

/* Mobile nav */
@media (max-width: 899px) {
  .nav-links {
    background: rgba(10, 15, 26, 0.99);
  }
}

/* ─── SECTION HEADINGS ─── */
.section-eyebrow {
  color: #c89144;
}

.section-eyebrow::before {
  background: #c89144;
}

.section-title {
  color: #ffffff;
}

.section-intro {
  color: rgba(255,255,255,0.7);
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: #896129;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(137,97,41,0.3);
  border-radius: 2px;
}

.btn-primary:hover {
  background: #c89144;
  color: #0a0f1a;
  box-shadow: 0 4px 16px rgba(200,145,68,0.4);
}

/* ─── FOOTER ─── */
.footer {
  background: #0a0f1a;
  border-top: 1px solid rgba(200, 164, 90, 0.3);
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 280px 1fr 1fr;
  align-items: start;
}

.footer-circle-logo {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
}

/* About column */
.footer-about-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.footer-read-more {
  display: inline-block;
  font-size: 13px;
  color: #c89144;
  margin-top: 8px;
  transition: color 0.3s ease;
}

.footer-read-more:hover {
  color: #ffffff;
}

.footer-contact-info {
  font-size: 14px;
  line-height: 1.8;
}

.footer-contact-info a {
  color: rgba(255,255,255,0.6);
  transition: color 0.3s ease;
}

.footer-contact-info a:hover {
  color: #c89144;
}

/* Logo column */
.footer-col--logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/* Menu columns */
.footer-col h4 {
  font-family: 'Cal Sans', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c89144;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #c89144;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(200, 164, 90, 0.15);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
  color: #c89144;
}

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

  .footer-col--logo {
    order: -1;
    grid-column: 1 / -1;
  }

  .footer-circle-logo {
    max-width: 220px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .footer-circle-logo {
    max-width: 180px;
  }
}

/* ─── HERO OVERRIDES (theme default) ─── */
.hero {
  background: #0a0f1a;
}

.hero-content {
  background: rgba(10, 15, 26, 0.7);
}

/* ─── GENERAL OVERRIDES ─── */
a {
  color: #c89144;
}

a:hover {
  color: #896129;
}

/* ─── FRONT PAGE — TRANSPARENT FIXED NAV ─── */
body.home .nav {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent !important;
  border-bottom: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

body.home .nav.scrolled {
  background: rgba(10, 15, 26, 0.97) !important;
  border-bottom: 1px solid rgba(200, 164, 90, 0.3) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

/* ─── FRONT PAGE — HERO CONTENT (no blue/dark box, no border) ─── */
body.home .hero-content {
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
}

/* ─── NAV CTA — last menu item styled as outline button ─── */
.aiwp-nav-scroll > .nav-item:last-child > a {
  background: transparent;
  color: #c89144 !important;
  border: 1px solid rgba(200, 164, 90, 0.4);
  border-radius: 2px;
  padding: 9px 20px !important;
  margin-left: 10px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.aiwp-nav-scroll > .nav-item:last-child > a:hover {
  background: rgba(200, 164, 90, 0.1);
  border-color: #c89144;
  color: #c89144 !important;
}

.aiwp-nav-scroll > .nav-item:last-child > a::after {
  display: none;
}

@media (max-width: 960px) {
  .aiwp-nav-scroll > .nav-item:last-child > a {
    border: 1px solid rgba(200, 164, 90, 0.4);
    display: inline-block;
    margin: 8px 0 0;
    padding: 12px 28px !important;
  }
}

/* Logo in nav — bigger for CID Media */
.nav-logo img {
  height: 48px !important;
  width: auto !important;
}
