/* ==========================================================================
   FOODS IN MY KITCHEN — Premium Stylesheet
   ========================================================================== */

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: rgba(139,158,124,0.2); color: #3A4A32; }

/* ===== CSS VARIABLES ===== */
:root {
  --cream: #FBF7F0;
  --warm-white: #FEFCF8;
  --sage: #8B9E7C;
  --sage-dark: #6B7E5C;
  --sage-light: #C5D4B8;
  --terracotta: #C67D5B;
  --terracotta-light: #E8A882;
  --charcoal: #2C2C2C;
  --warm-gray: #6B6560;
  --light-gray: #E8E2DA;
  --gold: #C9A96E;
  --gold-light: #E8D5A8;
  --blush: #F0DDD5;
  --deep-green: #3A4A32;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
}

/* ===== FOUNDATION ===== */
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-dark); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--sage); }

.container { max-width: 1400px; margin: 0 auto; padding: 0 3rem; }
.section { padding: 6rem 0; }
.section-alt { background: var(--warm-white); }

/* ===== TYPOGRAPHY ===== */
h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
h2 em, h1 em { color: var(--sage); font-style: italic; }

.section-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--warm-gray); font-size: 1.05rem; line-height: 1.7; }

.section-tag {
  font-family: var(--font-accent); font-size: 1rem; color: var(--sage);
  font-style: italic; margin-bottom: 1rem; display: flex; align-items: center;
  justify-content: center; gap: 0.8rem;
}
.section-tag-line { width: 40px; height: 1px; background: var(--sage); }

