/* =========================================
   SMOKES ZIP CLUB — Main Stylesheet
   ========================================= */

/* --- Variables --- */
:root {
  --fire-orange: #e85d04;
  --ember-red: #c1121f;
  --smoke-dark: #1a1a1a;
  --smoke-mid: #2d2d2d;
  --smoke-light: #3d3d3d;
  --wood-brown: #6b3a2a;
  --wood-light: #a0522d;
  --cream: #fdf0e0;
  --off-white: #f5e6d0;
  --text-light: #f0e6d3;
  --text-muted: #b0a090;
  --gold: #f4a821;
  --green: #4a7c59;
  --card-bg: #242424;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
  --radius: 12px;
  --radius-sm: 6px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --transition: all 0.3s ease;
}

/* Light mode */
[data-theme="light"] {
  --smoke-dark: #fdf8f3;
  --smoke-mid: #f0e8dc;
  --smoke-light: #e8d8c8;
  --card-bg: #ffffff;
  --text-light: #1a1a1a;
  --text-muted: #6b5a4e;
  --border: rgba(0,0,0,0.1);
  --shadow: 0 8px 32px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--smoke-dark);
  color: var(--text-light);
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
}

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--fire-orange);
  color: #fff;
}

.tag.grill { background: #c44b00; }
.tag.smoker { background: #5a2d82; }
.tag.oven { background: #1565c0; }
.tag.beef { background: #b71c1c; }
.tag.pork { background: #e65100; }
.tag.chicken { background: #f57f17; color: #333; }
.tag.seafood { background: #006064; }
.tag.veggie { background: #2e7d32; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--fire-orange);
  color: #fff;
}
.btn-primary:hover { background: #ff6b1a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,93,4,0.4); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--fire-orange);
  color: var(--fire-orange);
}
.btn-outline:hover { background: var(--fire-orange); color: #fff; transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: var(--text-light);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 12px; }
.section-header p { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fire-orange);
  margin-bottom: 8px;
  display: block;
}

/* Stars */
.stars { display: flex; gap: 2px; }
.star { color: #ccc; font-size: 0.9rem; }
.star.filled { color: var(--gold); }

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(20,18,16,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
[data-theme="light"] .navbar { background: rgba(253,248,243,0.92); }

.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.3); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  white-space: nowrap;
}
.logo-icon { font-size: 1.6rem; }
.logo span { color: var(--fire-orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-light); background: rgba(255,255,255,0.07); }
.nav-links a.active { color: var(--fire-orange); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-toggle, .theme-toggle, .mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.1rem;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-toggle:hover, .theme-toggle:hover, .mobile-menu-btn:hover {
  color: var(--text-light);
  background: rgba(255,255,255,0.07);
}

.mobile-menu-btn { display: none; font-size: 1.4rem; }

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.search-overlay.open { opacity: 1; pointer-events: all; }

.search-box {
  width: 100%;
  max-width: 640px;
  padding: 0 24px;
}
.search-box h3 { color: #fff; margin-bottom: 20px; font-size: 1.4rem; }

.search-input-wrap {
  display: flex;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}
.search-input-wrap input {
  flex: 1;
  padding: 16px 20px;
  font-size: 1rem;
  border: none;
  outline: none;
  color: #333;
  font-family: var(--font-body);
}
.search-input-wrap button {
  background: var(--fire-orange);
  border: none;
  padding: 16px 24px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.search-close {
  position: absolute;
  top: 24px; right: 24px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-results {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.search-result-item {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  cursor: pointer;
  transition: var(--transition);
  color: #fff;
}
.search-result-item:hover { background: rgba(255,255,255,0.2); }
.search-result-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.search-result-item p { font-size: 0.8rem; opacity: 0.7; }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(20,18,16,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav.open { transform: translateY(0); }
[data-theme="light"] .mobile-nav { background: rgba(253,248,243,0.97); }

.mobile-nav a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
}
.mobile-nav a:hover { background: rgba(255,255,255,0.07); color: var(--fire-orange); }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0d0b09;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(193,18,31,0.15) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.hero-img {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1544025162-d76694265947?w=1600&q=80');
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) saturate(1.1);
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 60px 0;
}

.hero-text { }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,93,4,0.2);
  border: 1px solid rgba(232,93,4,0.4);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ff8c42;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  color: #fff;
}
.hero-title .highlight {
  color: var(--fire-orange);
  position: relative;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat span:first-child {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--fire-orange);
  font-family: var(--font-head);
}
.hero-stat span:last-child {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-featured-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  cursor: pointer;
}
.hero-featured-card:hover { transform: translateY(-4px); border-color: rgba(232,93,4,0.4); }

.hero-featured-card.large .card-img-wrap { height: 240px; }
.hero-featured-card .card-img-wrap { height: 160px; overflow: hidden; position: relative; }
.hero-featured-card .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.hero-featured-card:hover .card-img-wrap img { transform: scale(1.06); }

.hero-card-body { padding: 16px 20px; }
.hero-card-body .tag { margin-bottom: 10px; }
.hero-card-body h3 { font-size: 1rem; color: #fff; margin-bottom: 8px; line-height: 1.3; }
.hero-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}
.hero-card-meta span { display: flex; align-items: center; gap: 4px; }

.hero-mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* =========================================
   FEATURED RECIPE STRIP
   ========================================= */
.featured-strip {
  background: var(--fire-orange);
  padding: 20px 0;
  overflow: hidden;
}
.strip-inner {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: stripScroll 25s linear infinite;
}
.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.3);
}
.strip-item:last-child { border-right: none; }
@keyframes stripScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================
   RECIPE CARDS
   ========================================= */
.recipe-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.recipe-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(232,93,4,0.3);
}

.recipe-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.recipe-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.recipe-card:hover .recipe-card-img img { transform: scale(1.08); }

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
}

.card-badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.card-save {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.card-save:hover, .card-save.saved { background: var(--ember-red); }

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

.recipe-card-body h3 {
  font-size: 1.05rem;
  margin: 10px 0 8px;
  color: var(--text-light);
  line-height: 1.35;
}

.recipe-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.recipe-meta span { display: flex; align-items: center; gap: 4px; }

.recipe-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.rating { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-muted); }
.rating .stars { gap: 1px; }
.rating .stars .star { font-size: 0.75rem; }

.recipe-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fire-orange);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.recipe-link:hover { gap: 8px; }

/* Grid */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* =========================================
   BLOG CARDS
   ========================================= */
.blog-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.blog-card-img { height: 200px; overflow: hidden; }
.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.05); }

.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body .tag { margin-bottom: 12px; }
.blog-card-body h3 { font-size: 1.1rem; color: var(--text-light); margin-bottom: 10px; line-height: 1.35; }
.blog-card-body p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }

.blog-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.author { display: flex; align-items: center; gap: 8px; }
.author-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--fire-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================
   CATEGORIES SECTION
   ========================================= */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.category-card.beef::before { background: linear-gradient(135deg, rgba(183,28,28,0.15), transparent); }
.category-card.pork::before { background: linear-gradient(135deg, rgba(230,81,0,0.15), transparent); }
.category-card.chicken::before { background: linear-gradient(135deg, rgba(245,127,23,0.15), transparent); }
.category-card.seafood::before { background: linear-gradient(135deg, rgba(0,96,100,0.15), transparent); }
.category-card.veggie::before { background: linear-gradient(135deg, rgba(46,125,50,0.15), transparent); }
.category-card.sauces::before { background: linear-gradient(135deg, rgba(92,36,14,0.2), transparent); }

.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card:hover::before { opacity: 1; }
.category-card.active { border-color: var(--fire-orange); }

.cat-icon { font-size: 2.2rem; margin-bottom: 10px; display: block; }
.cat-name { font-size: 0.9rem; font-weight: 600; color: var(--text-light); margin-bottom: 4px; }
.cat-count { font-size: 0.75rem; color: var(--text-muted); }

/* =========================================
   FEATURED RECIPE (FULL WIDTH)
   ========================================= */
.featured-recipe {
  background: var(--smoke-mid);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.featured-recipe-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.featured-recipe-img { position: relative; overflow: hidden; }
.featured-recipe-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-recipe-img .fire-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: linear-gradient(135deg, #e85d04, #c1121f);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.featured-recipe-body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-recipe-body .meta-row {
  display: flex;
  gap: 24px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.meta-item { display: flex; flex-direction: column; gap: 2px; }
.meta-item span:first-child { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.meta-item span:last-child { font-size: 0.95rem; font-weight: 600; color: var(--text-light); }

.featured-recipe-body h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin: 8px 0; }
.featured-recipe-body p { color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.featured-recipe-body .actions { display: flex; gap: 14px; }

/* =========================================
   REGIONAL STYLES
   ========================================= */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.region-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 280px;
  cursor: pointer;
}

.region-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.region-card:hover img { transform: scale(1.1); }

.region-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
}

.region-flag { font-size: 1.8rem; margin-bottom: 8px; }
.region-name { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.region-desc { font-size: 0.8rem; color: rgba(255,255,255,0.75); line-height: 1.5; }
.region-tag {
  margin-top: 10px;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  background: rgba(232,93,4,0.8);
  color: #fff;
  border-radius: 20px;
}

/* =========================================
   NEWSLETTER
   ========================================= */
.newsletter-section {
  background: linear-gradient(135deg, #1a0d05 0%, #2d1a0e 50%, #1a0d05 100%);
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e85d04' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.newsletter-inner {
  position: relative;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.newsletter-icon { font-size: 3rem; margin-bottom: 16px; }
.newsletter-inner h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; color: #fff; }
.newsletter-inner p { color: rgba(255,255,255,0.7); margin-bottom: 32px; }

.newsletter-form {
  display: flex;
  gap: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  background: rgba(255,255,255,0.1);
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: #fff;
  font-family: var(--font-body);
  backdrop-filter: blur(8px);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button {
  background: var(--fire-orange);
  border: none;
  padding: 16px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { background: #ff6b1a; }
.newsletter-perks {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.newsletter-perks span { display: flex; align-items: center; gap: 6px; }

/* =========================================
   PAGE HERO
   ========================================= */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #0d0b09 0%, #1a120a 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: var(--smoke-dark);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-hero-content { text-align: center; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 14px; }
.page-hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 540px; margin: 0 auto 28px; }

.page-hero .ember {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.page-hero .ember-1 { background: rgba(232,93,4,0.2); top: -50px; left: 10%; }
.page-hero .ember-2 { background: rgba(193,18,31,0.15); bottom: 0; right: 5%; }

/* =========================================
   FILTERS BAR
   ========================================= */
.filters-bar {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 70px;
  background: var(--smoke-dark);
  z-index: 100;
  transition: background 0.3s;
}
.filters-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-right: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.filter-btn {
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.filter-btn:hover { border-color: var(--fire-orange); color: var(--fire-orange); }
.filter-btn.active { background: var(--fire-orange); border-color: var(--fire-orange); color: #fff; }

.filter-sep { width: 1px; height: 24px; background: var(--border); margin: 0 4px; }

/* =========================================
   RECIPE DETAIL PAGE
   ========================================= */
.recipe-hero {
  padding: 120px 0 0;
  background: linear-gradient(to bottom, #0d0b09, var(--smoke-dark));
}
.recipe-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.recipe-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 460px;
  position: relative;
}
.recipe-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.recipe-hero-text h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin: 12px 0 16px; }
.recipe-hero-text > p { color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }

.recipe-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
}
.recipe-stat {
  background: var(--card-bg);
  padding: 16px 14px;
  text-align: center;
}
.recipe-stat .label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 4px; }
.recipe-stat .value { font-size: 1rem; font-weight: 700; color: var(--text-light); }
.recipe-stat .unit { font-size: 0.72rem; color: var(--text-muted); }

.recipe-rating-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.recipe-rating-bar .big-stars .star { font-size: 1.3rem; }
.rating-text { font-size: 0.9rem; color: var(--text-muted); }
.rating-score { font-size: 1.4rem; font-weight: 800; color: var(--text-light); }

.recipe-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }

.recipe-content-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
  padding: 60px 0;
}

.recipe-sidebar {
  position: sticky;
  top: 90px;
}

.ingredients-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.ingredients-box h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ingredient-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.ingredient-item:last-child { border-bottom: none; }
.ingredient-amount { font-weight: 700; color: var(--fire-orange); min-width: 60px; }
.ingredient-name { color: var(--text-light); }

.servings-control {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.servings-control span { font-size: 0.85rem; font-weight: 600; flex: 1; }
.servings-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--smoke-mid);
  color: var(--text-light);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.servings-btn:hover { border-color: var(--fire-orange); color: var(--fire-orange); }
.servings-num { font-weight: 700; font-size: 1rem; min-width: 24px; text-align: center; }

.recipe-steps h2 { font-size: 1.6rem; margin-bottom: 32px; }

.step-item {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.step-item:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--fire-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  margin-top: 2px;
}
.step-content h4 { font-size: 1rem; margin-bottom: 8px; }
.step-content p { color: var(--text-muted); line-height: 1.7; font-size: 0.92rem; }
.step-tip {
  margin-top: 12px;
  background: rgba(232,93,4,0.1);
  border-left: 3px solid var(--fire-orange);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--text-light);
}
.step-tip strong { color: var(--fire-orange); }

/* =========================================
   COMMENTS
   ========================================= */
.comments-section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.comments-section h2 { font-size: 1.5rem; margin-bottom: 32px; }

.comment-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.comment-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--fire-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}
.comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-content { flex: 1; }
.comment-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.commenter-name { font-weight: 700; font-size: 0.9rem; }
.comment-date { font-size: 0.78rem; color: var(--text-muted); }
.comment-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.add-comment {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 32px;
}
.add-comment h3 { font-size: 1.1rem; margin-bottom: 20px; }
.comment-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--smoke-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--fire-orange); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }

.rate-recipe { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); }
.rate-stars { display: flex; gap: 4px; }
.rate-star { font-size: 1.2rem; cursor: pointer; color: #666; transition: var(--transition); }
.rate-star:hover, .rate-star.active { color: var(--gold); transform: scale(1.2); }

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img { border-radius: var(--radius); overflow: hidden; height: 500px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

.about-text .section-label { margin-bottom: 12px; }
.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 20px; }
.about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.value-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
}
.value-icon { font-size: 1.5rem; margin-bottom: 8px; }
.value-item h4 { font-size: 0.9rem; margin-bottom: 4px; }
.value-item p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-img { height: 220px; overflow: hidden; }
.team-img img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 20px; }
.team-info h3 { font-size: 1rem; margin-bottom: 4px; }
.team-info .role { font-size: 0.8rem; color: var(--fire-orange); font-weight: 600; margin-bottom: 10px; }
.team-info p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { font-size: 1.8rem; margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }

