/* -------------------------------------------------- */
/* ---------- RESET & BASE -------------------------- */
/* -------------------------------------------------- */

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

body {
  font-family: "Arial", sans-serif;
  background: #111;
  color: #ddd;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

/* -------------------------------------------------- */
/* ----------------- HEADER ------------------------- */
/* -------------------------------------------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(10,10,10,0.92);
  border-bottom: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
  z-index: 2000;
  backdrop-filter: blur(6px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* LOGO */
.logo {
  height: 38px;
  width: auto;
}

/* TITLE */
.site-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FF5A00; 
  text-shadow: 0 0 6px rgba(212,165,86,0.4);
}

/* MENU DESKTOP */
.menu-desktop {
  display: flex;
  align-items: center;
  gap: 25px;
}

.menu-desktop a {
  text-decoration: none;
  color: #fff;
  font-size: 0.95rem;
  transition: 0.2s;
  border-bottom: 2px solid transparent;
}

.menu-desktop a:hover {
  color: #FF5A00;
  border-bottom: 2px solid #FF5A00;
}

.menu-protected {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* -------------------------------------------------- */
/* ---------------- BURGER MENU --------------------- */
/* -------------------------------------------------- */

.burger {
  width: 28px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.burger span {
  height: 3px;
  background: #fff;
  width: 100%;
  border-radius: 3px;
}

/* -------------------------------------------------- */
/* --------------- MOBILE SIDE MENU ----------------- */
/* -------------------------------------------------- */

.mobile-menu {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100vh;
  background: #1a1a1a;
  border-left: 1px solid #333;
  padding: 80px 20px;
  transition: 0.35s ease;
  z-index: 3000;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  position: absolute;
  top: 20px;
  right: 20px;
}

.close-menu {
  font-size: 1.6rem;
  color: #d4a556;
  cursor: pointer;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 8px 0;
  border-bottom: 1px solid #333;
}

.mobile-menu a:hover {
  color: #d4a556;
}


.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}


/* -------------------------------------------------- */
/* -------------- MAIN CONTENT SPACING -------------- */
/* -------------------------------------------------- */

main {
  padding-top: 90px; /* espace sous le header */
}

/* -------------------------------------------------- */
/* -------------- SECTION --------------------------- */
/* -------------------------------------------------- */

.section1 {
  padding: 60px 30px;
}

.section1-card {
  display: flex;
  background: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #333;
}

.section1-img {
  width: 40%;
  min-height: 260px;
  background: url("img/prochain.jpg") center/cover;
}

.section1-content {
  padding: 30px;
  flex: 1;
}

.section1-bot {
  margin-bottom: 30px;
}

.section1 h2 {
  color: #FF5A00;
  margin-bottom: 10px;
}

.section1 h3 {
  margin-bottom: 10px;
}

.section1-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(3,1fr);
}

.section1-grid-recette{
  display: grid;
  gap: 25px;
  grid-template-columns: 25% 73%;
}

.section1-grid-recette h3 {
  margin: 16px 0 0 0;
 
}

.section1-recette {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 200px;
  border: 1px solid #333;
}


.section1-recette img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recette-text {
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: white;
  font-size: 18px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 12px;
  border-radius: 8px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #FF5A00;
  color: #111;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 15px;
}

.btn:hover {background: #d4a556;}

.btn-small {
  display: inline-block;
  color: #FF5A00;
  margin-top: 10px;
  text-decoration: none
}

.caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: linear-gradient(90deg,rgba(0,0,0,0.5),transparent);
  padding: 8px 12px;
  border-radius: 8px;
}

.img_entete {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%; /* Remplir toute la largeur de l'écran */
  height: 350px; /* Hauteur fixe de 100px */
  overflow: hidden; /* coupe ce qui dépasse */
}

.img_entete img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* remplit toute la largeur */
    object-position: center;  /* centre l’image verticalement ET horizontalement */
    display: block;
}

.section_info {
  margin-top: 280px;
  padding: 0px 30px 0 30px;
  color: #D1D1D1;
}
/* -------------------------------------------------- */
/* ---------------------- FOOTER -------------------- */
/* -------------------------------------------------- */

.footer {
  padding: 40px 20px;
  background: #000;
  text-align: center;
  border-top: 1px solid #333;
}

.footer p {
  color: #FF5A00;
  margin: 4px 0;
}

.footer a {
  color: #FF5A00;
}

/* -------------------------------------------------- */
/* ---------------- RESPONSIVE ---------------------- */
/* -------------------------------------------------- */

@media (max-width: 900px) {

  .menu-desktop {
    display: none;
  }

  .burger {
    display: flex;
  }

  .section1-card {
    flex-direction: column;
  }

  .section1-grid {
    grid-template-columns: 50% 50%;
  }

  .section1-grid-recette{
     grid-template-columns: 100%;
  }


  .section1-img {
    width: 100%;
    height: 220px;
  }
}

@media (max-width: 500px) {

  .site-title {
    font-size: 1.2rem;
  }

  .section1-grid {
    grid-template-columns: 100%;
  }


  .gallery img {
    height: 120px;
  }
}