.section-badge {
  display: inline-block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--sage-dark); background: rgba(139,158,124,0.1);
  padding: 6px 16px; border-radius: 20px; margin-bottom: 12px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 2.2rem; border-radius: 50px; font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.03em; border: 1.5px solid transparent; cursor: pointer;
  transition: all 0.3s ease; text-decoration: none; font-family: inherit;
}
.btn-sm { padding: 0.7rem 1.5rem; font-size: 0.85rem; }
.btn-full { width: 100%; }
.btn-primary { background: var(--sage); color: #fff; border-color: var(--sage); }
.btn-primary:hover { background: var(--sage-dark); border-color: var(--sage-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(139,158,124,0.3); }
.btn-secondary { background: transparent; color: var(--charcoal); border-color: var(--light-gray); }
.btn-secondary:hover { border-color: var(--sage); color: var(--sage-dark); }
.btn-outline { background: transparent; color: var(--sage-dark); border-color: var(--light-gray); }
.btn-outline:hover { border-color: var(--sage); background: rgba(139,158,124,0.05); }
.btn-amazon { background: #FF9900; color: #000; border-color: #FF9900; font-weight: 700; }
.btn-amazon:hover { background: #E88A00; transform: translateY(-2px); color: #000; }

/* ===== GRIDS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 3rem; display: flex; align-items: center;
  transition: all 0.4s ease; background: transparent;
}
.navbar.scrolled {
  background: rgba(251,247,240,0.95); backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06); padding: 0.7rem 3rem;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1400px; margin: 0 auto; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--charcoal); }
.nav-logo span { color: var(--sage); font-style: italic; }
.nav-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--charcoal); letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--warm-gray); font-size: 0.85rem; font-weight: 500; text-decoration: none;
  text-transform: uppercase; letter-spacing: 0.12em; transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
  height: 1.5px; background: var(--sage); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--sage-dark); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--sage-dark); }
.nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-social { background: none; border: none; color: var(--warm-gray); cursor: pointer; padding: 6px; display: flex; transition: color 0.3s; }
.nav-social:hover { color: var(--sage); }
.mobile-menu-btn {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--charcoal); transition: all 0.3s; border-radius: 1px; }
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
}
.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 5rem 4rem; position: relative; z-index: 2;
}
.hero-tag {
  font-family: var(--font-accent); font-size: 1.1rem; color: var(--sage);
  font-style: italic; margin-bottom: 1.5rem; letter-spacing: 0.05em;
}
.hero-title { margin-bottom: 1.5rem; }
.hero-desc {
  font-size: 1.1rem; line-height: 1.7; color: var(--warm-gray);
  max-width: 440px; margin-bottom: 2.5rem;
}
.hero-buttons { display: flex; gap: 1rem; align-items: center; }
.hero-stats {
  display: flex; gap: 3rem; margin-top: 4rem; padding-top: 2rem;
  border-top: 1px solid var(--light-gray);
}
.hero-stats .stat-number { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--sage); }
.hero-stats .stat-label { font-size: 0.78rem; color: var(--warm-gray); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.2rem; }

.hero-visual { position: relative; overflow: hidden; }
.hero-image-grid {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 8px; height: 100%; padding: 6rem 2rem 2rem;
}
.hero-img { border-radius: 16px; overflow: hidden; position: relative; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hero-img:hover img { transform: scale(1.05); }
.hero-img:first-child { grid-row: span 2; border-radius: 24px; }
.hero-floating-badge {
  position: absolute; bottom: 3rem; left: -2rem; background: white;
  padding: 1rem 1.5rem; border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  display: flex; align-items: center; gap: 0.8rem; z-index: 3;
  animation: floatBadge 3s ease-in-out infinite;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.badge-icon {
  width: 42px; height: 42px; background: var(--sage-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.badge-text { font-weight: 600; font-size: 0.85rem; }
.badge-sub { font-size: 0.75rem; color: var(--warm-gray); }

/* Page hero (subpages) */
.page-hero {
  padding: 10rem 3rem 4rem; background: var(--cream); position: relative;
}
.page-hero-sm { padding: 9rem 3rem 3.5rem; }
.page-hero h1 { color: var(--charcoal); margin-bottom: 0.5rem; }
.page-hero p { color: var(--warm-gray); font-size: 1.1rem; font-family: var(--font-accent); font-style: italic; }
.page-hero .section-tag { margin-bottom: 1rem; }

/* ===== MARQUEE ===== */
.marquee-section { background: var(--deep-green); padding: 1.2rem 0; overflow: hidden; }
.marquee-track { display: flex; animation: marquee 30s linear infinite; width: max-content; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  flex-shrink: 0; padding: 0 3rem; font-family: var(--font-accent);
  font-size: 1.15rem; color: var(--sage-light); font-style: italic;
  white-space: nowrap; display: flex; align-items: center; gap: 1.5rem;
}
.marquee-dot { width: 6px; height: 6px; background: var(--sage); border-radius: 50%; flex-shrink: 0; }

/* ===== RECIPE CATEGORY CARDS ===== */
.recipe-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 4rem; }
.recipe-cat-card {
  border-radius: 20px; overflow: hidden; position: relative;
  aspect-ratio: 3/4; cursor: pointer;
}
.recipe-cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.recipe-cat-card:hover img { transform: scale(1.08); }
.recipe-cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,44,44,0.85) 0%, rgba(44,44,44,0.1) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem;
  transition: background 0.3s;
}
.recipe-cat-card:hover .recipe-cat-overlay {
  background: linear-gradient(to top, rgba(58,74,50,0.9) 0%, rgba(58,74,50,0.2) 60%, transparent 100%);
}
.recipe-cat-count { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--sage-light); margin-bottom: 0.5rem; }
.recipe-cat-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 0.3rem; }
.recipe-cat-desc { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* ===== RECIPE CARDS (with real images) ===== */
.featured-recipes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.recipe-card {
  background: white; border-radius: 20px; overflow: hidden;
  transition: all 0.4s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.recipe-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.recipe-card-image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.recipe-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.recipe-card:hover .recipe-card-image img { transform: scale(1.06); }
.recipe-card-badge {
  position: absolute; top: 1rem; left: 1rem; background: white;
  padding: 0.3rem 0.8rem; border-radius: 50px; font-size: 0.72rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage-dark);
}
.recipe-card-save {
  position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px;
  background: white; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; cursor: pointer; transition: all 0.3s; border: none; font-size: 1rem;
}
.recipe-card-save:hover { transform: scale(1.1); background: var(--blush); }
.recipe-card-body { padding: 1.5rem; }
.recipe-card-meta { display: flex; gap: 1rem; margin-bottom: 0.8rem; }
.recipe-card-meta span { font-size: 0.75rem; color: var(--warm-gray); display: flex; align-items: center; gap: 0.3rem; }
.recipe-card-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.3; }
.recipe-card-title a { color: var(--charcoal); text-decoration: none; }
.recipe-card-title a:hover { color: var(--sage-dark); }
.recipe-card-excerpt { font-size: 0.88rem; color: var(--warm-gray); line-height: 1.6; margin-bottom: 1rem; }
.recipe-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--light-gray); }
.recipe-card-author { display: flex; align-items: center; gap: 0.6rem; }
.author-avatar {
  width: 28px; height: 28px; border-radius: 50%; background: var(--sage-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: var(--sage-dark);
}
.author-name { font-size: 0.8rem; font-weight: 500; }
.recipe-card-link {
  font-size: 0.8rem; font-weight: 600; color: var(--sage); text-decoration: none;
  display: flex; align-items: center; gap: 0.3rem; transition: gap 0.3s;
}
.recipe-card-link:hover { gap: 0.6rem; }

/* Old-style recipe cards (grid fallback) */
.recipe-card-img {
  height: 220px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.recipe-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.recipe-card:hover .recipe-card-img img { transform: scale(1.06); }
.recipe-emoji { font-size: 4rem; }
.recipe-desc { color: var(--warm-gray); font-size: 0.88rem; margin-bottom: 12px; line-height: 1.6; }
.recipe-meta { display: flex; gap: 16px; font-size: 0.78rem; color: var(--warm-gray); flex-wrap: wrap; }
.recipe-tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.tag { display: inline-block; padding: 4px 10px; background: rgba(139,158,124,0.1); color: var(--sage-dark); border-radius: 6px; font-size: 0.75rem; font-weight: 500; text-decoration: none; }
.tag:hover { background: rgba(139,158,124,0.2); }
.badge { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 5px 12px; border-radius: 6px; }
.badge-category { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--sage-dark); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

/* ===== RECIPE FILTERS ===== */
.recipe-filters { margin-bottom: 40px; }
.search-bar {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px;
  background: white; border: 1.5px solid var(--light-gray); border-radius: 50px;
  margin-bottom: 20px; transition: border-color 0.3s;
}
.search-bar:focus-within { border-color: var(--sage); }
.search-bar svg { color: var(--warm-gray); flex-shrink: 0; }
.search-input { border: none; outline: none; width: 100%; font-size: 1rem; font-family: inherit; background: transparent; color: var(--charcoal); }
.category-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-btn {
  padding: 8px 18px; border: 1.5px solid var(--light-gray); border-radius: 50px;
  background: white; color: var(--warm-gray); font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all 0.3s; font-family: inherit;
}
.filter-btn:hover { border-color: var(--sage); color: var(--sage-dark); }
.filter-btn.active { background: var(--sage); color: #fff; border-color: var(--sage); }
.results-count { font-size: 0.85rem; color: var(--warm-gray); }
.no-results { text-align: center; padding: 60px 20px; color: var(--warm-gray); font-size: 1.1rem; }

/* ===== RECIPE DETAIL ===== */
.recipe-hero { height: 400px; position: relative; overflow: hidden; }
.recipe-hero img { width: 100%; height: 100%; object-fit: cover; }
.recipe-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(44,44,44,0.6), transparent); }
.recipe-hero-inner { text-align: center; }
.recipe-detail { padding-bottom: 80px; }
.recipe-header { padding: 40px 0; border-bottom: 1px solid var(--light-gray); margin-bottom: 40px; }
.breadcrumb { display: inline-block; color: var(--warm-gray); font-size: 0.85rem; margin-bottom: 16px; text-decoration: none; }
.breadcrumb:hover { color: var(--sage); }
.recipe-header h1 { margin: 12px 0 16px; }
.recipe-intro { color: var(--warm-gray); font-size: 1.05rem; max-width: 600px; margin-bottom: 24px; line-height: 1.7; }
.recipe-info-bar { display: flex; gap: 32px; padding: 20px 0; flex-wrap: wrap; }
.info-item { display: flex; flex-direction: column; }
.info-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--warm-gray); margin-bottom: 2px; }
.info-value { font-size: 1.1rem; font-weight: 600; color: var(--sage-dark); }
.recipe-actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

