/*
Theme Name: Chassis Doctor
Theme URI: https://chassisdoctor.com
Author: Chassis Doctor
Description: Official Chassis Doctor racing theme
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: chassis-doctor
*/

/* ─── Design tokens ────────────────────────────────────────────────────── */
:root {
  --navy:        #1a2744;
  --navy-dark:   #0f1a30;
  --gold:        #e0b84a;
  --gold-light:  #f0c84e;
  --cream:       #f5efe0;
  --text-muted:  #a8b8cc;
}

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

/* ─── Base ─────────────────────────────────────────────────────────────── */
body {
  font-family: 'Barlow', sans-serif;
  background: var(--navy-dark);
  color: var(--cream);
  overflow-x: hidden;
}

/* ─── Navigation ───────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 80px;
  background: rgba(15, 26, 48, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 146, 42, 0.25);
}

.nav-brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.nav-logo-img {
  height: 58px; width: 58px;
  border-radius: 50%;
  border: 2px solid rgba(184, 146, 42, 0.5);
  object-fit: cover;
  flex-shrink: 0;
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav-brand-top {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 22px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--cream);
}
.nav-brand-bottom {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: 5px;
  text-transform: uppercase; color: var(--gold);
  margin-top: 2px;
}

.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: 14px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links .current-menu-item a { color: var(--gold-light); }

/* ─── Layout ───────────────────────────────────────────────────────────── */
.page-wrap { padding-top: 80px; min-height: 100vh; }

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn-primary {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 14px;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 16px 36px;
  background: var(--gold); color: var(--navy-dark);
  border: none; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.15s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 14px;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 15px 36px;
  background: transparent; color: var(--cream);
  border: 1px solid rgba(245, 239, 224, 0.35);
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }

/* ─── Shared components ────────────────────────────────────────────────── */
.stripe-divider {
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent calc(50% - 200px),
    #e0b84a calc(50% - 200px),
    #e0b84a calc(50% + 200px),
    transparent calc(50% + 200px),
    transparent 100%
  );
  opacity: 0.7;
}

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}

/* ─── Footer ───────────────────────────────────────────────────────────── */
footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(184, 146, 42, 0.2);
  padding: 40px 80px;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
footer p { font-size: 13px; color: var(--text-muted); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img {
  height: 52px; width: 52px;
  border-radius: 50%;
  border: 1px solid rgba(184, 146, 42, 0.4);
}
.footer-brand-text { display: flex; flex-direction: column; line-height: 1; }
.footer-brand-top {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 18px; letter-spacing: 3px; text-transform: uppercase; color: var(--cream);
}
.footer-brand-bot {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-top: 3px;
}

/* ─── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-brand-top    { font-size: 18px; }
  .nav-brand-bottom { font-size: 12px; }
  footer { padding: 32px 24px; flex-direction: column; text-align: center; }
}
