/* ============================================
   BaconConsult.eu — Theme C: Warm Light + Crimson
   ============================================ */

:root {
  --bg-primary: #faf8f5;
  --bg-white: #ffffff;
  --bg-dark: #2d2d2d;
  --bg-terminal: #1a1a2e;
  --text-primary: #2d2d2d;
  --text-secondary: #555;
  --text-muted: #888;
  --text-light: #e8e8e8;
  --accent: #C4183C;
  --accent-light: rgba(196, 24, 60, 0.06);
  --accent-border: rgba(196, 24, 60, 0.3);
  --border: #e0ddd8;
  --border-light: #f0ede8;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  --max-width: 1100px;
  --nav-height: 64px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(45, 45, 45, 0.97);
  border-bottom-color: transparent;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
}
.nav-logo .bacon { color: var(--accent); }
.nav-logo .consult { color: var(--text-primary); }
.nav.scrolled .nav-logo .consult { color: var(--text-light); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); opacity: 1; }
.nav.scrolled .nav-links a { color: #999; }
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active { color: var(--accent); }

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

/* ---- Main content ---- */
main { padding-top: var(--nav-height); }

/* ---- Section ---- */
.section {
  padding: 80px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-full {
  padding: 80px 24px;
}
.section-full .section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---- Section Label ---- */
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ---- Headings ---- */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}
h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 16px;
}
h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
}
.accent { color: var(--accent); font-style: italic; font-weight: 600; }

/* ---- Hero ---- */
.hero {
  padding: 100px 24px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 480px;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---- Logo SVG ---- */
.logo-circle {
  width: 280px;
  height: 280px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { background: #a8142f; opacity: 1; }
.btn-outline {
  border: 1px solid var(--text-primary);
  color: var(--text-primary);
  background: transparent;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); opacity: 1; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Cards ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.card {
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 28px;
  background: var(--bg-white);
  transition: all 0.25s ease;
  position: relative;
}
.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(196, 24, 60, 0.08);
}
.card-num {
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--accent);
  opacity: 0.12;
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.card-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
}

/* ---- Terminal Block ---- */
.terminal {
  background: var(--bg-terminal);
  border-radius: 8px;
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  overflow-x: auto;
}
.terminal .prompt { color: #666; }
.terminal .output { color: var(--accent); }
.terminal .comment { color: #4a5568; }

/* ---- Dark Section ---- */
.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}
.section-dark h2 { color: var(--text-light); }
.section-dark p { color: #bbb; }
.section-dark .section-label { color: var(--accent); }
.section-dark a { color: var(--accent); }
.section-dark .btn-primary { color: white; }
.section-dark .btn-outline { color: var(--text-light); border-color: var(--text-light); }
.section-dark .btn-outline:hover { color: var(--accent); border-color: var(--accent); }

/* ---- Social Proof Strip ---- */
.proof-strip {
  padding: 24px;
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.proof-strip .dot {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  margin: 0 16px;
  vertical-align: middle;
}

/* ---- CTA Section ---- */
.cta-section {
  text-align: center;
  padding: 80px 24px;
  max-width: 700px;
  margin: 0 auto;
}
.cta-section h2 { margin-bottom: 12px; }
.cta-section p { color: var(--text-secondary); margin-bottom: 28px; }

/* ---- Numbered Steps ---- */
.steps { counter-reset: step; margin-top: 40px; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  margin-bottom: 48px;
  align-items: start;
}
.step-num {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--text-primary);
  opacity: 0.15;
  border-top: 3px solid var(--accent);
  padding-top: 8px;
  text-align: center;
}
.step-content h3 { margin-bottom: 8px; }
.step-content p { font-size: 15px; color: var(--text-secondary); }

/* ---- Grid layouts ---- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ---- About card ---- */
.credential-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.credential-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.credential-card h3 { font-size: 16px; margin-bottom: 12px; }
.credential-card ul {
  list-style: none;
  font-size: 14px;
  color: var(--text-secondary);
}
.credential-card li { padding: 4px 0; }
.credential-card li::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}
.contact-item {
  margin-bottom: 24px;
}
.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-value {
  font-size: 16px;
  color: var(--text-primary);
}

/* ---- Image placeholders ---- */
.img-placeholder {
  background: linear-gradient(135deg, #e8e4df 0%, #d8d4cf 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  font-style: italic;
  min-height: 300px;
}

/* ---- Footer ---- */
.footer {
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
}
.footer a { color: var(--accent); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .logo-circle { width: 200px; height: 200px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }
  .nav.scrolled .nav-links.open { background: var(--bg-dark); }
  .nav-toggle { display: block; }
  .cards { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .step { grid-template-columns: 60px 1fr; gap: 16px; }
  .credential-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section, .section-full { padding: 48px 20px; }
  .hero { padding: 60px 20px 48px; }
  .proof-strip { font-size: 10px; letter-spacing: 1px; }
  .proof-strip .dot { margin: 0 8px; }
}