.recipe-content { display: grid; grid-template-columns: 320px 1fr; gap: 48px; }
.recipe-sidebar { display: flex; flex-direction: column; gap: 24px; }

.ingredients-card, .nutrition-card {
  background: white; border: 1px solid var(--light-gray); border-radius: 20px; padding: 24px;
}
.ingredients-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ingredients-header h3 { margin: 0; }
.serving-adjuster { display: flex; align-items: center; gap: 12px; }
.adj-btn {
  width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--light-gray);
  background: white; cursor: pointer; font-size: 1.1rem; display: flex;
  align-items: center; justify-content: center; transition: all 0.2s; font-family: inherit;
}
.adj-btn:hover { border-color: var(--sage); color: var(--sage-dark); }
.ingredients-list { list-style: none; }
.ingredients-list li { padding: 8px 0; border-bottom: 1px solid rgba(232,226,218,0.5); }
.ingredients-list li:last-child { border-bottom: none; }
.ingredients-list label { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 0.95rem; }
.ingredients-list input[type="checkbox"] { accent-color: var(--sage); width: 18px; height: 18px; }
.ingredients-list input[type="checkbox"]:checked + .ingredient { text-decoration: line-through; color: var(--warm-gray); }

.nutrition-card h3 { margin-bottom: 4px; }
.nutrition-note { font-size: 0.8rem; color: var(--warm-gray); margin-bottom: 16px; }
.nutrition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.nutrition-item { text-align: center; padding: 12px 0; background: var(--cream); border-radius: 12px; }
.nutrition-val { display: block; font-size: 1.2rem; font-weight: 700; color: var(--sage-dark); }
.nutrition-label { font-size: 0.7rem; color: var(--warm-gray); text-transform: uppercase; letter-spacing: 0.5px; }

