/* --- Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cinzel', sans-serif;
  line-height: 1.6;
  background-color: #faf3e0;
  color: #333;
  scroll-behavior: smooth;
}

h1 {
  color: #7c874d;
  text-align: center;
}

h5 {
  color: #7c874d;
  text-align: left;
}

h2,
h3,
h4 {
  margin-bottom: 1rem;
  color: #a77b06;
  text-align: center;
}

.section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Navbar --- */
.navbar {
  width: 100%;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.navbar .logo {
  color: #7c874d;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #faf8f8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #f2c94c;
}

/* --- Burger (mobile) --- */
.burger {
  display: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  background: url('https://via.placeholder.com/1600x600') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
}

.logo-img {
  width: 600px;    /* largeur fixe pour ordi */
  max-width: 100%; /* ne dépasse jamais le conteneur */
  height: auto;
  display: block;
  margin: 0 auto;  /* centre horizontalement */
}


.slogan {
  font-size: 1.2rem;
  margin-top: 10px;
  color: white;
}

/* --- Menu --- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.menu-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  justify-content: space-between;
  align-items: center;
}

/* --- Galerie --- */
.gallery {
  display: flex;
  flex-wrap: wrap;       /* permet aux images de passer à la ligne si besoin */
  gap: 15px;             /* espace entre les images */
  justify-content: center;
}

.gallery img {
  width: calc(33.333% - 10px); /* 3 images par ligne sur desktop */
  height: auto;
  object-fit: cover;           /* remplit la case sans déformer */
  border-radius: 10px;
}
@media (max-width: 768px) {
  .gallery img {
    width: calc(50% - 10px); /* 2 images par ligne sur mobile */
  }
}

@media (max-width: 480px) {
  .gallery img {
    width: 100%; /* 1 image par ligne sur très petit écran */
  }
}


.gallery img:hover {
  transform: scale(1.05);
}

/* --- Contact --- */
.map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  margin-top: 20px;
  border-radius: 8px;
}

/* --- Footer --- */
footer {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 30px 0;
  margin-top: 40px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background-color: #111;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    display: none;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }
 
  .burger {
    display: block;
  }
  body {
    background-size: cover;
    background-position: center;
  }

  /* Logo */
  .logo img {
    width: 90%;      /* prend 80% de la largeur du conteneur */
    max-width: 300px; /* ne dépasse jamais 300px */
    height: auto;
  }

  /* Menu */
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  nav ul li a {
    font-size: 18px;
  }

  /* Galerie */
  .gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
  }

  /* Sections / Marges */
  section {
    padding: 20px;
  }
}

/* --- Détails supplémentaires --- */
.desc {
  color: rgb(173, 177, 174);
  text-align: left;
}

.name {
  font-weight: bold;
}

.price {
  text-align: right;
  font-style: italic;
  font-weight: normal;
}

.item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5px 0;
}

/* --- Icônes --- */
a svg {
  color: #0d6411;
  text-decoration: none;
  display: inline-block;
  vertical-align: middle;
}

.tiktok-icon {
  color: #0d6411;
}

.tiktok-icon svg {
  width: 40px;
  height: 40px;
}

/* --- Téléphone --- */
a.phone {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}

a.phone:hover {
  color: #a87c4f;
}

/* --- Bandes latérales (Super BG) --- */
.superbg {
  position: fixed;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 250px;
  z-index: -1;
  object-fit: cover;
}
@media (max-width: 768px) {
  .superbg {
    position: fixed;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 250px;
  z-index: -1;
  object-fit: cover;
  }

  .superbg.left {
    left: 0;
  }

  .superbg.right {
    right: 0;
  }
}


.superbg.left {
  left: 0;
  object-position: left center;
  max-width: 250px;
}

.superbg.right {
  right: 0;
  object-position: right center;
  max-width: 250px;
}




