/* ============================================
   WeldGloves.com — Dark Industrial Theme
   Charcoal/dark gray + amber/gold accents
   Fonts: Oswald (headings), Inter (body)
   ============================================ */

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

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

:root {
  --bg-dark: #1a1a1a;
  --bg-card: #242424;
  --bg-card-hover: #2c2c2c;
  --bg-sidebar: #1e1e1e;
  --text-primary: #e8e8e8;
  --text-secondary: #b0b0b0;
  --text-muted: #888;
  --accent: #d4920b;
  --accent-light: #f0a500;
  --accent-glow: rgba(212, 146, 11, 0.25);
  --border: #333;
  --border-light: #444;
  --link: #f0a500;
  --link-hover: #ffc233;
  --danger: #e74c3c;
  --success: #27ae60;
  --radius: 6px;
  --shadow: 0 2px 8px rgba(0,0,0,0.4);
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

h1 { font-size: 2.2rem; margin-bottom: 0.6em; }
h2 { font-size: 1.7rem; margin-bottom: 0.5em; margin-top: 1.5em; }
h3 { font-size: 1.3rem; margin-bottom: 0.4em; margin-top: 1.2em; }
h4 { font-size: 1.1rem; margin-bottom: 0.3em; }

p { margin-bottom: 1em; color: var(--text-secondary); }
a { color: var(--link); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--link-hover); }

img { max-width: 100%; height: auto; }
ul, ol { margin-bottom: 1em; padding-left: 1.5em; color: var(--text-secondary); }
li { margin-bottom: 0.4em; }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  align-items: start;
}

.main-content { min-width: 0; }

/* --- Header / Nav --- */
.site-header {
  background: #111;
  border-bottom: 2px solid var(--accent);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.site-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}
.site-logo:hover { color: var(--link-hover); }
.site-logo span { color: var(--text-primary); }

.nav-links { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all 0.2s;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent-light);
  background: rgba(212, 146, 11, 0.1);
}

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary); margin: 5px 0;
  transition: all 0.3s;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent-light); }
.breadcrumbs .sep { margin: 0 6px; }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #111 0%, #1a1a1a 50%, #222 100%);
  border-bottom: 2px solid var(--border);
  padding: 50px 0;
  text-align: center;
}
.hero h1 { font-size: 2.6rem; margin-bottom: 0.4em; }
.hero h1 .accent { color: var(--accent-light); }
.hero p { font-size: 1.15rem; max-width: 650px; margin: 0 auto 1.5em; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #111;
}
.btn-primary:hover {
  background: var(--accent-light);
  color: #111;
  box-shadow: 0 0 15px var(--accent-glow);
}
.btn-secondary {
  background: transparent;
  color: var(--accent-light);
  border: 2px solid var(--accent);
}
.btn-secondary:hover {
  background: var(--accent);
  color: #111;
}
.btn-amazon {
  background: #f0a500;
  color: #111;
  font-size: 0.95rem;
  padding: 10px 22px;
}
.btn-amazon:hover {
  background: #ffc233;
  color: #111;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 1.5em 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s;
}
.card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}
.card h3 { margin-top: 0; }
.card .card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

/* --- Product Cards --- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  transition: all 0.2s;
}
.product-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}
.product-card .product-rank {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-light);
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.product-card h3 { margin-top: 4px; font-size: 1.4rem; }
.product-card .product-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.product-card .product-desc { margin-bottom: 16px; }
.product-card .pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.product-card .pros-cons h4 { font-size: 0.9rem; margin-bottom: 6px; }
.product-card .pros-cons .pros h4 { color: var(--success); }
.product-card .pros-cons .cons h4 { color: var(--danger); }
.product-card .pros-cons ul {
  list-style: none;
  padding: 0;
  font-size: 0.9rem;
}
.product-card .pros-cons li { margin-bottom: 4px; padding-left: 18px; position: relative; }
.product-card .pros li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.product-card .cons li::before { content: '✗'; position: absolute; left: 0; color: var(--danger); font-weight: 700; }
.product-card .product-actions { margin-top: 12px; }

/* --- Comparison Table --- */
.comparison-table-wrap { overflow-x: auto; margin: 1.5em 0; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.comparison-table th, .comparison-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  background: #111;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  color: var(--accent-light);
  position: sticky;
  top: 60px;
}
.comparison-table tr:hover td { background: var(--bg-card-hover); }
.comparison-table td { color: var(--text-secondary); }

/* --- Sidebar --- */
.sidebar {
  position: sticky;
  top: 80px;
}
.sidebar-block {
  background: var(--bg-sidebar);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-block h4 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--accent-light);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.sidebar-block ul { list-style: none; padding: 0; }
.sidebar-block li { margin-bottom: 8px; }
.sidebar-block a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: block;
  padding: 4px 0;
}
.sidebar-block a:hover { color: var(--accent-light); }

/* --- Quick Picks --- */
.quick-picks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 1.5em 0;
}
.quick-pick {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all 0.2s;
}
.quick-pick:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}
.quick-pick .pick-badge {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-light);
  margin-bottom: 8px;
}
.quick-pick h3 { font-size: 1.15rem; margin-top: 0; }
.quick-pick .pick-type { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }

/* --- Section Spacing --- */
.section { padding: 40px 0; }
.section-alt { background: #151515; }
.section h2 { text-align: center; }
.section h2 .accent { color: var(--accent-light); }

/* --- Guide Content --- */
.guide-section { margin-bottom: 2em; }
.guide-section h3 { border-left: 3px solid var(--accent); padding-left: 12px; }
.info-box {
  background: rgba(212, 146, 11, 0.08);
  border: 1px solid rgba(212, 146, 11, 0.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 1em 0;
}
.info-box p { margin-bottom: 0; color: var(--text-primary); }

/* --- Footer --- */
.site-footer {
  background: #111;
  border-top: 2px solid var(--accent);
  padding: 40px 0 20px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--accent-light);
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent-light); }
.footer-disclosure {
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  line-height: 1.6;
}
.footer-disclosure p { color: var(--text-muted); font-size: 0.8rem; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .content-wrapper { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .quick-picks { grid-template-columns: 1fr; }
  .product-card .pros-cons { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #111;
    flex-direction: column;
    padding: 10px 20px 20px;
    border-bottom: 2px solid var(--accent);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .hero h1 { font-size: 1.8rem; }
  .hero { padding: 30px 0; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr; }
}