.recipe-main h3 { margin-bottom: 24px; }
.instructions-list { list-style: none; counter-reset: step; }
.instructions-list li { display: flex; gap: 20px; margin-bottom: 24px; align-items: flex-start; }
.step-number {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--sage); color: #fff; display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 0.95rem;
}
.step-text { padding-top: 8px; line-height: 1.7; }

.recipe-tips { background: var(--cream); border-radius: 16px; padding: 24px; margin: 32px 0; border-left: 4px solid var(--terracotta); }
.recipe-tips h4 { margin-bottom: 8px; }
.recipe-tags-section { margin-top: 32px; }
.recipe-tags-section h4 { margin-bottom: 12px; }

.related-recipes { padding-top: 60px; border-top: 1px solid var(--light-gray); margin-top: 60px; }
.related-recipes h3 { text-align: center; margin-bottom: 32px; font-size: 1.8rem; }

/* ===== INSTAGRAM SECTION ===== */
.instagram-section { padding: 6rem 0; background: var(--cream); overflow: hidden; }
.insta-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; }
.insta-header-left h2 { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; line-height: 1.15; }
.insta-header-left h2 em { color: var(--sage); font-style: italic; }
.insta-header-left p { color: var(--warm-gray); font-size: 1.05rem; margin-top: 0.5rem; }
.insta-follow-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: white; padding: 0.8rem 1.8rem; border-radius: 50px; text-decoration: none;
  font-weight: 600; font-size: 0.85rem; letter-spacing: 0.03em;
  transition: all 0.3s; border: none; cursor: pointer;
}
.insta-follow-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(131,58,180,0.3); color: white; }

.insta-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr); gap: 10px;
}
.insta-post { position: relative; border-radius: 14px; overflow: hidden; cursor: pointer; aspect-ratio: 1; }
.insta-post:first-child { grid-column: span 2; grid-row: span 2; border-radius: 20px; }
.insta-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.insta-post:hover img { transform: scale(1.08); }
.insta-post-overlay {
  position: absolute; inset: 0; background: rgba(44,44,44,0.6);
  opacity: 0; transition: opacity 0.3s; display: flex;
  align-items: center; justify-content: center; gap: 1.5rem;
  color: white; font-size: 0.85rem; font-weight: 600;
}
.insta-post:hover .insta-post-overlay { opacity: 1; }
.insta-stat { display: flex; align-items: center; gap: 0.4rem; }

/* Old IG grid fallback */
.ig-item {
  aspect-ratio: 1; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; position: relative; overflow: hidden; cursor: pointer;
  transition: transform 0.3s ease;
}
.ig-item:hover { transform: scale(1.03); }
.ig-item-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }

