/* BASE COMMUNE HTML */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

/* Plein écran */
html, body {
  min-height: 100vh;
}

:root {
  --rose: #E61AA8;
  --rose-clair: #F395D7;
  --rose-fonce: #C11C84;
  --dore: #d4af37;
  --blanc: #ffffff;
  --texte: #5a4a4a;
  --rose-pale: #f5d7df;
  --noir: #000000;
}

/* Image de fond */
body {
  background-image: url("fondecran.jpg"); /* ton image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  color: white;
}

/* Header */
header {
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  text-align: center;
}

h1{
	color: #f5d7df;
}

/* Main prend l’espace restant */
main {
  flex: 1;
  padding: 3rem 1rem;
  /*flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;*/
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Boutons */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/*BOUTON INACTIF*/
.hero-button {
  display: inline-block;
  margin: 2rem 1rem;
  padding: 15px 30px;
  background-color: #f5d7df;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: transform 0.3s, background-color 0.3s;
}


/*CURSEUR SUR LE BOUTON*/
.hero-button:hover {
  transform: scale(1.05);
  background-color: #eac1cc;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
  padding: 15px;
  color: #f5d7df;
}

/*reserve*/

/* --- MENU --- */
.menu {
  flex: 1;
  text-align: center;
  padding: 4rem 2rem;
}

.menu h2 {
  font-family: "Playfair Display", serif;
  color: var(--rose-pale);
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
}

.menu-category {
  margin-bottom: 4rem;
  text-align: center;
}

.dish {
  background-color: var(--rose-pale);
  color: var(--texte);
  padding: 1.5rem;
  border: 1px solid #f2dede;
  border-radius: 15px;
  transition: all 0.3s ease;*/
}

.dish:hover {
  transform: scale(1.05);
  background-color: var(--blanc);
  color: var(--dore);
  border: 1px solid var(--dore);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.dish h4 {
  color: var(--texte);
  margin-bottom: 0.5rem;
}

/* --- BOUTTONS --- */
.hero {
  text-align: center;
  background: var(--rose-pale);
  padding: 3rem 1rem;
}

.dish {
  position: relative;
  overflow: hidden;
}

/* Image du plat */
.dish-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

/* Texte au-dessus de l’image */
.dish h4,
.dish p {
  position: relative;
  z-index: 1;
}

/* Effet hover */
.dish:hover .dish-img {
  opacity: 1; /* ajuste selon ton goût */
}