/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Young+Serif:wght@400&family=Outfit:wght@400;600;700&display=swap");

/* Design System - All your colors and settings */
:root {
  /* Colors from style guide */
  --white: hsl(0, 0%, 100%);
  --stone-100: hsl(30, 54%, 90%); /* Warm beige background */
  --stone-150: hsl(30, 18%, 87%); /* Light borders */
  --stone-600: hsl(30, 10%, 34%); /* Body text */
  --stone-900: hsl(24, 5%, 18%); /* Dark headings */
  --brown-800: hsl(14, 45%, 36%); /* Accent color */
  --rose-50: hsl(330, 100%, 98%); /* Light background */
  --rose-800: hsl(332, 51%, 32%); /* Rose accent */

  /* Fonts */
  --font-heading: "Young Serif", serif;
  --font-body: "Outfit", sans-serif;

  /* Spacing (simple system) */
  --space-small: 1rem;
  --space-medium: 1.5rem;
  --space-large: 2rem;
}

/* Reset - Clean foundation */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Page setup */
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--stone-900);
  background-color: var(--stone-100); /* This is your correct warm beige */
  line-height: 1.6;
  min-height: 100vh;
}

/* Main card container */
.recipe__container {
  max-width: 50rem;
  margin: 2rem auto;
  background-color: var(--white);
  border-radius: 1.5rem;
  padding: var(--space-large);
}

/* Image */
.recipe-image {
  width: 100%;
  border-radius: 0.75rem;
  margin-bottom: var(--space-large);
}

/* Content wrapper */
.content {
  max-width: 45rem;
  margin: 0 auto;
}

/* Typography */
.recipe-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--stone-900);
  line-height: 1.1;
  margin-bottom: var(--space-medium);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--brown-800);
  margin-bottom: var(--space-small);
}

.recipe-description {
  color: var(--stone-600);
  margin-bottom: 2.5rem;
}

/* Preparation time box */
.preparation-time {
  background-color: var(--rose-50);
  padding: var(--space-medium);
  border-radius: 0.75rem;
  margin-bottom: var(--space-large);
}

.preparation-time .section-title {
  font-size: 1.25rem;
  color: var(--rose-800);
}

/* All lists */
.time-list,
.ingredients-list,
.instructions-list {
  list-style: none;
}

.time-list li,
.ingredients-list li,
.instructions-list li {
  color: var(--stone-600);
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

/* Bullets and numbers */
.time-list li::before {
  content: "•";
  color: var(--rose-800);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.ingredients-list li::before {
  content: "•";
  color: var(--brown-800);
  font-weight: bold;
  position: absolute;
  left: 0.5rem;
}

.instructions-list {
  counter-reset: step;
}

.instructions-list li {
  counter-increment: step;
}

.instructions-list li::before {
  content: counter(step) ".";
  color: var(--brown-800);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Time labels bold */
.time-label {
  font-weight: 600;
}

/* Section spacing */
.ingredients,
.instructions,
.nutrition {
  margin-bottom: var(--space-large);
}

/* Nutrition table */
.nutrition-description {
  color: var(--stone-600);
  margin-bottom: var(--space-medium);
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
}

.nutrition-table td {
  padding: var(--space-small);
  border-bottom: 1px solid var(--stone-150);
}

.nutrition-table td:first-child {
  color: var(--stone-600);
}

.nutrition-table td:last-child {
  color: var(--brown-800);
  font-weight: bold;
}

.nutrition-table tr:last-child td {
  border-bottom: none;
}

/* Footer */
.attribution {
  text-align: center;
  padding: var(--space-medium);
  font-size: 0.875rem;
  color: var(--stone-600);
}

.attribution a {
  color: var(--brown-800);
  text-decoration: none;
}

.attribution a:hover {
  text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
  body {
    background-color: var(--white);
  }

  .recipe__container {
    margin: 0;
    border-radius: 0;
    padding: 0;
  }

  .recipe-image {
    border-radius: 0;
  }

  .content {
    padding: 0 var(--space-large);
  }
}
@import url("https://fonts.googleapis.com/css2?family=Young+Serif:wght@400&family=Outfit:wght@400;600;700&display=swap");

:root {
  /* Colors */
  --color-white: hsl(0, 0%, 100%);

  /* Stone Colors */
  --color-stone-100: hsl(30, 54%, 90%);
  --color-stone-150: hsl(30, 18%, 87%);
  --color-stone-600: hsl(30, 10%, 34%);
  --color-stone-900: hsl(24, 5%, 18%);

  /* Brown Colors */
  --color-brown-800: hsl(14, 45%, 36%);

  /* Rose Colors */
  --color-rose-50: hsl(330, 100%, 98%);
  --color-rose-800: hsl(332, 51%, 32%);

  /* Typography */
  --font-serif: "Young Serif", serif;
  --font-sans: "Outfit", sans-serif;
  --font-size-body: 16px;

  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Layout Breakpoints */
  --mobile-width: 375px;
  --desktop-width: 1440px;
}
