body {
  font-family: 'Lato', sans-serif;
  background-color: #FAF9F6;
  color: #333;
}
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}
.hero {
  background: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: white;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
  padding: 6rem 2rem;
  text-align: center;
} 

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.btn-gradient {
  background: linear-gradient(90deg, #E94F37, #F6AE2D);
  border: none;
  color: white;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Recipe Section */
.recipe-section {
  background-color: #faf9f6;
  background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
  padding: 4rem 0;
}

/* Card style for form & preview */
.recipe-card {
  background-color: #fffdf8;
  border-radius: 1.25rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  padding: 2rem;
  border: 1px solid rgba(246, 174, 45, 0.2);
  margin-bottom: 2rem;
}

/* Section headings in cards */
.recipe-card h2 {
  font-family: 'Playfair Display', serif;
  color: #6A994E;
  border-bottom: 2px solid rgba(246, 174, 45, 0.33);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Labels with little icons */
label::before {
  content: "🥄 ";
}

/* Inputs inside form */
.servings-inputs input,
.ingredient input {
  border-radius: 0.5rem;
  border: 1px solid #ddd;
  padding: 0.5rem;
  font-size: 1rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}
.servings-inputs input:focus,
.ingredient input:focus {
  border-color: #f6ae2d;
  box-shadow: 0 0 6px rgba(246, 174, 45, 0.3);
  outline: none;
}

/* Ingredient list styling */
.ingredient-list li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(246, 174, 45, 0.4);
  transition: background-color 0.2s ease;
}
.ingredient-list li:hover {
  background-color: rgba(246, 174, 45, 0.1);
}

/* Layout tweaks for responsiveness */
.servings-inputs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.serving-group {
  flex: 1 1 45%;
}

/* Tips section */
.tips-section {
  background-color: #fff8f0;
  padding: 1rem;
  border-radius: 1rem;
  margin-top: 1rem;
}

#recipe-form button {
  background: linear-gradient(90deg, #E94F37, #F6AE2D);
  color: white;
  border: none;
  font-weight: bold;
  margin-right: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#recipe-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

footer {
  font-size: 0.9rem;
  text-align: left;
  padding: 1rem 0;
  color: #666;
  background: none;  
}