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

:root {
  --teal:    #0d9488;
  --teal-d:  #0f766e;
  --teal-l:  #14b8a6;
  --teal-bg: #f0fdfa;
  --peach:   #fff7ed;
  --cream:   #fffbeb;
  --brown:   #78350f;
  --brown-l: #92400e;
  --text:    #1e293b;
  --muted:   #64748b;
  --bg:      #ffffff;
  --radius:  16px;
  --shadow:  0 4px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

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

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--teal-d);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 100px 24px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(13,148,136,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(251,191,36,.10) 0%, transparent 60%),
    linear-gradient(160deg, #f0fdfa 0%, #fffbeb 50%, #fff7ed 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 20px;
  border-radius: 100px;
  letter-spacing: .03em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--teal-d);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.hero-cta {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 100px;
  transition: background .2s, transform .2s;
  box-shadow: 0 4px 16px rgba(13,148,136,.25);
}

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

/* Floating emoji decorations */
.hero-decoration {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-emoji {
  position: absolute;
  font-size: 3rem;
  left: var(--x);
  top: var(--y);
  animation: float 6s ease-in-out var(--delay) infinite;
  opacity: .35;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
}

/* ===== About (cards) ===== */
.about {
  padding: 80px 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.about-card {
  background: var(--teal-bg);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}

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

.about-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.about-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--teal-d);
}

.about-card p {
  font-size: .95rem;
  color: var(--muted);
}

/* ===== Section titles ===== */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 8px;
  color: var(--teal-d);
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ===== Recipe Cards (Home) ===== */
.preview {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--teal-bg) 100%);
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.recipe-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  display: block;
}

.recipe-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.recipe-card-image {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.recipe-card-body {
  padding: 24px;
}

.recipe-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--teal-d);
}

.recipe-card-body p {
  font-size: .9rem;
  color: var(--muted);
}

.preview-cta {
  text-align: center;
  margin-top: 48px;
}

.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: 12px 32px;
  border-radius: 100px;
  transition: background .2s, transform .2s;
}

.btn:hover {
  background: var(--teal-d);
  transform: translateY(-2px);
}

/* ===== Safety ===== */
.safety {
  padding: 40px 0 60px;
}

.safety-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 20px 28px;
  max-width: 600px;
  margin: 0 auto;
}

.safety-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.safety-box p {
  font-size: .95rem;
  color: #991b1b;
  font-weight: 500;
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,.06);
}

.footer-text {
  font-size: .85rem;
  color: var(--muted);
}

/* ===== Recipes Page ===== */
.recipes-header {
  padding: 120px 24px 40px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(13,148,136,.08) 0%, transparent 70%),
    linear-gradient(160deg, #f0fdfa 0%, #fffbeb 100%);
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--teal-d);
  margin-bottom: 8px;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
}

/* ===== Recipe Blocks ===== */
.recipe {
  padding: 48px 0;
}

.recipe:nth-child(even) {
  background: var(--teal-bg);
}

.recipe-block {
  max-width: 900px;
  margin: 0 auto;
}

.recipe-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.recipe-emoji {
  font-size: 2.8rem;
}

.recipe-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--teal-d);
}

.recipe-columns {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
}

.recipe-ingredients h3,
.recipe-instructions h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--teal);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(13,148,136,.15);
}

.recipe-ingredients ul {
  list-style: none;
  padding: 0;
}

.recipe-ingredients li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: .95rem;
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,.04);
}

.recipe-ingredients li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid var(--teal);
  border-radius: 4px;
}

.recipe-instructions ol {
  padding-left: 0;
  counter-reset: step;
  list-style: none;
}

.recipe-instructions li {
  padding: 12px 0 12px 44px;
  position: relative;
  font-size: .95rem;
  line-height: 1.7;
  counter-increment: step;
}

.recipe-instructions li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 28px;
  height: 28px;
  background: var(--teal);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* ===== Responsive ===== */
@media (max-width: 700px) {
  .recipe-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero { min-height: 80vh; }

  .hero-emoji { font-size: 2rem; opacity: .25; }

  .about-grid { gap: 16px; }
}

@media (max-width: 480px) {
  .nav-inner { height: 56px; }
  .nav-logo { font-size: 1.1rem; }
  .nav-links { gap: 20px; }
  .nav-link { font-size: .85rem; }

  .hero-title { margin-bottom: 16px; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-cta { padding: 12px 28px; font-size: .95rem; }

  .safety-box { flex-direction: column; text-align: center; }
}
