/* ============================================================
   Chantellie's Home Cooked Meals — Responsive Stylesheet
   Aesthetic: Soft pink, feminine, home kitchen warmth
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

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

:root {
  --cream:      #f5c6d5;
  --parchment:  #fde8ee;
  --warm-tan:   #f5c6d5;
  --terracotta: #d4547a;
  --rust:       #b03060;
  --brown:      #7a1f45;
  --sage:       #c084a0;
  --charcoal:   #3a1525;
  --gold:       #e07a9a;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', Helvetica, sans-serif;

  --radius: 6px;
  --shadow: 0 2px 12px rgba(180, 60, 100, 0.10);
  --shadow-lg: 0 6px 30px rgba(180, 60, 100, 0.18);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--brown);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 400; font-style: italic; color: var(--terracotta); }

p { margin-bottom: 0.75rem; }
strong { color: var(--rust); }

a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--rust); }

/* ── Page wrapper ── */
.page-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

/* ── Header / Hero ── */
header, body > h1:first-of-type, body > *:first-child {
  /* handled by .site-header */
}

.site-header {
  background: linear-gradient(135deg, var(--brown) 0%, var(--rust) 55%, var(--gold) 100%);
  color: var(--cream);
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 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='%23ffffff' 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");
  pointer-events: none;
}

.site-header h1 {
  color: var(--cream);
  font-size: clamp(1.8rem, 6vw, 3rem);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  position: relative;
}

.site-header .tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--warm-tan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  position: relative;
}

/* ── Intro / description box ── */
.intro-box {
  background: var(--parchment);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.97rem;
  line-height: 1.75;
  box-shadow: var(--shadow);
}

.note-box {
  background: var(--parchment);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  color: var(--rust);
  font-size: 0.97rem;
  line-height: 1.75;
  box-shadow: var(--shadow);
}

/* ── Section headers (Week 1, 2, 3, Desserts) ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--cream);
  background: var(--brown);
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius);
  margin: 2.5rem 0 1.25rem;
  letter-spacing: 0.02em;
}

/* ── Meal Cards ── */
.meal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.meal-card {
  background: #fff;
  border: 1px solid var(--warm-tan);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.meal-card h3 {
  font-size: 1.05rem;
  color: var(--brown);
  margin-bottom: 0.1rem;
}

.meal-card p {
  font-size: 0.88rem;
  color: #6b2a42;
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.meal-card .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--terracotta);
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--warm-tan);
}

/* ── Ordering Calendar ── */
.calendar-section {
  margin: 2.5rem 0;
}

.calendar-section h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin-bottom: 1rem;
  color: var(--brown);
  border-bottom: 2px solid var(--warm-tan);
  padding-bottom: 0.4rem;
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.92rem;
}

.calendar-table thead {
  background: var(--brown);
  color: var(--cream);
}

.calendar-table thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.calendar-table tbody tr:nth-child(even) {
  background: var(--parchment);
}

.calendar-table tbody tr:hover {
  background: var(--warm-tan);
}

.calendar-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--warm-tan);
  color: var(--charcoal);
}

.calendar-table .week-badge {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  font-weight: 700;
  border-radius: 20px;
  padding: 0.1rem 0.65rem;
  font-size: 0.82rem;
}

/* ── Delivery Section ── */
.delivery-section {
  margin: 2.5rem 0;
}

.delivery-section h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin-bottom: 0.5rem;
  color: var(--brown);
  border-bottom: 2px solid var(--warm-tan);
  padding-bottom: 0.4rem;
}

.delivery-note {
  font-size: 0.92rem;
  color: #6b2a42;
  margin-bottom: 1.2rem;
  background: var(--parchment);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--sage);
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.delivery-zone {
  background: #fff;
  border: 1px solid var(--warm-tan);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow);
}

.delivery-zone .zone-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 0.3rem;
}

.delivery-zone .zone-areas {
  font-size: 0.85rem;
  color: #6b2a42;
  line-height: 1.55;
}

/* ── Contact Section ── */
.contact-section {
  margin: 2.5rem 0;
  background: var(--brown);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  color: var(--cream);
}

.contact-section h2 {
  color: var(--warm-tan);
  margin-bottom: 0.5rem;
}

.contact-section .contact-note {
  font-size: 0.9rem;
  color: var(--warm-tan);
  margin-bottom: 1.5rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--terracotta);
  color: #fff !important;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.15s ease, transform 0.15s ease;
  text-decoration: none !important;
}

.contact-btn:hover {
  background: var(--rust);
  transform: scale(1.03);
}

.contact-btn.whatsapp { background: #25d366; }
.contact-btn.whatsapp:hover { background: #128c5e; }

/* ── Footer ── */
footer {
  text-align: center;
  font-size: 0.8rem;
  color: #b06080;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--warm-tan);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .site-header { padding: 2.5rem 1rem 2rem; }

  .meal-grid {
    grid-template-columns: 1fr;
  }

  .delivery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-links {
    flex-direction: column;
  }

  .contact-btn {
    justify-content: center;
    width: 100%;
  }

  .calendar-table thead th,
  .calendar-table td {
    padding: 0.55rem 0.65rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 380px) {
  .delivery-grid { grid-template-columns: 1fr; }
}

/* ── Utility classes to apply via JS or markup ── */
.divider {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--warm-tan), transparent);
  margin: 2rem 0;
  border: none;
}
