/* styles.css — Smoked in Texas: Editorial BBQ Magazine */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg: #faf6f0;
  --bg2: #f3ece1;
  --bg3: #ebe3d4;
  --surface: #ffffff;
  --ink: #1a1410;
  --ink2: #3d3127;
  --ink3: #6b5d4f;
  --accent: #c13515;
  --accent2: #e8652c;
  --accent-dim: rgba(193,53,21,0.06);
  --warm: #8b6914;
  --warm-dim: rgba(139,105,20,0.08);
  --smoke: #5a4e42;
  --border: rgba(26,20,16,0.08);
  --border2: rgba(26,20,16,0.15);
  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, sans-serif;
  --max-w: 1100px;
  --content-w: 720px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--ink); line-height: 1.7; }

::selection { background: var(--accent-dim); color: var(--accent); }

/* ─── HEADER ─── */
.site-header {
  background: var(--ink);
  color: var(--bg);
  position: sticky; top: 0; z-index: 100;
}
.header-top {
  max-width: var(--max-w); margin: 0 auto; padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo a {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--bg); text-decoration: none; letter-spacing: -0.5px;
}
.logo a span { color: var(--accent2); }
.header-nav { display: flex; gap: 24px; align-items: center; }
.header-nav a {
  color: rgba(250,246,240,0.65); text-decoration: none; font-size: 14px;
  font-weight: 500; transition: color 0.2s; letter-spacing: 0.02em;
}
.header-nav a:hover { color: var(--bg); }
.header-bar {
  background: var(--accent);
  height: 3px;
}

/* ─── AD ZONES ─── */
.ad-zone {
  background: var(--bg2); border: 1px dashed var(--border2); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink3); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; margin: 32px auto; max-width: var(--content-w);
}
.ad-zone-wide { max-width: var(--max-w); }

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, #1a1410 0%, #2d2318 60%, #3d2b1f 100%);
  color: var(--bg); padding: 80px 24px 70px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='none' stroke='rgba(250,246,240,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.hero-tag {
  display: inline-block; padding: 5px 14px; border: 1px solid rgba(250,246,240,0.15);
  border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent2); margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(32px, 5vw, 56px);
  font-weight: 700; line-height: 1.15; letter-spacing: -1px;
  max-width: 680px; margin-bottom: 18px;
}
.hero p {
  font-size: 18px; color: rgba(250,246,240,0.7); max-width: 520px;
  line-height: 1.6; margin-bottom: 28px;
}
.hero-stats { display: flex; gap: 32px; }
.hero-stat { text-align: center; }
.hero-stat-num { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--accent2); }
.hero-stat-label { font-size: 12px; color: rgba(250,246,240,0.5); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

/* ─── SECTIONS ─── */
.section { padding: 60px 24px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-header { margin-bottom: 36px; }
.section-label {
  font-size: 11px; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.5px; color: var(--ink);
}
.section-desc { font-size: 16px; color: var(--ink3); margin-top: 8px; max-width: 560px; }

/* ─── ARTICLE CARDS ─── */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.article-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden; transition: all 0.3s; text-decoration: none; color: inherit;
  display: block;
}
.article-card:hover { box-shadow: 0 8px 32px rgba(26,20,16,0.1); transform: translateY(-2px); }
.article-thumb {
  height: 200px; position: relative; overflow: hidden;
}
.article-thumb-bg {
  width: 100%; height: 100%; object-fit: cover;
}
.article-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26,20,16,0.5) 100%);
}
.article-category {
  position: absolute; top: 14px; left: 14px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; background: var(--accent); color: white;
}
.article-body { padding: 20px 22px 24px; }
.article-meta { font-size: 12px; color: var(--ink3); margin-bottom: 8px; }
.article-body h3 {
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  line-height: 1.35; margin-bottom: 8px; color: var(--ink);
}
.article-body p { font-size: 14px; color: var(--ink3); line-height: 1.6; }
.article-read-more {
  display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700;
  color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em;
}

/* ─── FEATURED STRIP ─── */
.featured-strip { background: var(--bg2); padding: 48px 24px; }
.featured-inner { max-width: var(--max-w); margin: 0 auto; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.feat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 28px 22px; transition: all 0.3s;
}
.feat-card:hover { border-color: var(--accent); }
.feat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-dim); display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feat-icon svg { width: 22px; height: 22px; color: var(--accent); }
.feat-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feat-card p { font-size: 14px; color: var(--ink3); line-height: 1.6; }

/* ─── QUOTE ─── */
.quote-section { padding: 56px 24px; text-align: center; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.quote-text {
  font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 2.5vw, 28px);
  max-width: 640px; margin: 0 auto 14px; line-height: 1.5; color: var(--ink2);
}
.quote-author { font-size: 14px; color: var(--ink3); font-weight: 600; }

/* ─── CTA SECTION ─── */
.cta-section { padding: 64px 24px; background: var(--ink); color: var(--bg); text-align: center; }
.cta-section h2 { font-family: var(--font-display); font-size: 28px; margin-bottom: 10px; }
.cta-section p { color: rgba(250,246,240,0.6); margin-bottom: 24px; }
.cta-btn {
  display: inline-block; padding: 14px 32px; background: var(--accent); color: white;
  border-radius: 8px; font-weight: 700; font-size: 15px; text-decoration: none;
  transition: all 0.2s;
}
.cta-btn:hover { background: var(--accent2); transform: translateY(-1px); }

/* ─── ARTICLE FULL PAGE ─── */
.article-page { max-width: var(--content-w); margin: 0 auto; padding: 48px 24px 80px; }
.article-page h1 {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 16px;
}
.article-page .article-meta { font-size: 14px; color: var(--ink3); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.article-page p { font-size: 17px; line-height: 1.85; margin-bottom: 20px; color: var(--ink2); }
.article-page h2 {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  margin: 40px 0 16px; color: var(--ink);
}
.article-page h3 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; color: var(--ink); }
.article-page ul, .article-page ol { margin: 16px 0 20px 24px; }
.article-page li { font-size: 16px; line-height: 1.7; margin-bottom: 8px; color: var(--ink2); }
.article-page blockquote {
  border-left: 3px solid var(--accent); padding: 16px 24px; margin: 28px 0;
  background: var(--accent-dim); border-radius: 0 8px 8px 0;
  font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--ink2);
}
.article-page .article-img {
  width: 100%; border-radius: 10px; margin: 28px 0;
  background: var(--bg2); min-height: 200px; display: flex; align-items: center; justify-content: center;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--ink); color: rgba(250,246,240,0.5); padding: 40px 24px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(250,246,240,0.5); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--bg); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .header-nav { gap: 16px; }
  .header-nav a { font-size: 12px; }
  .hero { padding: 60px 24px 50px; }
  .hero-stats { gap: 20px; }
  .articles-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
