/* Couleurs extraites du flyer */
:root {
  --fond-principal: #fdf0d9;
  --beige-fond: var(--fond-principal);
  --texte-principal: #502b1d;
  --titre-orange: #f37d1c;
  --titre-rouge: #cf481e;
  --accent-noir: #231911;

  --orange-fonce: #cc5a00;
  --orange-clair: #e67e22;
  --marron-fonce: #3e2b1c;
  --blanc: #ffffff;

  --font-principale: 'Nunito', 'Segoe UI', sans-serif;
  --font-titres: 'Playfair Display', serif;

  --espacement: 1rem;
  --radius: 8px;
}

/* ========== TITRES GLOBAUX ========== */

h1,
h2,
h3 {
  font-family: var(--font-titres);
  font-weight: 700;
  text-align: center;
  color: var(--orange-fonce);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
  line-height: 1.3;
  text-transform: uppercase;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-principale);
  background-color: #121212;
  color: #f0f0f0;
  line-height: 1.6;
}

header {
  background-color: #121212;
}

.active a {
  font-weight: bold;
  border-bottom: 2px solid var(--orange-fonce);
}

.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.boxed {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.header-inner,
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 1rem;
}

.logo img {
  height: 80px;
  width: auto;
  display: block;
  max-height: 100%;
  object-fit: contain;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

nav a {
  position: relative;
  display: inline-block;
  padding: 0.5rem;
  color: #f0f0f0;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(to right, var(--orange-fonce), var(--titre-orange));
  transition: width 0.3s ease-in-out;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: var(--orange-clair);
  transform: scale(1.03);
}

.hero {
  background: url('assets/aux-delices.webp') center/cover no-repeat;
  position: relative;
  padding: var(--espacement) 1rem;
  color: var(--marron-fonce);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  max-height: 70vh;
  overflow: hidden;

  max-width: 1000px;
  margin: var(--espacement) auto;
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: var(--radius);
}

.hero .overlay {
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(2px);
  /* Flou moderne derrière le texte */
  padding: 2rem 3rem;
  border-radius: var(--radius);
  max-width: 800px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  animation: fade-in 1s ease;
}

.hero h1 {
  font-size: 2.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: 1px;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.hero p {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--marron-fonce);
  margin-bottom: 2rem;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.cta {
  background-color: var(--orange-fonce);
  color: var(--blanc);
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cta:hover {
  background-color: var(--orange-clair);
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.carte-menu {
  max-width: 1000px;
  margin: var(--espacement) auto;
  padding: var(--espacement) 1rem;
  text-align: center;
  /*background-color: var(--beige-fond);*/
  border-radius: var(--radius);
}


.carte-menu h2 {
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.carte-menu h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: linear-gradient(to right, var(--orange-fonce), var(--titre-orange));
  margin: 0.5rem auto 0 auto;
  border-radius: 3px;
}


.carte-menu .bc {
  background-color: var(--orange-fonce);
  color: var(--blanc);
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);

  height: auto;
  align-self: center;
}

.carte-menu .bc:hover {
  background-color: var(--orange-clair);
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.carte-flyers {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.carte-flyers a {
  transition: transform 0.2s;
}

.carte-flyers img {
  width: 275px;
  height: auto;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid rgba(223, 112, 15, 0.50);
  transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(227, 169, 11, 0.40);
}

.carte-flyers a:hover img {
  transform: scale(1.05);
}

.nos-specialites {
  color: var(--marron-fonce);
  padding: var(--espacement);
  max-width: 1000px;
  margin: var(--espacement) auto;
  border-radius: var(--radius);
}

.nos-specialites h2 {
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}


.nos-specialites h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: linear-gradient(to right, var(--orange-fonce), var(--titre-orange));
  margin: 0.5rem auto 0 auto;
  border-radius: 3px;
}

.grille-specialites {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.carte-specialites {
  background: linear-gradient(135deg, #fffaf2, #fdf0d9);
  border: 1px solid rgba(223, 112, 15, 0.50);
  border-radius: var(--radius);
  width: 250px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(227, 169, 11, 0.40);
}

.carte-specialites img {
  width: 100%;
  border-radius: var(--radius);
  height: 250px;
  object-fit: cover;
}

.carte-specialites:hover {
  transform: scale(1.02);
}

.carte-specialites h3 {
  margin-top: 1rem;
}

.carte-specialites p {
  /* color: var(--marron-fonce); */
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(62, 43, 28, 0.85);
  /* plus doux */
  letter-spacing: 0.3px;
  line-height: 1.5;
}

.infos-pratiques {
  background: linear-gradient(135deg, #fff4e4, #fdf0d9);
  padding: var(--espacement);
  margin: var(--espacement) auto;
  max-width: 1000px;
  border-radius: var(--radius);
}

.infos-pratiques .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.bloc-infos,
.bloc-carte {
  flex: 1 1 400px;
  color: var(--marron-fonce);
}

.bloc-infos h2 {
  margin-bottom: 1rem;
}

.bloc-carte iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: var(--radius);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.contact {
  background: linear-gradient(135deg, #fff4e4, #fdf0d9);
  color: var(--marron-fonce);
  padding: var(--espacement);
}

.form-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-contact input,
.form-contact textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-principale);
}

.form-contact button {
  background: var(--orange-fonce);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.3s;
}

.form-contact button:hover {
  background: var(--orange-clair);
}

footer {
  background: #121212;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #ccc;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
}

.footer-inner p {
  margin: 0.5rem 0;
}

@media (max-width: 768px) {

  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .hero .overlay {
    padding: 1rem;
  }

  .categories {
    flex-direction: column;
    align-items: center;
  }

  .image-carte-menu {
    flex-direction: column;
  }

  .infos-pratiques {
    flex-direction: column;
  }

  .bloc-carte,
  .bloc-infos {
    width: 100%;
  }
}

/* Cache complètement la checkbox du menu burger */
#menu-toggle {
  display: none;
  position: absolute;
  left: -9999px;
  appearance: none;
  -moz-appearance: none;
}

/* Apparence du bouton menu burger */
.burger {
  display: block;
  font-size: 2rem;
  color: var(--orange-fonce);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.burger:hover {
  transform: scale(1.1);
  color: var(--orange-clair);
}

/* Menu responsive */
@media (max-width: 768px) {
  .burger {
    display: block;
    margin-left: auto;
    padding: 1rem;
  }

  .nav-wrapper nav ul {
    display: none;
    flex-direction: column;
    background-color: #1e1e1e;
    padding: 1rem;
  }

  #menu-toggle:checked~.nav-wrapper nav ul {
    display: flex;
  }
}


/* Pour la page produits.php */

.page-produits {
  background: linear-gradient(135deg, #fff4e4, #fdf0d9);
  color: var(--marron-fonce);
  padding: var(--espacement);
}

.page-produits h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.page-produits img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: var(--radius);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.grille-produits {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.grille-produits img {
  width: 800px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.grille-produits img:hover {
  transform: scale(1.05);
}

.carte-produit {
  background: linear-gradient(135deg, #fffaf2, #fdf0d9);
  border-radius: var(--radius);
  width: 1000px;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carte-produit:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.grille-section-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.section-menu {
  margin-top: 1rem;
  text-align: left;
}

.section-menu h2 {
  font-size: 1.2rem;
  color: var(--orange-fonce);
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-menu ul {
  padding-left: 1.2rem;
  font-size: 0.95rem;
  list-style: none;
  text-align: center;
}

.section-menu li {
  margin-bottom: 0.3rem;
}

@media (max-width: 768px) {
  .grille-section-menu {
    flex-direction: column;
    align-items: center;
  }

  .section-menu {
    text-align: center;
  }
}

/* Pour la page a-propos.php */
.a-propos {
  background: linear-gradient(135deg, #fff4e4, #fdf0d9);
  border-radius: var(--radius);
  max-width: 1000px;
  margin: auto;
  color: var(--marron-fonce);
  padding: var(--espacement);
}

.a-propos h2 {
  margin-bottom: 1rem;
  text-align: center;
}

.a-propos p {
  max-width: 800px;
  margin: 0 auto 1rem auto;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
}

.contenu-apropos {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.contenu-apropos .texte {
  flex: 1 1 400px;
  font-size: 1rem;
  line-height: 1.6;
}

.contenu-apropos .photo {
  flex: 1 1 300px;
  text-align: center;
}

.contenu-apropos .photo img {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

/* Pour la page contact.php */

/* ===== Section Contact ===== */
.contact {
  background: linear-gradient(135deg, #fff4e4, #fdf0d9);
  color: var(--marron-fonce);
  padding: var(--espacement);
}

.contact .boxed {
  max-width: 700px;
  margin: auto;
}

.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
}

/* ===== Formulaire ===== */
.formulaire-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.formulaire-contact input,
.formulaire-contact textarea {
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
  font-family: inherit;
  resize: vertical;
}

.formulaire-contact button {
  background-color: var(--orange-fonce);
  color: var(--blanc);
  border: none;
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.3s;
}

.formulaire-contact button:hover {
  background-color: var(--orange-clair);
}

/* ===== Messages (erreurs, confirmation) ===== */
.confirmation {
  background-color: #dff0d8;
  color: #3c763d;
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.erreur {
  background-color: #f2dede;
  color: #a94442;
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* Accessibilité – focus visuel */
input:focus,
textarea:focus {
  outline: 2px solid var(--orange-fonce);
  outline-offset: 2px;
}

/* Visibilité renforcée des messages d’erreur */
.erreur {
  background-color: #fbeaea;
  color: #b94a48;
  border: 1px solid #f5c6cb;
  font-size: 0.95rem;
}

/* Champ honeypot (anti-bot) : totalement invisible aux humains */
.honeypot {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

/* Pour galerie.php  */

.galerie {
  background: linear-gradient(135deg, #fff4e4, #fdf0d9);
  color: var(--marron-fonce);
  padding: var(--espacement);
  text-align: center;
}

.grille-galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.grille-galerie img {
  width: 100%;
  height: 300px;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
  object-fit: cover;
}

.grille-galerie img:hover {
  transform: scale(1.03);
}

/*  Css pour info.php  */

.infos-page {
  background: linear-gradient(135deg, #fff4e4, #fdf0d9);
  color: var(--marron-fonce);
  padding: var(--espacement);
}

.infos-page h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.grille-infos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.grille-infos p {
  text-align: left;
}

.grille-infos h3 {
  text-align: left;
}

.bloc-infos,
.bloc-carte {
  flex: 1 1 400px;
}

.bloc-infos h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
}

.bloc-carte iframe {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

/* animation d’apparition fluide */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}