/* CounselWolf.com — Counsel Wolf Books */
/* Color Palette: Deep charcoal, warm gold, clean white */

:root {
  --cw-dark: #1a1a2e;
  --cw-darker: #16213e;
  --cw-gold: #c9a227;
  --cw-gold-light: #e6c744;
  --cw-white: #f5f5f5;
  --cw-text: #2d2d2d;
  --cw-text-light: #6b6b6b;
  --cw-accent: #e74c3c;
  --cw-bg: #ffffff;
  --cw-bg-alt: #fafafa;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--cw-text);
  background: var(--cw-bg);
  line-height: 1.7;
}

a { color: var(--cw-gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--cw-gold-light); }

img { max-width: 100%; height: auto; }

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

/* ── NAV ── */
.nav {
  background: var(--cw-dark);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--cw-gold);
  font-weight: bold;
  letter-spacing: 1px;
}
.nav-logo span { color: var(--cw-white); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--cw-white);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--cw-gold); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cw-white); margin: 5px 0; transition: 0.3s; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--cw-dark) 0%, var(--cw-darker) 100%);
  color: var(--cw-white);
  padding: 80px 0;
  text-align: center;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero h1 em { color: var(--cw-gold); font-style: normal; }
.hero p {
  font-size: 1.2rem;
  color: #ccc;
  max-width: 650px;
  margin: 0 auto 32px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--cw-gold);
  color: var(--cw-dark);
}
.btn-primary:hover {
  background: var(--cw-gold-light);
  color: var(--cw-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201,162,39,0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--cw-white);
  border-color: var(--cw-gold);
}
.btn-secondary:hover {
  background: var(--cw-gold);
  color: var(--cw-dark);
}
.btn-amazon {
  background: #ff9900;
  color: #111;
}
.btn-amazon:hover {
  background: #ffad33;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,153,0,0.4);
}

/* ── BOOK FEATURE ── */
.book-feature {
  padding: 80px 0;
  background: var(--cw-bg-alt);
}
.book-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}
.book-cover {
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}
.book-cover:hover { transform: rotate(-2deg) scale(1.02); }
.book-info h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--cw-dark);
}
.book-info .subtitle {
  color: var(--cw-gold);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.book-info p { margin-bottom: 16px; color: var(--cw-text-light); }
.book-meta {
  display: flex;
  gap: 24px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.book-meta-item {
  font-size: 0.85rem;
  color: var(--cw-text-light);
}
.book-meta-item strong { color: var(--cw-text); display: block; }
.book-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ── SECTIONS ── */
.section { padding: 80px 0; }
.section-alt { background: var(--cw-bg-alt); }
.section h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 16px;
  color: var(--cw-dark);
}
.section .section-sub {
  text-align: center;
  color: var(--cw-text-light);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ── CHAPTERS GRID ── */
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.chapter-card {
  background: var(--cw-bg);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-left: 4px solid var(--cw-gold);
  transition: transform 0.2s, box-shadow 0.2s;
}
.chapter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.chapter-card .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--cw-gold);
  font-weight: bold;
}
.chapter-card h3 { margin: 8px 0; font-size: 1.1rem; }
.chapter-card p { font-size: 0.9rem; color: var(--cw-text-light); }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--cw-dark);
}
.about-text p { margin-bottom: 16px; color: var(--cw-text-light); }

/* ── WORK WITH ME ── */
.wwm-card {
  background: linear-gradient(135deg, var(--cw-dark) 0%, var(--cw-darker) 100%);
  color: var(--cw-white);
  border-radius: 12px;
  padding: 60px 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.wwm-card h2 {
  color: var(--cw-gold);
  margin-bottom: 16px;
}
.wwm-card p { color: #ccc; margin-bottom: 24px; max-width: 550px; margin-left: auto; margin-right: auto; }
.wwm-features {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin: 32px 0;
  flex-wrap: wrap;
}
.wwm-feature {
  text-align: center;
  flex: 1;
  min-width: 150px;
}
.wwm-feature .icon { font-size: 2rem; margin-bottom: 8px; }
.wwm-feature h4 { font-size: 0.95rem; margin-bottom: 4px; }
.wwm-feature p { font-size: 0.85rem; color: #aaa; }

/* ── CONTACT FORM ── */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cw-gold);
  outline: none;
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ── FOOTER ── */
.footer {
  background: var(--cw-dark);
  color: #888;
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}
.footer a { color: var(--cw-gold); }
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 16px; list-style: none; }
.footer-imprint {
  font-family: var(--font-heading);
  color: var(--cw-gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding: 48px 0; }
  .book-grid { grid-template-columns: 1fr; text-align: center; }
  .book-grid .book-cover { max-width: 250px; margin: 0 auto; }
  .book-meta { justify-content: center; }
  .book-buttons { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .chapters-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--cw-dark); padding: 20px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .wwm-card { padding: 40px 24px; }
  .section h2 { font-size: 1.8rem; }
}
