/* ═══════════════════════════════════════════
   CARSTAR of Port Arthur — Shared Stylesheet
   ═══════════════════════════════════════════ */

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

:root {
  --red:    #e31837;
  --red-dk: #b8102a;
  --dark:   #0f0f0f;
  --dark2:  #161616;
  --dark3:  #1e1e1e;
  --border: #2a2a2a;
  --gold:   #f5a623;
  --text:   #e0e0e0;
  --muted:  #888;
  --white:  #ffffff;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0a0a0a;
  border-bottom: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
}

.nav-logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav-logo span {
  font-weight: 300;
  color: var(--muted);
  font-size: 13px;
  margin-left: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--red); }

.nav-phone {
  font-size: 15px;
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
  background: var(--red);
  padding: 8px 18px;
  border-radius: 4px;
  transition: background 0.2s;
}

.nav-phone:hover { background: var(--red-dk); }

/* ── Section helpers ── */
section { padding: 80px 24px; }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 680px;
}

.divider {
  width: 50px;
  height: 3px;
  background: var(--red);
  margin: 20px 0 32px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}

.btn-red:hover { background: var(--red-dk); border-color: var(--red-dk); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid #444;
}

.btn-outline:hover { border-color: var(--white); }

/* ── Cards ── */
.card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: 1fr 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; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  nav { padding: 0 16px; }
  .nav-links { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 60px 16px; }
}

/* ── Footer ── */
footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 50px 24px 30px;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  font-size: 26px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.footer-brand .tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: #666;
  text-decoration: none;
  margin-bottom: 8px;
  line-height: 1.5;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid #1a1a1a;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #444;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Rating badges ── */
.rating-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.rating-badge {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 24px;
  text-align: center;
  min-width: 140px;
}

.rating-badge .score {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.rating-badge .stars {
  color: var(--gold);
  font-size: 16px;
  margin: 4px 0;
}

.rating-badge .source {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rating-badge .count {
  font-size: 12px;
  color: #555;
  margin-top: 2px;
}

.verified-note {
  font-size: 12px;
  color: #555;
  margin-top: 10px;
  font-style: italic;
}
