@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ============================================
   CSS VARIABLES
============================================ */
:root {
  --green: #2B4A1A;
  --green-light: #3A6224;
  --cream: #F5F0E3;
  --cream-dark: #EDE6D0;
  --orange: #C85A1E;
  --orange-light: #E06A28;
  --yellow: #E8B84B;
  --dark: #1A1A1A;
  --mid: #555;
  --light-text: #888;
  --white: #FFFFFF;
  --font-head: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1200px;
  --radius: 4px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.14);
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================
   NAVIGATION
============================================ */
.nav {
  background: var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

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

.nav-logo {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--cream);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-logo span {
  color: var(--yellow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--cream);
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  transition: background 0.2s, color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--orange);
  color: var(--white);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================================
   HERO — HOMEPAGE
============================================ */
.hero {
  background: var(--green);
  padding: 80px 24px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.015) 40px,
    rgba(255,255,255,0.015) 80px
  );
}

.hero-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(52px, 8vw, 96px);
  color: var(--cream);
  line-height: 0.95;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.hero h1 span {
  color: var(--orange);
}

.hero-sub {
  font-size: 18px;
  color: rgba(245, 240, 227, 0.75);
  max-width: 560px;
  margin: 16px auto 32px;
  font-weight: 300;
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 40px;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.3px;
}

.hero-cta:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  color: var(--cream);
}

.hero-stat-number {
  font-family: var(--font-head);
  font-size: 42px;
  color: var(--yellow);
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(245,240,227,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ============================================
   PAGE HEADER (inner pages)
============================================ */
.page-header {
  background: var(--green);
  padding: 48px 24px 40px;
}

.page-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-header-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.page-header h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 64px);
  color: var(--cream);
  letter-spacing: 1px;
  line-height: 1;
}

.page-header p {
  color: rgba(245,240,227,0.7);
  font-size: 16px;
  margin-top: 10px;
  max-width: 560px;
}

/* ============================================
   FILTER TABS
============================================ */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  padding: 0 24px;
  position: sticky;
  top: 64px;
  z-index: 50;
}

.filter-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}

.filter-bar-inner::-webkit-scrollbar { display: none; }

.filter-btn {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  background: transparent;
  border: 1.5px solid var(--cream-dark);
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.filter-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.filter-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* ============================================
   MAIN CONTENT WRAPPER
============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 56px 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: 36px;
  color: var(--dark);
  letter-spacing: 1px;
}

.section-title span {
  color: var(--orange);
}

.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.section-link:hover { text-decoration: underline; }

/* ============================================
   BLOG CARDS GRID
============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.blog-card-img {
  aspect-ratio: 16/9;
  background: var(--cream-dark);
  overflow: hidden;
  position: relative;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.04);
}

.blog-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
}

.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.blog-card-title {
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 10px;
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.blog-card-date {
  font-size: 12px;
  color: var(--light-text);
}

.blog-card-read {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.blog-card-read:hover { text-decoration: underline; }

/* Featured card (first card, full width) */
.blog-card.featured {
  grid-column: 1 / -1;
  flex-direction: row;
}

.blog-card.featured .blog-card-img {
  width: 50%;
  flex-shrink: 0;
  aspect-ratio: auto;
}

.blog-card.featured .blog-card-body {
  padding: 32px;
}

.blog-card.featured .blog-card-title {
  font-size: 32px;
}

.blog-card.featured .blog-card-excerpt {
  font-size: 16px;
}

/* ============================================
   BLOG POST PAGE
============================================ */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 48px 0;
}

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

.post-hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 32px;
  background: var(--cream-dark);
}

.post-hero-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: 8px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.post-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.post-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 1px;
  line-height: 1.05;
  color: var(--dark);
  margin-bottom: 16px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--light-text);
  font-size: 13px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--cream-dark);
}

.post-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cream-dark);
}

.post-body {
  font-size: 17px;
  line-height: 1.75;
  color: #333;
}

.post-body p { margin-bottom: 20px; }

.post-body h2 {
  font-family: var(--font-head);
  font-size: 28px;
  letter-spacing: 0.5px;
  color: var(--dark);
  margin: 40px 0 16px;
}

.post-body h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin: 28px 0 12px;
}

.post-body strong { color: var(--dark); }

.post-body ul, .post-body ol {
  margin: 16px 0 20px 24px;
}

.post-body li { margin-bottom: 8px; }
.post-body ul li { list-style: disc; }
.post-body ol li { list-style: decimal; }

/* Price table */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-table th {
  background: var(--green);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 16px;
  text-align: left;
}

.price-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--dark);
}

.price-table tr:last-child td { border-bottom: none; }

.price-table tr:nth-child(even) td {
  background: rgba(245,240,227,0.4);
}

