/* ─── CSS VARIABLES ─── */
:root {
  --cream: #faf6f0;
  --warm-white: #fffef9;
  --clay: #c4604a;
  --clay-dark: #a84d39;
  --forest: #2d4a3e;
  --sage: #7a9e8e;
  --gold: #d4a843;
  --charcoal: #1e1e1e;
  --mid: #555;
  --light: #999;
  --border: #e8e0d4;
  --card-bg: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.13);
  --radius: 16px;
  --radius-sm: 8px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 72px;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 900; color: var(--clay); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--mid);
  transition: color .2s; padding: 4px 0;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--clay); transition: width .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--clay); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--clay); color: #fff;
  padding: 10px 24px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; transition: background .2s;
}
.nav-cta:hover { background: var(--clay-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; }
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--warm-white); border-top: 1px solid var(--border);
  padding: 1rem 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: .8rem 0; border-bottom: 1px solid var(--border); font-weight: 500; color: var(--mid); }
.mobile-menu a:last-child { border-bottom: none; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--clay); color: #fff;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  transition: background .2s, transform .2s; display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; border: none;
}
.btn-primary:hover { background: var(--clay-dark); transform: translateY(-2px); }
.btn-secondary {
  background: rgba(255,255,255,.12); color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  transition: background .2s, transform .2s; display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
}
.btn-secondary:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }

/* ── SECTION ── */
section { padding: 80px 2rem; }
.container { max-width: 1280px; margin: 0 auto; }
.section-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--clay); margin-bottom: .6rem;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .8rem; }
.section-sub { color: var(--mid); font-size: 1rem; max-width: 540px; margin-bottom: 2.5rem; }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--forest) 0%, #3a6350 100%);
  color: #fff; padding: 100px 2rem 60px; text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: .5rem; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 480px; margin: 0 auto; }
.page-hero .section-label { color: var(--gold); }

/* ── RECIPE CARD ── */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.recipe-card {
  background: var(--card-bg); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  border: 1px solid var(--border);
  display: block;
}
.recipe-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.recipe-card-img { width: 100%; height: 220px; object-fit: cover; }
.recipe-card-body { padding: 1.2rem 1.4rem 1.4rem; }
.recipe-tag {
  display: inline-block;
  background: var(--cream); color: var(--clay);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 50px; margin-bottom: .6rem;
  border: 1px solid var(--border);
}
.recipe-card-body h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.recipe-card-body p { font-size: 0.87rem; color: var(--mid); margin-bottom: .9rem; }
.recipe-meta { display: flex; gap: 1rem; font-size: 0.78rem; color: var(--light); }
.recipe-meta span { display: flex; align-items: center; gap: 4px; }

/* ── NEWSLETTER ── */
.newsletter { background: var(--clay); }
.newsletter .section-title { color: #fff; }
.newsletter p { color: rgba(255,255,255,.8); }
.nl-form { display: flex; gap: 1rem; max-width: 500px; margin-top: 1.5rem; }
.nl-form input {
  flex: 1; padding: 14px 20px; border-radius: 50px;
  border: none; font-size: 0.95rem; outline: none; font-family: inherit;
}
.nl-form button {
  background: var(--charcoal); color: #fff;
  padding: 14px 28px; border-radius: 50px;
  border: none; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: background .2s; white-space: nowrap;
}
.nl-form button:hover { background: #333; }

/* ── FOOTER ── */
footer {
  background: var(--charcoal); color: rgba(255,255,255,.7);
  padding: 60px 2rem 32px;
}
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-col h4 { font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a { font-size: 0.88rem; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-col address { font-style: normal; font-size: 0.88rem; line-height: 1.7; }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .nl-form { flex-direction: column; }
}

@keyframes fadeUp { from { opacity:0; transform: translateY(24px); } to { opacity:1; transform: none; } }
.fade-up { animation: fadeUp .6s ease both; }
.fade-up-2 { animation: fadeUp .6s .15s ease both; }
.fade-up-3 { animation: fadeUp .6s .3s ease both; }
