*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-cream: #fdf6ec;
  --color-warm: #f5e6d0;
  --color-brown: #6b4226;
  --color-brown-light: #8b5e3c;
  --color-pink: #d4a0a0;
  --color-pink-dark: #b87878;
  --color-text: #3a2a1a;
  --color-text-light: #6b5b4b;
  --color-white: #ffffff;
  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  background: transparent;
  padding: 1rem 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
nav ul a {
  text-decoration: none;
  color: var(--color-brown);
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.2s;
}
nav ul a:hover { color: var(--color-pink-dark); }

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--color-white);
}
.hero-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
}

/* ── SECTIONS ── */
section { padding: 4rem 2rem; }
.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--color-brown);
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ── RECIPE GRID ── */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.recipe-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.recipe-card img {
  width: 100%;
  height: 480px;
  object-fit: contain;
  background: var(--color-warm);
  display: block;
}
.recipe-card .placeholder-img {
  width: 100%;
  height: 240px;
  background: var(--color-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.recipe-card .info {
  padding: 1.5rem;
}
.recipe-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-brown);
  margin-bottom: 0.5rem;
}
.recipe-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ── CONTACT FORM ── */
#contact { background: var(--color-warm); }
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-form label {
  font-weight: 600;
  color: var(--color-brown);
  font-size: 0.95rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e0d5c7;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-white);
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-pink);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form button {
  padding: 0.9rem 2rem;
  background: var(--color-brown);
  color: var(--color-white);
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}
.contact-form button:hover { background: var(--color-brown-light); }

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--color-text-light);
  font-size: 0.9rem;
  background: var(--color-white);
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  nav ul { gap: 1rem; }
  nav ul a { font-size: 0.9rem; }
  .hero-logo { max-width: 280px; }
  .recipes-grid { grid-template-columns: 1fr; }
}
