/* ==============================================
   RESET & BASE
   ============================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lora", serif;
  line-height: 1.3;
  font-size: 1.3rem;
  background: #0b0b0f;
  color: #f5f5f5;
  overflow-x: hidden;
}

/* ==============================================
   SECTION: HERO (bannière principale)
   ============================================== */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* Image de fond avec effet zoom au survol */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/header.jpg")
    center/cover no-repeat;
  transform: scale(1.1);
  transition: transform 5s ease;
  z-index: -2;
}

/* Voile sombre par-dessus l’image */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* Effet zoom au survol */
.hero:hover::before {
  transform: scale(1.2);
}

/* ==============================================
   NAVIGATION
   ============================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  transition: all 0.4s ease;
}

/* Style modifié quand la navbar devient "scrolled" */
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9);
  padding: 1rem 4rem;
}

.logo {
  font-family: "YourChosenScript", cursive;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.9rem;
  letter-spacing: 0.5px;
  color: #c7a76c;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #c7a76c;
}

/* ==============================================
   BOUTONS
   ============================================== */
.btn {
  background: #c7a76c;
  color: #0b0b0f;
  padding: 0.6rem 1.2rem;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.hero-content .btn {
  padding: 1rem 1.4rem;
  font-size: 1.2rem;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.btn:hover {
  background: #f5f5f5;
}

/* ==============================================
   CONTENU HERO (titre, texte, animation)
   ============================================== */
.hero-content {
  text-align: center;
  position: relative;
  top: 45%;
  transform: translateY(-50%);
  animation: fadeIn 2s ease;
  color: #fff;
}

.hero-content h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 3.2rem;
  letter-spacing: 0.4px;
  margin-bottom: 1rem;
  animation: slideUp 1.5s ease forwards;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInText 3s ease forwards 1s;
}

/* ==============================================
   SECTIONS GÉNÉRALES
   ============================================== */
.section {
  padding: 6rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.2;
  margin: 0 0 16px;
  color: #c7a76c;
  font-size: clamp(24px, 4vw, 36px);
}

/* ==============================================
   SECTION: À PROPOS
   ============================================== */
.about {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about .text {
  flex: 1.5;
  max-width: 700px;
}

.about .image {
  flex: 1;
}

.about .image img {
  width: 90%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  display: block;
  margin: 0 auto;
}

/* ==============================================
   SECTION: MENU
   ============================================== */
.menu-flow {
  max-width: 1000px;
  margin: 0 auto;
}

.menu-category {
  margin: 3.2rem 0;
  padding-top: 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-category:first-child {
  border-top: 0;
  padding-top: 0;
}

.menu-category h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 1.75rem;
  color: #f5f5f5;
  letter-spacing: 0.3px;
  margin-bottom: 1.2rem;
  text-align: left;
  position: relative;
}

/* Petits ornements sous les titres */
.menu-category h3::after {
  content: "✧ ✧ ✧";
  display: block;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  letter-spacing: 0.4rem;
  color: #c7a76c;
  opacity: 0.9;
  text-align: center;
}

.menu-category h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  color: #c7a76c;
  margin: 1rem 0 0.6rem;
}

.menu-list {
  list-style: none;
}

.dish {
  position: relative;
  padding: 0.75rem 0 1.15rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.dish:last-child {
  border-bottom: none;
}

.dish .meta {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.dish .name {
  font-weight: 600;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.2px;
}

.dish .price {
  white-space: nowrap;
}

.dish .dots {
  flex: 1;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.dish .desc {
  opacity: 0.85;
  margin-top: 0.35rem;
  max-width: 70ch;
}

.dish .thumb {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 130px;
  height: 86px;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0.95;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Image du plat en mode mobile */
@media (max-width: 900px) {
  .dish .thumb {
    position: static;
    transform: none;
    width: 100%;
    height: 170px;
    margin-top: 0.6rem;
    border-radius: 12px;
  }
}

/* ==============================================
   SECTION: GALERIE DÉFILANTE
   ============================================== */
.gallery {
  position: relative;
}

.rail {
  display: flex;
  gap: 16px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

/* Barre de défilement personnalisée */
.rail::-webkit-scrollbar {
  height: 8px;
}

.rail::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 6px;
}

.shot {
  flex: 0 0 400px;
  aspect-ratio: 30/20;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  scroll-snap-align: center;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Flèches de navigation */
.gallery .arrows {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  padding-inline: 16px;
}

@media (min-width: 1024px) {
  .gallery .arrows {
    padding-inline: 56px;
  }
}

.gallery button {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 2px solid #000;
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.gallery button:hover {
  background: #000;
  color: #fff;
}

.gallery button:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.gallery button:active {
  transform: scale(0.98);
}

/* ==============================================
   SECTION: AVIS CLIENTS
   ============================================== */


#avis .container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: 0;
}

#avis .headline {
  margin-bottom: 3rem;
}

#avis .muted {
  color: #aaa;
  font-size: 0.95rem;
}

.reviews {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.review {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1.8rem;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.4);
}

.review .stars {
  color: #c7a76c;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.review p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f5f5f5;
  margin-bottom: 0.8rem;
}

.review small {
  color: #999;
  font-style: italic;
  font-size: 0.9rem;
}

/* Flèches de navigation */
.container .arrows {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  padding-inline: 16px;
}

@media (min-width: 1024px) {
  .container .arrows {
    padding-inline: 56px;
  }
}

.container button {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 2px solid #000;
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.container button:hover {
  background: #000;
  color: #fff;
}

.container button:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.container button:active {
  transform: scale(0.98);
}


/* ==============================================
   SECTION: CONTACT / RÉSERVATION
   ============================================== */
.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.reservation-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reservation-form input,
.reservation-form textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  outline: none;
}

.info {
  flex: 1;
}

iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 15px;
  margin-top: 1rem;
}

/* ==============================================
   PIED DE PAGE
   ============================================== */
footer {
  background: #111;
  text-align: center;
  padding: 2rem;
  color: #888;
}

footer a:visited {
  color: #c7a76c;              /* garde la même couleur dorée même après clic */
}

footer a {
  color: #c7a76c;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

/* ==============================================
   ANIMATIONS
   ============================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInText {
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==============================================
   RESPONSIVE (mobile)
   ============================================== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 1rem 2rem;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}



/* ==============================================
   RESPONSIVE DESIGN — optimisations mobile
   ============================================== */

/* 1️⃣  Écrans ≤ 1024px — Tablettes */
@media (max-width: 1024px) {
  .navbar {
    padding: 1rem 2rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .about {
    flex-direction: column;
    text-align: center;
  }

  .about .image img {
    width: 100%;
    max-width: 500px;
  }


  iframe {
    height: 300px;
  }
}

/* 2️⃣  Écrans ≤ 768px — Smartphones */
@media (max-width: 768px) {

  /* ===== NAVBAR ===== */
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    backdrop-filter: blur(8px);
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 0.5rem;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  /* ===== HERO ===== */
  .hero {
    height: 85vh;
  }

  .hero-content {
    top: 50%;
    transform: translateY(-50%);
    padding: 0 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  /* ===== À PROPOS ===== */
  .about {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .about .text {
    max-width: 100%;
  }

  .about .image img {
    width: 100%;
    border-radius: 12px;
  }

  /* ===== GALERIE ===== */
  .shot {
    flex: 0 0 85%;
    aspect-ratio: 4/3;
  }

  .gallery .arrows {
    display: none; /* On supprime les flèches sur mobile */
  }

  /* ===== AVIS CLIENTS ===== */
  #avis {
    padding: 4rem 1.5rem;
  }

  .reviews {
    grid-template-columns: 1fr;
  }

  .review {
    flex: 0 0 300px;
    padding: 1.2rem;
    font-size: 0.95rem;
  }

  .review .stars {
    font-size: 1rem;
  }

  .container.arrows {
    display: none; /* On supprime les flèches sur mobile */
  }

  /* ===== CONTACT ===== */
  .contact-content {
    flex-direction: column;
    padding: 0 1rem;
  }

  .reservation-form input,
  .reservation-form textarea {
    font-size: 1rem;
  }

  iframe {
    height: 220px;
  }

  /* ===== FOOTER ===== */
  footer {
    padding: 1.5rem;
    font-size: 0.9rem;
  }
}

/* 3️⃣  Écrans ≤ 480px — Petits téléphones */
@media (max-width: 480px) {

  body {
    font-size: 1rem;
    line-height: 1.5;
  }

  h2 {
    font-size: 1.4rem;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .btn {
    padding: 0.7rem 1.3rem;
    font-size: 0.9rem;
  }

  .review p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .reservation-form textarea {
    height: auto;
    min-height: 1.3rem;
    font-size: 0.9rem;
  }
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 15;
}

.bar1, .bar2, .bar3 {
  width: 30px;
  height: 3px;
  background-color: #f5f5f5;
  margin: 5px 0;
  transition: 0.4s;
}

.change .bar1 {
  transform: translateY(8px) rotate(-45deg);
}
.change .bar2 {
  opacity: 0;
}
.change .bar3 {
  transform: translateY(-8px) rotate(45deg);
}

/* Menu mobile (caché par défaut) */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0,0,0,0.95);
    width: 100%;
    padding: 1.5rem 0;
    gap: 1.5rem;
    text-align: center;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
  }
}






/* css des pages #mentions #confidentialite #cookies*/ 
body#mentions, body#confidentialite, body#cookies {
  background: #0b0b0f;
  color: #f5f5f5;
}

body#mentions .section,
body#confidentialite .section,
body#cookies .section {
  opacity: 1 !important;      /* 🔥 force affichage du contenu */
  transform: none !important; /* enlève l’effet de scroll */
  padding-top: 8rem;
}

body#mentions h2,
body#confidentialite h2,
body#cookies h2 {
  color: #c7a76c;
  margin-bottom: 1.5rem;
}

body#mentions a,
body#confidentialite a,
body#cookies a {
  color: #fff;
  text-decoration: none;
  
}
body#mentions a:hover,
body#confidentialite a:hover,
body#cookies a:hover {
  color: #c7a76c;
}



body#mentions footer,
body#confidentialite footer,
body#cookies footer {
  background: #111;
  color: #aaa;
}