.price-table .highlight td {
  background: rgba(232, 184, 75, 0.15);
  font-weight: 600;
}

.price-best {
  color: var(--green);
  font-weight: 700;
}

/* Product spotlight */
.product-spotlight {
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  padding: 24px;
  margin: 32px 0;
}

.product-spotlight-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.product-spotlight-name {
  font-family: var(--font-head);
  font-size: 24px;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-spotlight-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
}

.product-spotlight-desc {
  font-size: 14px;
  color: var(--mid);
  margin-top: 8px;
  line-height: 1.6;
}

/* Step boxes for recipes */
.step-box {
  display: flex;
  gap: 16px;
  margin: 20px 0;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step-content h3 {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 6px;
  margin-top: 0;
}

.step-content p {
  margin-bottom: 0;
  font-size: 16px;
}

/* Cost breakdown box */
.cost-box {
  background: var(--green);
  color: var(--cream);
  border-radius: 8px;
  padding: 28px;
  margin: 32px 0;
}

.cost-box h3 {
  font-family: var(--font-head);
  font-size: 24px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  color: var(--yellow);
}

.cost-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 15px;
}

.cost-row:last-child { border-bottom: none; }

.cost-row.total {
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 700;
  font-size: 18px;
  color: var(--yellow);
  border-top: 2px solid rgba(255,255,255,0.2);
  border-bottom: none;
}

.cost-row .cost-amount { font-weight: 600; }

/* Callout / tip box */
.tip-box {
  background: rgba(232, 184, 75, 0.15);
  border: 1.5px solid var(--yellow);
  border-radius: 8px;
  padding: 20px;
  margin: 24px 0;
  font-size: 15px;
}

.tip-box strong {
  color: var(--green);
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Disclosure */
.disclosure {
  font-size: 12px;
  color: var(--light-text);
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--cream-dark);
  font-style: italic;
}

/* ============================================
   SIDEBAR
============================================ */
.sidebar { position: sticky; top: 80px; align-self: start; }

.sidebar-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.sidebar-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  color: var(--dark);
}

.sidebar-post {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-dark);
}

.sidebar-post:last-child { border-bottom: none; }

.sidebar-post-img {
  width: 64px;
  height: 48px;
  border-radius: 4px;
  background: var(--cream-dark);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.sidebar-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-post-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark);
}

.sidebar-post-title:hover { color: var(--orange); }

.sidebar-post-meta {
  font-size: 11px;
  color: var(--light-text);
  margin-top: 4px;
}

/* About sidebar */
.about-sidebar {
  text-align: center;
}

.about-sidebar-icon {
  width: 64px;
  height: 64px;
  background: var(--green);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}

.about-sidebar p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
}

/* ============================================
   CATEGORIES SECTION (homepage)
============================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  background: var(--white);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.category-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.category-name {
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--dark);
  margin-bottom: 4px;
}

.category-count {
  font-size: 12px;
  color: var(--light-text);
}

/* ============================================
   STL DEALS PAGE
============================================ */
.coming-soon-box {
  background: var(--white);
  border-radius: 8px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 560px;
  margin: 0 auto;
}

.coming-soon-box .icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.coming-soon-box h2 {
  font-family: var(--font-head);
  font-size: 28px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.coming-soon-box p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
}

/* ============================================
   SHOP BY GOAL PAGE
============================================ */
.goal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.goal-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.goal-card-header {
  padding: 32px 24px 24px;
}

.goal-card-header.budget { background: var(--green); }
.goal-card-header.muscle { background: #1A3A4A; }
.goal-card-header.comfort { background: #4A1A0A; }

.goal-card-icon { font-size: 40px; margin-bottom: 12px; }

.goal-card-title {
  font-family: var(--font-head);
  font-size: 28px;
  letter-spacing: 0.5px;
  color: var(--cream);
}

.goal-card-desc {
  font-size: 13px;
  color: rgba(245,240,227,0.7);
  margin-top: 6px;
}

.goal-card-body {
  padding: 20px 24px;
}

.goal-card-coming {
  font-size: 13px;
  color: var(--light-text);
  font-style: italic;
}

/* ============================================
   AMAZON PICKS PAGE
============================================ */
.amazon-coming {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 24px 32px;
  margin-top: 80px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--cream);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer-logo span { color: var(--yellow); }

.footer-about {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cream);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--yellow); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-disclosure {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  max-width: 600px;
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card.featured { flex-direction: column; }
  .blog-card.featured .blog-card-img { width: 100%; aspect-ratio: 16/9; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .goal-grid { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.featured { grid-column: auto; }
  .goal-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Mobile nav open state */
.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--green);
  padding: 20px;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.nav-open .nav-links a {
  padding: 12px 16px;
  border-radius: 8px;
}
