/* Typographie + Reset */
body {
  margin: 0;
  font-family: 'Gill Sans', sans-serif;
  background-color: rgb(250, 247, 243);
  color: #333;
}

h1, h2 {
  font-family: 'Cedarville Cursive';
  font-size: 40px;
  font-weight: 600;
  text-align: center;
}

h3 {
  font-family: 'Cedarville Cursive';
  font-size: 80px;
  font-weight: 600;
  text-align: center;
  color: white;
}

h4 {
  border-bottom: 2px solid #5a1e72;
  display: inline-block;
  color: #5a1e72;
}

a {
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.sousimage {
  font-size: 2vh;
}
/* HEADER */
.hero {
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  height: 77vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
}

.overlay {
  text-align: center;
}

.logo {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .logo {
    max-width: 250px;
  }

  .hero {
    height: 70vh;
    padding: 1rem;
  }
}


/* photos index */
#menu .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 0rem;
}

.item {
  text-align: center;
}

.item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* À propos & contact */
section {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

/* Footer */
footer {
  background-color: rgb(250, 247, 243);
  padding: 1rem 2rem;
  text-align: center;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-logo {
    
  max-width: 50px;
  height: auto;
  opacity: 0.7;
}

.footer-content p {
  font-size: 0.8rem;
  color: #555;
  margin: 0;
}
/*menu-----------*/
/* HEADER */
.menu-header {
  background-image: url('images/gateau4.jpg');
  background-size: cover;
  background-position: center;
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
}

.overlay {
  text-align: center;
}


@media (max-width: 30px) {
 
  .menu-header{
    height: 35vh;
    padding: 1rem;
  }
}

.menupage img {
  width: 80%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.passion img {
  width: 70%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Bouton Commander********/
.commander {
  text-align: center;
  margin: 3rem 0;
}

.commande-btn {
  display: inline-block;
  background-color: #5a1e72;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.commande-btn:hover {
  background-color: #a16c4d;
}

/*Mobille----------*/

@media (max-width: 600px) {
  .commande-btn {
    width: 80%;
    font-size: 1.4rem;
    padding: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}

/* --- Navbar de base --- */
.navbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #5a1e72;
  padding: 1.7rem;
  position: relative;
}

/* --- Menu centré sur grand écran --- */
.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 0;
  margin: 0;
}

.menu li a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.menu li a:hover {
  color: #deba6b;
}

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 2rem;
  z-index: 10;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
  display: block;
}

/* --- Cacher checkbox --- */
#menu-toggle {
  display: none;
}

/* --- Animation hamburger -> croix --- */
#menu-toggle:checked + .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
#menu-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked + .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* --- Menu mobile --- */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #5a1e72;
    display: none;
    padding: 1rem 0;
  }

  #menu-toggle:checked + .hamburger + .menu {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}
