body {
  background: #0a0a0a;
  color: #f2f2f2;
  font-family: 'Georgia', serif;
  padding: 2rem;
}

.recipe-wrapper {
  max-width: 1000px;
  margin: auto;
  background: #0e0e0e;
  padding: 2rem;
  border-radius: 16px;
}

.recipe-header {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  align-items: flex-start; /* garde l'image et le texte alignés */
}

.recipe-image-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 12px;
}

.recipe-image {
  width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

/* Overlay masqué */
.recipe-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 12px;
}

/* Afficher l’overlay au hover */
.recipe-image-wrapper:hover .recipe-overlay {
  opacity: 1;
}

/* Bouton dans l’overlay */
.overlay-btn {
  border: none;
  padding: 0.8rem 1.5rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  color: black;
  background: linear-gradient(135deg, #ead583, #9e6c35);
  transition: all 0.4s ease;
  text-decoration: none; /* supprime le souligné */
}

.overlay-btn:hover {
 background: linear-gradient(135deg, rgba(255,255,255,0.5),  rgba(0,0,0,1));
color: white;
 
}



.recipe-info {
  flex: 1;
}

.recipe-info h1 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.intro {
  color: #ccc;
  margin-bottom: 1rem;
}

/* Boutons de la zone recette */
.recipe-buttons .btn {
  border: none;
  padding: 0.6rem 1.2rem;
  margin-right: 0.5rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  color: #000;
  background: linear-gradient(135deg, #ead583, #9e6c35);
  transition: all 0.4s ease;
}

/* Hover state */
.recipe-buttons .btn:hover {
  background: linear-gradient(135deg, #ead583,#000000 );
  color: #fff;
  transform: none; /* supprime l’effet d’agrandissement */
}

.timing-stats {
  display: flex;
  justify-content: space-around;
  margin: 2rem 0;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  padding: 1rem 0;
  text-align: center;
}

.meta-tags {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.meta-tags span {
  background: #3a3a3a;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.content-columns {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.ingredients, .steps {
  flex: 1;
  min-width: 300px;
}

.ingredients ul, .steps ol {
  padding-left: 1rem;
  list-style: disc;
}

.steps ol {
  list-style: decimal;
}

.nutrition-row {
  margin: 3rem 0;
  text-align: center;
}

.nutrition-row h3 {
  font-size: 1.4rem;
  color: #DABA66;
  margin-bottom: 1.5rem;
}

.nutrition-circle {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  background: #1e1e1e;
  border: 2px solid #DABA66;
  border-radius: 100px;
  padding: 1rem 2rem;
  width: 100%;
  box-sizing: border-box;
}

.nutrition-circle span {
  text-align: center;
  margin: 0.5rem 1rem;
  font-size: 0.95rem;
}

.notes-section {
  margin-top: 2rem;
}

.feedback-card {
  margin-top: 3rem;
  background: #1f1f1f;
  text-align: center;
  padding: 1.5rem;
  border-radius: 12px;
}

.feedback-card p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.ingredients ul li,
.steps ol li {
  line-height: 1.8;
}

.notes-section p {
  line-height: 1.8;
}

.ingredients ul li:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
  line-height: 1.8;
}