/* Couleurs chaudes et vertes */
:root {
    --vert-fonce: #355E3B;
    --vert-clair: #A8D5BA;
    --brun-chaud: #8B4513;
    --beige: #FFFBEF;
    --blanc: #ffffff;
}

#histoire {
    background-color: #EFF7EE;
  }
  
#menu {
    background-color: #FFF2E3;
  }
  
#reservation {
    background-color: #E8F5E9;
  }
  

/* Réinitialisation */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: var(--beige);
    color: var(--vert-fonce);
    scroll-behavior: smooth;
    margin-top: 80px;
}

.logo img{
    height: 80px;
    width: auto;
    margin-right: 10px;
} 


/* Navigation */
.navbar {
    position: fixed;
    top: 0; /* ← AJOUT IMPORTANT */
    width: 100%;
    background: var(--blanc);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: top 0.3s ease; /* ← Pour une animation fluide */
}

.navbar.hide {
    top: -100%;
    box-shadow: none;
}

.nav-links a {
    margin: 0 1rem;
    text-decoration: none;
    color: var(--vert-fonce);
}

/* .navbar.hide {
    top: -100px;
  } */

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: var(--brun-chaud);
    font-size: 1.5rem;
}

.menu-icon {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
}

/* Boutons */
.btn-primary {
  background: var(--brun-chaud);
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;        /* ← pour garder le contenu compact */
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #a0522d;
}

.menu-button {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}


.btn-secondary {
    border: 2px solid white;
    color: white;
    padding: 0.6rem 1.2rem;
    background: transparent;
    border-radius: 9999px;
    cursor: pointer;
    text-decoration: none;
}

.section-content button {
    margin-top: 1.5rem; /* tu peux ajuster la valeur selon l'espacement souhaité */
  }

.menu-button {
    margin-top: 2rem; /* Ajuste selon la distance souhaitée */
    display: block;
    margin-left: auto;
    margin-right: auto; /* Pour centrer le bouton */
}
  

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    background: url('../images/font_acceuil.avif') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* filtre sombre */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 1rem;
}


.hero-content h1 {
    font-size: 3rem;
    color: white;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 4rem;
    }
}


.hero-content p {
    font-size: 1.2rem;
    margin: 1rem 0;
    color: white;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Sections */
.section {
    padding: 4rem 2rem;
}

.section-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.img-rounded {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 1rem;
}

/* Menu */
.menu-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    gap: 1.5rem;
}

.menu-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

.menu-item img {
    width: 100px;               
    height: auto;
    border-radius: 0.5rem;
    object-fit: cover;
  }

/* Réservation */
.reservation-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 600px;
    margin: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reservation-form input,
.reservation-form select {
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
}

/* Footer */
.footer {
    background: var(--brun-chaud);
    color: white;
    padding: 2rem;
    text-align: center;
}

/* Floating button */
.floating-button {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--brun-chaud);
    color: white;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
}
