/* ═══════════════════════════════════════════════════════
   FoodieBites.net — Recipe & Cooking Content Platform
   Static site hosted on Cloudflare Pages
   ═══════════════════════════════════════════════════════ */

/* ── Google Fonts ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Nunito:wght@400;500;600;700&family=Caveat:wght@500;600&display=swap');

/* ── CSS Variables ────────────────────────────────────── */
:root {
  /* Brand Colors */
  --terracotta:       #C1512D;
  --terracotta-dark:  #A3421F;
  --terracotta-light: #E8734E;
  --saffron:          #E59B2B;
  --saffron-light:    #F2C94C;
  --cream:            #FFF8F0;
  --cream-dark:       #F5EDE3;
  --warm-white:       #FFFCF8;
  --charcoal:         #2D2926;
  --charcoal-light:   #4A4543;
  --warm-gray:        #8B8380;
  --warm-gray-light:  #C4BDBA;
  --olive:            #6B7D3A;
  --olive-light:      #8FA04E;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Nunito', 'Segoe UI', sans-serif;
  --font-accent:  'Caveat', cursive;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(45,41,38,0.08);
  --shadow-md:   0 4px 12px rgba(45,41,38,0.1);
  --shadow-lg:   0 8px 24px rgba(45,41,38,0.12);
  --shadow-lift: 0 12px 32px rgba(45,41,38,0.15);

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Layout */
  --max-width: 1200px;
  --header-h:  72px;
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--terracotta); text-decoration: none; transition: color .2s; }
a:hover { color: var(--terracotta-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Utilities ────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-lg); }
.section { padding: var(--space-3xl) 0; }
.section--cream { background: var(--cream); }
.section--dark  { background: var(--charcoal); color: #fff; }
.section--dark a { color: var(--saffron-light); }
.text-center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── Typography ───────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; color: var(--charcoal); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-subtitle {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--terracotta);
  margin-bottom: var(--space-xs);
  display: block;
}
.section-title { margin-bottom: var(--space-lg); }
.section-desc {
  color: var(--warm-gray);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
}
.btn--primary {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}
.btn--primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--secondary {
  background: transparent;
  color: var(--terracotta);
  border-color: var(--terracotta);
}
.btn--secondary:hover {
  background: var(--terracotta);
  color: #fff;
}
.btn--saffron {
  background: var(--saffron);
  color: var(--charcoal);
  border-color: var(--saffron);
}
.btn--saffron:hover {
  background: var(--saffron-light);
  border-color: var(--saffron-light);
  transform: translateY(-1px);
}
.btn--white {
  background: #fff;
  color: var(--terracotta);
  border-color: #fff;
}
.btn--white:hover {
  background: var(--cream);
  border-color: var(--cream);
}
.btn--sm { padding: 8px 18px; font-size: 0.85rem; }

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(255,252,248,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(196,189,186,0.3);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--terracotta); }
.logo-icon { font-size: 1.8rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.nav-links a {
  color: var(--charcoal-light);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--terracotta); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--warm-gray);
  padding: 4px 10px;
  border: 1px solid var(--warm-gray-light);
  border-radius: 20px;
}
.lang-toggle .active-lang { font-weight: 700; color: var(--terracotta); }

.header-search {
  position: relative;
}
.header-search input {
  padding: 8px 14px 8px 36px;
  border: 1px solid var(--warm-gray-light);
  border-radius: 24px;
  background: var(--cream);
  width: 180px;
  font-size: 0.88rem;
  transition: all .25s;
}
.header-search input:focus {
  outline: none;
  border-color: var(--terracotta);
  width: 220px;
  background: #fff;
}
.header-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--warm-gray);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  transition: all .3s;
  border-radius: 2px;
}

/* ── Hero Section ─────────────────────────────────────── */
.hero {
  margin-top: var(--header-h);
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-3xl) 0;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  color: var(--terracotta);
  margin-bottom: var(--space-sm);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-lg);
  line-height: 1.15;
}
.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--charcoal-light);
  margin-bottom: var(--space-xl);
  max-width: 480px;
}
.hero-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.hero-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.hero-badge-label {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  color: var(--terracotta);
}
.hero-badge-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