/* ===== SHOP SECTION ===== */
.shop-section {
  padding: 6rem 0; background: var(--deep-green); color: white;
  position: relative; overflow: hidden;
}
.shop-section::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139,158,124,0.15) 0%, transparent 70%); border-radius: 50%;
}
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 2; }
.shop-content .section-tag { color: var(--sage-light); justify-content: flex-start; }
.shop-content .section-tag-line { background: var(--sage-light); }
.shop-content h2 { color: white; margin-bottom: 1.5rem; }
.shop-content h2 em { color: var(--sage-light); }
.shop-content p { color: rgba(255,255,255,0.7); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }
.shop-features { list-style: none; margin-bottom: 2rem; }
.shop-features li { padding: 0.5rem 0; color: rgba(255,255,255,0.85); font-size: 0.95rem; display: flex; align-items: center; gap: 0.8rem; }
.shop-features li::before {
  content: '✓'; width: 24px; height: 24px; background: var(--sage); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: white; flex-shrink: 0;
}
.shop-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-shop {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2rem;
  border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.03em; transition: all 0.3s; cursor: pointer; border: none;
}
.btn-shop-primary { background: var(--sage); color: white; }
.btn-shop-primary:hover { background: var(--sage-light); color: var(--deep-green); }
.btn-shop-outline { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-shop-outline:hover { border-color: var(--sage-light); color: var(--sage-light); }

.shop-books { display: flex; gap: 2rem; justify-content: center; }
.book-card {
  background: white; border-radius: 20px; padding: 2.5rem; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15); transition: transform 0.3s; width: 260px;
}
.book-card:hover { transform: translateY(-6px); }
.book-card-icon { font-size: 3.5rem; margin-bottom: 1.5rem; display: block; }
.book-card h4 { font-family: var(--font-display); font-size: 1.15rem; color: var(--charcoal); margin-bottom: 0.5rem; }
.book-card .book-price { font-size: 1.8rem; font-weight: 700; color: var(--sage-dark); margin-bottom: 1rem; }
.book-card .book-type { font-size: 0.8rem; color: var(--warm-gray); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }

