/* --- CSS VARIABLES & RESET --- */
:root {
  --primary-text: #333333;
  --accent-color: #c47c75; /* The specific mauve/rose color from screenshots */
  --bg-color: #fcfcfc;
  --card-bg: #ffffff;
  --border-color: #eee;
  --font-main: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--primary-text);
  font-family: var(--font-main);
  margin: 0;
  padding: 20px;
  line-height: 1.6;
}

/* --- MAIN CONTAINER --- */
.recipe-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

/* --- TYPOGRAPHY --- */
h1 {
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 5px;
  line-height: 1.2;
}

h2,
h3 {
  color: var(--accent-color);
  border-bottom: 1px solid #ffdcdc;
  padding-bottom: 10px;
  margin-top: 30px;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

p {
  margin-bottom: 15px;
  color: #444;
}

strong {
  font-weight: 700;
}

/* --- HEADER SECTION --- */
.header-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.header-image {
  flex: 0 0 220px;
  max-width: 220px;
}

.header-image img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

.header-content {
  flex: 1;
  min-width: 300px;
}

.stars {
  color: #cda45e; /* Gold color for stars */
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.review-count {
  color: #999;
  font-size: 0.9rem;
  margin-left: 5px;
}

/* Meta Data Grid (Prep time, Cook time, etc) */
.meta-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  font-size: 0.9rem;
  margin-top: 15px;
}

.meta-label {
  color: var(--accent-color);
  font-weight: bold;
}

.meta-value {
  color: #333;
}

/* Buttons */
.action-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.btn {
  background: #fff;
  border: 2px solid #000;
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

.btn:hover {
  background: #f0f0f0;
}

.btn i {
  font-size: 1.1rem;
}

/* --- LIST STYLES (Ingredients & Equipment) --- */
ul.custom-list {
  list-style: none;
  padding: 0;
}

ul.custom-list li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

/* The pink dot bullet point */
ul.custom-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background-color: var(--accent-color);
  border-radius: 50%;
}

ul.custom-list li a {
  color: #333;
  text-decoration: none;
}

ul.custom-list li a:hover {
  text-decoration: underline;
}

.ingredient-amount {
  font-weight: normal;
}

.ingredient-name {
  font-weight: bold;
}

/* --- INSTRUCTIONS --- */
.instruction-step {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.step-number {
  background-color: var(--accent-color);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content {
  width: 100%;
}

.step-content img {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-top: 15px;
  border-radius: 4px;
}

/* --- NOTES --- */
.notes-section p {
  margin-bottom: 15px;
}

.note-title {
  color: var(--accent-color);
  font-weight: bold;
}

/* --- NUTRITION & FOOTER --- */
.filed-under {
  margin-top: 40px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.filed-tag {
  border: 1px solid #ddd;
  padding: 5px 15px;
  border-radius: 4px;
  color: var(--accent-color);
  font-weight: bold;
  display: inline-block;
  font-size: 0.9rem;
}

.nutrition-box {
  border: 1px solid #ffebeb;
  background-color: #fffbfc;
  padding: 20px;
  border-radius: 6px;
  margin-top: 30px;
}

.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 20px;
  margin-bottom: 20px;
}

.nutri-item {
  display: flex;
  gap: 6px;
  font-size: 0.9rem;
  align-items: baseline;
}

.nutri-label {
  color: #999;
  font-weight: normal;
}

.nutri-val {
  color: #333;
  font-weight: normal;
}

.disclaimer {
  font-size: 0.85rem;
  color: #555;
  margin-top: 15px;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .header-grid {
    flex-direction: column;
  }
  .meta-data {
    grid-template-columns: 1fr;
  }
}