/* ── Recipe Cards ─────────────────────────────────────── */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.recipe-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.recipe-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.recipe-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.recipe-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.recipe-card:hover .recipe-card__image img { transform: scale(1.05); }
.recipe-card__cuisine {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--terracotta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}
.recipe-card__difficulty {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
}
.recipe-card__difficulty--easy { color: var(--olive); }
.recipe-card__difficulty--medium { color: var(--saffron); }
.recipe-card__difficulty--hard { color: var(--terracotta); }
.recipe-card__body { padding: var(--space-lg); }
.recipe-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: 1.35;
}
.recipe-card__title a { color: var(--charcoal); }
.recipe-card__title a:hover { color: var(--terracotta); }
.recipe-card__excerpt {
  color: var(--warm-gray);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recipe-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.82rem;
  color: var(--warm-gray);
  padding-top: var(--space-md);
  border-top: 1px solid var(--cream-dark);
}
.recipe-card__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Cuisine Section ──────────────────────────────────── */
.cuisine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.cuisine-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform .3s;
}
.cuisine-card:hover { transform: scale(1.03); }
.cuisine-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cuisine-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(45,41,38,0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
}
.cuisine-card__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}
.cuisine-card__count {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
}

/* ── YouTube / Videos Section ─────────────────────────── */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}
.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  transition: transform .3s;
}
.video-card:hover { transform: translateY(-4px); }
.video-card__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.video-card__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.video-card__body {
  padding: var(--space-lg);
}
.video-card__lang {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: var(--space-sm);
}
.video-card__lang--en { background: var(--terracotta); color: #fff; }
.video-card__lang--te { background: var(--saffron); color: var(--charcoal); }
.video-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.channel-links {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  margin-top: var(--space-2xl);
}
.channel-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .25s;
}
.channel-link:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.channel-link svg { width: 24px; height: 24px; fill: #FF0000; }

/* ── Newsletter Strip ─────────────────────────────────── */
.newsletter {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  padding: var(--space-2xl) 0;
  color: #fff;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.newsletter h3 {
  font-size: 1.5rem;
  color: #fff;
}
.newsletter p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}
.newsletter-form {
  display: flex;
  gap: var(--space-sm);
}
.newsletter-form input[type="email"] {
  padding: 12px 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.95rem;
  min-width: 280px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--saffron-light);
  background: rgba(255,255,255,0.18);
}
.newsletter-msg {
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  min-height: 20px;
}

/* ── Single Recipe Page ───────────────────────────────── */
.recipe-hero {
  margin-top: var(--header-h);
  position: relative;
  height: 400px;
  overflow: hidden;
}
.recipe-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recipe-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(45,41,38,0.7) 100%);
}

.recipe-content {
  max-width: 900px;
  margin: -80px auto 0;
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: var(--space-2xl) var(--space-2xl) var(--space-3xl);
  box-shadow: var(--shadow-lg);
}
.recipe-tags {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}
.recipe-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  background: var(--cream);
  color: var(--terracotta);
}
.recipe-tag--diet { background: var(--olive-light); color: #fff; }

.recipe-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: var(--space-lg);
}
.recipe-meta-bar {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-lg);
  background: var(--cream);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}
.recipe-meta-item {
  text-align: center;
  flex: 1;
  min-width: 100px;
}
.recipe-meta-item__icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.recipe-meta-item__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--warm-gray);
  margin-bottom: 2px;
}
.recipe-meta-item__value {
  font-weight: 700;
  font-size: 1rem;
}

.recipe-section { margin-bottom: var(--space-2xl); }
.recipe-section h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--cream-dark);
}

.ingredients-list {
  list-style: none;
}
.ingredients-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}
.ingredients-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

.instructions-list {
  counter-reset: step;
}
.instructions-list li {
  counter-increment: step;
  padding: var(--space-lg) 0 var(--space-lg) 56px;
  border-bottom: 1px solid var(--cream-dark);
  position: relative;
  font-size: 0.95rem;
  line-height: 1.7;
}
.instructions-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: var(--space-lg);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video Tabs */
.video-tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.video-tab {
  padding: 10px 24px;
  border: 2px solid var(--warm-gray-light);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all .2s;
}
.video-tab.active, .video-tab:hover {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: #fff;
}
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--charcoal);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-panel { display: none; }
.video-panel.active { display: block; }

/* ── Archive / Listing ────────────────────────────────── */
.archive-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-2xl);
  margin-top: var(--header-h);
  padding-top: var(--space-2xl);
}

/* Sidebar */
.sidebar { position: sticky; top: calc(var(--header-h) + var(--space-xl)); align-self: start; }
.sidebar-widget {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
}
.sidebar-widget h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--cream-dark);
}
.filter-list li {
  padding: 8px 0;
}
.filter-list a {
  color: var(--charcoal-light);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
}
.filter-list a:hover { color: var(--terracotta); }
.filter-count {
  background: var(--cream);
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 0.78rem;
  color: var(--warm-gray);
}