/* Product cards (shop page) */
.product-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.04); transition: all 0.3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.product-img {
  height: 250px; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px; position: relative;
}
.product-badge { position: absolute; top: 12px; right: 12px; background: var(--sage); color: #fff; padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.product-body { padding: 28px; }
.product-body h3 { margin-bottom: 12px; }
.product-body p { color: var(--warm-gray); font-size: 0.95rem; margin-bottom: 16px; line-height: 1.7; }
.product-price { font-size: 2rem; font-weight: 700; color: var(--sage-dark); margin-bottom: 20px; font-family: var(--font-display); }
.feature-list { list-style: none; margin-bottom: 28px; }
.feature-list li { padding: 6px 0; color: var(--sage-dark); font-weight: 500; font-size: 0.9rem; }

/* ===== AFFILIATE CARDS ===== */
.affiliate-card {
  background: white; border-radius: 20px; padding: 24px; text-align: center;
  transition: all 0.3s; box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.affiliate-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.affiliate-card-img {
  width: 100%; height: 140px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-size: 3rem; margin-bottom: 16px;
}
.affiliate-stars { color: #FF9900; margin-bottom: 8px; font-size: 0.9rem; letter-spacing: 2px; }
.affiliate-card h4 { margin-bottom: 8px; font-family: var(--font-display); }
.affiliate-card p { color: var(--warm-gray); font-size: 0.85rem; margin-bottom: 16px; line-height: 1.5; }
.affiliate-disclosure {
  background: rgba(139,158,124,0.08); border: 1px solid rgba(139,158,124,0.15); border-radius: 14px;
  padding: 16px 24px; margin-bottom: 40px; font-size: 0.85rem; color: var(--warm-gray);
}

/* ===== NEWSLETTER ===== */
.newsletter-section { background: var(--deep-green); padding: 6rem 3rem; }
.newsletter-inner { text-align: center; max-width: 500px; margin: 0 auto; }
.newsletter-inner h2 { color: #fff; margin-bottom: 0.5rem; }
.newsletter-inner p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-family: var(--font-accent); font-style: italic; font-size: 1.05rem; }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-form input {
  flex: 1; padding: 14px 20px; border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50px; background: rgba(255,255,255,0.1); color: #fff;
  font-size: 0.95rem; font-family: inherit; outline: none; transition: border-color 0.3s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { border-color: rgba(255,255,255,0.5); }
.newsletter-form .btn-primary { background: var(--sage-light); color: var(--deep-green); border-color: var(--sage-light); white-space: nowrap; }
.newsletter-form .btn-primary:hover { background: white; color: var(--deep-green); }

/* ===== ABOUT ===== */
.about-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; }
.about-image-stack { position: relative; height: 550px; }
.about-img-main {
  position: absolute; top: 0; left: 0; width: 75%; height: 80%;
  border-radius: 24px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
  position: absolute; bottom: 0; right: 0; width: 55%; height: 55%;
  border-radius: 20px; overflow: hidden; border: 6px solid var(--cream);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.about-img-placeholder {
  height: 400px; border-radius: 24px; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { color: var(--warm-gray); margin-bottom: 1.2rem; line-height: 1.8; font-size: 1.05rem; }

.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.about-feature { display: flex; align-items: flex-start; gap: 0.8rem; }
.about-feature-icon {
  width: 36px; height: 36px; background: var(--sage-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; margin-top: 2px;
}
.about-feature-text h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.2rem; }
.about-feature-text p { font-size: 0.82rem; margin-bottom: 0; line-height: 1.5; }

.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding: 3rem; background: white; border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 2.5rem; font-weight: 700; color: var(--sage); font-family: var(--font-display); }
.stat-label { font-size: 0.8rem; color: var(--warm-gray); text-transform: uppercase; letter-spacing: 0.1em; }

.philosophy-card { text-align: center; padding: 2.5rem; background: white; border-radius: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.philosophy-icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.philosophy-card h3 { margin-bottom: 0.5rem; }
.philosophy-card p { color: var(--warm-gray); font-size: 0.95rem; line-height: 1.6; }

/* ===== CONTACT ===== */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { color: var(--warm-gray); margin-bottom: 2rem; line-height: 1.7; font-size: 1.05rem; }
.contact-links { margin-bottom: 2rem; }
.contact-link-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: 0.95rem; }
.contact-note { background: var(--cream); padding: 20px; border-radius: 14px; }
.contact-note h4 { margin-bottom: 8px; }
.contact-note p { color: var(--warm-gray); font-size: 0.9rem; }

.contact-form {
  background: white; padding: 2.5rem; border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.9rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--light-gray); border-radius: 12px;
  font-size: 0.95rem; font-family: inherit; transition: border-color 0.3s; outline: none;
  background: var(--cream);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--sage); }
.form-group textarea { resize: vertical; }

/* ===== FOOTER ===== */
.footer { background: var(--deep-green); color: rgba(255,255,255,0.7); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-logo { font-size: 1.5rem; }
.footer-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: #fff; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; line-height: 1.6; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav h4 { color: #fff; font-size: 0.9rem; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-nav a { color: rgba(255,255,255,0.6); font-size: 0.9rem; text-decoration: none; transition: color 0.3s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.4); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; width: 48px; height: 48px;
  border-radius: 50%; background: var(--sage); color: #fff; border: none;
  font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden;
  transition: all 0.3s; z-index: 50; box-shadow: 0 4px 16px rgba(139,158,124,0.3);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--sage-dark); transform: translateY(-3px); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.revealed { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .container { padding: 0 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .recipe-categories { grid-template-columns: repeat(2, 1fr); }
  .featured-recipes { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 8rem 3rem 3rem; text-align: center; align-items: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { height: 400px; }
  .hero-image-grid { padding: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; }
  .about-image-stack { height: 350px; }
  .shop-grid { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: auto; }
  .insta-post:first-child { grid-column: span 2; grid-row: span 2; }
  .insta-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 2rem; }
  .section { padding: 4rem 0; }
  .container { padding: 0 1.5rem; }

  .navbar { padding: 0.8rem 1.5rem; background: rgba(251,247,240,0.95); backdrop-filter: blur(20px); }
  .navbar.scrolled { padding: 0.6rem 1.5rem; }
  .nav-links {
    display: none; position: fixed; top: 60px; left: 0; right: 0;
    background: var(--cream); flex-direction: column; padding: 2rem;
    gap: 1rem; box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; text-transform: none; letter-spacing: 0; }
  .nav-links a::after { display: none; }
  .nav-actions { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero-visual { display: none; }
  .grid-2, .grid-3, .featured-recipes { grid-template-columns: 1fr; }
  .recipe-categories { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
  .insta-post:first-child { grid-column: span 1; grid-row: span 1; }
  .contact-split { grid-template-columns: 1fr; }
  .recipe-content { grid-template-columns: 1fr; }
  .recipe-info-bar { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .about-stats { grid-template-columns: repeat(2, 1fr); padding: 2rem; }
  .about-image-stack { height: 280px; }
  .marquee-item { padding: 0 2rem; font-size: 1rem; }
  .page-hero { padding: 7rem 1.5rem 3rem; }
  .page-hero-sm { padding: 7rem 1.5rem 2.5rem; }
  .shop-books { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.6rem; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-categories { grid-template-columns: 1fr 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .hero-stats { flex-direction: column; gap: 1.5rem; align-items: center; }
}

/* ===== PRINT ===== */
@media print {
  .navbar, .footer, .back-to-top, .recipe-actions, .related-recipes, .recipe-tags-section, .marquee-section { display: none !important; }
  .recipe-content { grid-template-columns: 1fr; }
  body { background: #fff; color: #000; }
  .recipe-card, .ingredients-card, .nutrition-card { box-shadow: none; border: 1px solid #ccc; }
}