.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(232,93,4,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--fire-orange);
}
.contact-item h4 { font-size: 0.9rem; margin-bottom: 2px; }
.contact-item p { font-size: 0.85rem; color: var(--text-muted); }

.contact-form-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form-box h3 { font-size: 1.3rem; margin-bottom: 28px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: #0a0806;
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; margin-bottom: 24px; }

.social-links { display: flex; gap: 12px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--smoke-mid);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link:hover { background: var(--fire-orange); border-color: var(--fire-orange); color: #fff; }

.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; color: var(--text-light); }
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--fire-orange); padding-left: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--fire-orange); }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeUp 0.6s ease both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Particles */
.particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--fire-orange);
  opacity: 0;
  animation: float-up 4s ease-in infinite;
}
@keyframes float-up {
  0% { opacity: 0; transform: translateY(0) scale(1); }
  10% { opacity: 0.8; }
  90% { opacity: 0.1; }
  100% { opacity: 0; transform: translateY(-200px) scale(0); }
}

/* =========================================
   BREADCRUMB
   ========================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { transition: var(--transition); }
.breadcrumb a:hover { color: var(--fire-orange); }
.breadcrumb span { color: var(--text-muted); }

/* =========================================
   NOTIFICATION TOAST
   ========================================= */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-light);
  box-shadow: var(--shadow);
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  max-width: 320px;
}
.toast.show { transform: translateX(0); }
.toast-icon { font-size: 1.1rem; }
.toast-success { border-left: 3px solid #4caf50; }
.toast-info { border-left: 3px solid var(--fire-orange); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-cards { display: none; }
  .hero-text { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .featured-recipe-inner { grid-template-columns: 1fr; }
  .featured-recipe-img { height: 340px; }

  .recipe-hero-inner { grid-template-columns: 1fr; }
  .recipe-content-grid { grid-template-columns: 1fr; }
  .recipe-sidebar { position: static; }

  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }

  .section { padding: 56px 0; }
  .recipes-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .regions-grid { grid-template-columns: repeat(2, 1fr); }

  .recipe-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-form { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .regions-grid { grid-template-columns: 1fr; }
  .recipe-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-values { grid-template-columns: 1fr; }
  .contact-form-box { padding: 24px; }
  .featured-recipe-body { padding: 28px 24px; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--smoke-dark); }
::-webkit-scrollbar-thumb { background: var(--smoke-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--fire-orange); }

/* Selection */
::selection { background: rgba(232,93,4,0.35); color: var(--text-light); }