.yt-cta-box {
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
}
.yt-cta-box h4 { color: #fff; border: none; margin-bottom: var(--space-sm); }
.yt-cta-box p { font-size: 0.88rem; color: rgba(255,255,255,0.85); margin-bottom: var(--space-md); }

/* Search */
.sidebar-search {
  position: relative;
}
.sidebar-search input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1px solid var(--warm-gray-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--cream);
}
.sidebar-search input:focus { outline: none; border-color: var(--terracotta); background: #fff; }
.sidebar-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--warm-gray);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}
.pagination a, .pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--warm-gray-light);
  color: var(--charcoal-light);
  transition: all .2s;
}
.pagination a:hover { border-color: var(--terracotta); color: var(--terracotta); }
.pagination .current {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
}

/* ── Contact Page ─────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-top: var(--header-h);
  padding: var(--space-3xl) 0;
}
.contact-info h1 { margin-bottom: var(--space-lg); }
.contact-info p { color: var(--charcoal-light); margin-bottom: var(--space-lg); font-size: 1.05rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}
.contact-detail svg {
  width: 20px;
  height: 20px;
  color: var(--terracotta);
  flex-shrink: 0;
}

.contact-form {
  background: #fff;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: var(--space-lg);
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
  color: var(--charcoal);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--warm-gray-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: border-color .2s;
  background: var(--warm-white);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: #fff;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-msg {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  min-height: 24px;
}
.form-msg--success { color: var(--olive); }
.form-msg--error { color: var(--terracotta); }

/* ── About Page ───────────────────────────────────────── */
.about-hero {
  margin-top: var(--header-h);
  background: var(--cream);
  padding: var(--space-3xl) 0;
  text-align: center;
}
.about-hero h1 { margin-bottom: var(--space-lg); }
.about-hero p { max-width: 640px; margin: 0 auto; color: var(--charcoal-light); font-size: 1.1rem; }

.about-section {
  padding: var(--space-3xl) 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.about-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.about-grid--reverse { direction: rtl; }
.about-grid--reverse > * { direction: ltr; }

/* ── Page Banner ──────────────────────────────────────── */
.page-banner {
  margin-top: var(--header-h);
  background: var(--cream);
  padding: var(--space-2xl) 0;
  text-align: center;
}
.page-banner h1 { margin-bottom: var(--space-sm); }
.page-banner p { color: var(--warm-gray); }

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  margin-bottom: var(--space-md);
  justify-content: center;
}
.breadcrumbs a { color: var(--warm-gray); }
.breadcrumbs a:hover { color: var(--terracotta); }
.breadcrumbs span { color: var(--warm-gray-light); }

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: var(--space-3xl) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo {
  color: #fff;
  margin-bottom: var(--space-md);
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}
.footer-col h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
}
.footer-col ul li { margin-bottom: var(--space-sm); }
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--saffron-light); }
.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
}
.footer-social a:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
}
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  padding: var(--space-lg) 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ── Related Recipes ──────────────────────────────────── */
.related-recipes {
  background: var(--cream);
  padding: var(--space-3xl) 0;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { max-width: 500px; margin: 0 auto; }
  .recipes-grid { grid-template-columns: repeat(2, 1fr); }
  .cuisine-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .archive-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav-links, .header-search, .lang-toggle { display: none; }
  .hamburger { display: block; }

  /* Mobile nav */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: var(--warm-white);
    padding: var(--space-xl);
    gap: var(--space-lg);
    z-index: 999;
    animation: slideIn .3s ease;
  }
  .nav-links.open .lang-toggle,
  .nav-links.open .header-search { display: flex; }
  @keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .hero { min-height: auto; padding: var(--space-xl) 0; }
  .hero-inner { gap: var(--space-xl); }
  .hero-image { height: 280px; }
  .hero-image img { height: 280px; }
  .hero-actions { flex-direction: column; }

  .recipes-grid { grid-template-columns: 1fr; }
  .cuisine-grid { grid-template-columns: 1fr 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-grid, .about-grid--reverse { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }

  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input[type="email"] { min-width: 100%; }
  .channel-links { flex-direction: column; align-items: center; }

  .recipe-content { margin: -40px var(--space-md) 0; padding: var(--space-xl); }
  .recipe-meta-bar { gap: var(--space-md); }
  .recipe-hero { height: 280px; }
}

@media (max-width: 480px) {
  .cuisine-grid { grid-template-columns: 1fr; }
  .recipe-card__image { height: 180px; }
  .hero h1 { font-size: 1.8rem; }
}

/* ── Print ────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .newsletter, .video-tabs, .video-embed,
  .sidebar, .related-recipes, .hero-actions { display: none !important; }
  .recipe-content { margin: 0; padding: 20px; box-shadow: none; }
  body { font-size: 12pt; color: #000; }
}
