/* ============================================================
   Garage Gym Basics — Main Stylesheet
   Colors:
     #0F1114  dark bg (nav/footer)
     #F7F7F5  light page bg
     #1A1A2E  dark headings
     #E63946  red accent / CTAs
     #2D6A4F  green (pros/checks)
     #F4A261  warm orange highlights
     #E8E4DE  warm gray cards
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap');

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: #F7F7F5;
  color: #1A1A2E;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #E63946; text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.5rem; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  color: #1A1A2E;
  line-height: 1.2;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1.1rem; }
strong { font-weight: 700; }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Navigation ─────────────────────────────────────────── */
.site-nav {
  background: #0F1114;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  max-width: 1160px;
  margin: 0 auto;
}
.nav-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #F7F7F5;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.nav-logo span { color: #E63946; }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
}
.nav-links a {
  color: #F7F7F5;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-links a:hover { color: #E63946; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #F7F7F5;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0F1114;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid rgba(255,255,255,0.08); }
  .nav-links a { display: block; padding: 0.75rem 1.5rem; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0F1114 0%, #1A1A2E 100%);
  padding: 5rem 1.25rem 4rem;
  text-align: center;
}
.hero h1 {
  color: #F7F7F5;
  max-width: 760px;
  margin: 0 auto 1.25rem;
}
.hero h1 span { color: #E63946; }
.hero p {
  color: #C9C9C0;
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}
.hero-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #F7F7F5;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: #E63946;
  color: #fff;
  box-shadow: 0 4px 14px rgba(230,57,70,0.35);
}
.btn-primary:hover { background: #c82030; box-shadow: 0 6px 20px rgba(230,57,70,0.45); }
.btn-secondary {
  background: transparent;
  color: #F7F7F5;
  border: 2px solid #F7F7F5;
}
.btn-secondary:hover { background: #F7F7F5; color: #1A1A2E; }
.btn-outline {
  background: transparent;
  color: #E63946;
  border: 2px solid #E63946;
}
.btn-outline:hover { background: #E63946; color: #fff; }
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.88rem; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: #E8E4DE;
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card-tag {
  display: inline-block;
  background: #E63946;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}
.card-tag--green { background: #2D6A4F; }
.card-tag--orange { background: #F4A261; color: #1A1A2E; }
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.93rem; color: #4a4a5a; margin-bottom: 0; }
.card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.card-link:hover { text-decoration: none; }

/* ── Section spacing ─────────────────────────────────────── */
.section { padding: 4rem 0; }
.section--dark {
  background: #0F1114;
  color: #F7F7F5;
}
.section--dark h2, .section--dark h3 { color: #F7F7F5; }
.section--dark p { color: #C9C9C0; }
.section--gray { background: #E8E4DE; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header p { color: #555; max-width: 560px; margin: 0.75rem auto 0; }

/* ── Article page layout ─────────────────────────────────── */
.article-hero {
  background: linear-gradient(135deg, #0F1114 0%, #1A1A2E 100%);
  padding: 3.5rem 1.25rem 3rem;
}
.article-hero .breadcrumb {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 1rem;
}
.article-hero .breadcrumb a { color: #aaa; }
.article-hero .breadcrumb a:hover { color: #E63946; }
.article-hero h1 { color: #F7F7F5; max-width: 820px; margin-bottom: 1rem; }
.article-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1.25rem;
}
.article-meta span { display: flex; align-items: center; gap: 0.3rem; }
.article-excerpt {
  color: #C9C9C0;
  font-size: 1.05rem;
  max-width: 680px;
  line-height: 1.65;
}

.article-body {
  padding: 3rem 0 4rem;
}
.article-body h2 { margin-top: 2.5rem; margin-bottom: 1rem; padding-top: 0.5rem; border-top: 3px solid #E63946; }
.article-body h3 { margin-top: 1.75rem; color: #1A1A2E; }
.article-body ul, .article-body ol { margin-bottom: 1.1rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-body blockquote {
  border-left: 4px solid #E63946;
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: #E8E4DE;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #333;
}

/* ── Product review cards ────────────────────────────────── */
.product-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.75rem;
  margin: 2rem 0;
  position: relative;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #E63946;
  border-radius: 8px 0 0 8px;
}
.product-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #E63946;
  color: #fff;
  border-radius: 50%;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.product-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 0.25rem;
}
.product-subtitle {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.stars { color: #F4A261; font-size: 1.1rem; letter-spacing: 2px; }
.rating-num { font-weight: 700; font-size: 0.95rem; color: #1A1A2E; }

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}
@media (max-width: 600px) { .pros-cons { grid-template-columns: 1fr; } }
.pros, .cons {
  border-radius: 6px;
  padding: 1rem 1.25rem;
}
.pros { background: #f0faf5; border: 1px solid #b7dfcc; }
.cons { background: #fff5f5; border: 1px solid #fcc; }
.pros h4, .cons h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.6rem; }
.pros h4 { color: #2D6A4F; }
.cons h4 { color: #c0392b; }
.pros ul, .cons ul { padding-left: 1.2rem; font-size: 0.92rem; }
.pros li::marker { color: #2D6A4F; }
.cons li::marker { color: #c0392b; }
.pros li, .cons li { margin-bottom: 0.3rem; }

.product-verdict {
  background: #F7F7F5;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  border-left: 3px solid #F4A261;
  margin: 1rem 0;
}
.product-verdict strong { color: #F4A261; }

.product-cta {
  display: inline-block;
  margin-top: 0.75rem;
  background: #E63946;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.product-cta:hover { background: #c82030; text-decoration: none; }

/* ── Comparison table ────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: 8px; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
}
thead th {
  background: #0F1114;
  color: #F7F7F5;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-align: left;
  padding: 0.85rem 1rem;
  white-space: nowrap;
}
tbody tr { border-bottom: 1px solid #e8e4de; }
tbody tr:hover { background: #faf9f7; }
td { padding: 0.75rem 1rem; vertical-align: top; }
td:first-child { font-weight: 600; }
.badge-best {
  background: #E63946;
  color: #fff;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 0.4rem;
}
.check { color: #2D6A4F; font-weight: 700; }
.cross { color: #c0392b; }

/* ── TOC ─────────────────────────────────────────────────── */
.toc {
  background: #E8E4DE;
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.toc h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  margin-bottom: 0.75rem;
  color: #888;
}
.toc ol { padding-left: 1.25rem; }
.toc li { margin-bottom: 0.4rem; }
.toc a { color: #1A1A2E; font-weight: 500; font-size: 0.95rem; }
.toc a:hover { color: #E63946; }

/* ── Callout box ─────────────────────────────────────────── */
.callout {
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.callout-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
.callout--tip { background: #f0faf5; border: 1px solid #b7dfcc; }
.callout--tip .callout-icon::before { content: '💡'; }
.callout--warning { background: #fff8f0; border: 1px solid #f4c88a; }
.callout--warning .callout-icon::before { content: '⚠️'; }
.callout--info { background: #f0f4ff; border: 1px solid #bbc9f0; }
.callout--info .callout-icon::before { content: 'ℹ️'; }
.callout p:last-child { margin-bottom: 0; }

/* ── Stat highlights ─────────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #E8E4DE;
  border-radius: 8px;
}
.stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #E63946;
  line-height: 1;
  display: block;
}
.stat-label { font-size: 0.88rem; color: #666; margin-top: 0.4rem; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: #0F1114;
  color: #999;
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .nav-logo { display: inline-block; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.65; max-width: 280px; }
.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  color: #F7F7F5;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: #999; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: #E63946; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
}
.footer-bottom a { color: #777; }
.footer-bottom a:hover { color: #E63946; }
.disclosure-banner {
  background: #1a1a2e;
  border-top: 2px solid #E63946;
  padding: 0.75rem 1.25rem;
  font-size: 0.82rem;
  color: #aaa;
  text-align: center;
}
.disclosure-banner a { color: #E63946; }

/* ── Related articles ────────────────────────────────────── */
.related-articles { padding: 3rem 0; background: #E8E4DE; }
.related-articles h2 { margin-bottom: 1.5rem; }

/* ── Utility ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-red { color: #E63946; }
.text-green { color: #2D6A4F; }
.text-orange { color: #F4A261; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.highlight { background: #F4A261; color: #1A1A2E; padding: 0.1rem 0.35rem; border-radius: 3px; font-weight: 600; }

/* ── Budget breakdown ────────────────────────────────────── */
.budget-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid #ddd;
  background: #fff;
}
.budget-item:first-child { border-radius: 8px 8px 0 0; }
.budget-item:last-child { border-radius: 0 0 8px 8px; border-bottom: none; }
.budget-item.total {
  background: #1A1A2E;
  color: #F7F7F5;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
}
.budget-name { font-weight: 600; }
.budget-price { color: #E63946; font-weight: 700; font-family: 'Oswald', sans-serif; font-size: 1.05rem; }
.budget-item.total .budget-price { color: #F4A261; }

/* ── Feature list ────────────────────────────────────────── */
.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  border-bottom: 1px solid #eee;
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2D6A4F;
  font-weight: 700;
}
.feature-list li:last-child { border-bottom: none; }

/* ── Priority list (numbered with color) ─────────────────── */
.priority-list { list-style: none; padding: 0; counter-reset: priority; }
.priority-list li {
  counter-increment: priority;
  padding: 1rem 1rem 1rem 3.5rem;
  position: relative;
  background: #fff;
  margin-bottom: 0.75rem;
  border-radius: 6px;
  border: 1px solid #e0dbd3;
}
.priority-list li::before {
  content: counter(priority);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: #E63946;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}
.priority-list li strong { display: block; font-size: 1rem; margin-bottom: 0.25rem; }
.priority-list li span { font-size: 0.9rem; color: #555; }

/* ── Comparison split ────────────────────────────────────── */
.compare-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}
@media (max-width: 640px) { .compare-split { grid-template-columns: 1fr; } }
.compare-col {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  border-top: 4px solid #E63946;
}
.compare-col--green { border-top-color: #2D6A4F; }
.compare-col h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

/* ── Skip link (accessibility) ───────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: #E63946;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  z-index: 999;
}
