/* -------------------------------
   PALETTE GRIS CLAIR • ROUGE BRIQUE
-------------------------------- */
:root {
  --bg: #e5e5e5;           /* gris clair moderne */
  --paper: #ffffff;        /* surface blanche propre */
  --text: #2b2b2b;         /* texte gris très foncé */
  --muted: #6b6b6b;        /* gris moyen */

  --accent: #b64232;       /* rouge brique */
  --accent-light: #d16351; /* rouge brique clair */

  --border: #cfcfcf;       /* gris clair pour séparations */
  --radius: 18px;

  --shadow: 0 6px 18px rgba(0,0,0,0.12);
  --shadow-hover: 0 8px 25px rgba(0,0,0,0.16);

  --transition: 0.25s ease;
}

/* ------------------------------------
   GLOBAL
------------------------------------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 92%;
  margin: auto;
  max-width: 1100px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

/* ------------------------------------
   HEADER PREMIUM
------------------------------------- */
header {
  position: relative;
  height: 165px;
  background-image: url("images/header-bg.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.15),
      rgba(0,0,0,0.55)
  );
  z-index: 1;
}

.header-center {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 3;
}
.logo-big {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);

  /* Position dans le header */
  position: absolute;
  bottom: 10px;   /* distance du bas du header */
  left: 10px;     /* distance de la gauche */
}

/* ------------------------------------
   ICONES HAUT DROITE
------------------------------------- */
.shortcut-icons {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  display: flex !important;
  gap: 10px !important;
  z-index: 9999 !important;
}

.shortcut-icons img {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

/* ------------------------------------
   BOUTON BURGER (EN HAUT À GAUCHE)
------------------------------------- */
.burger-img {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 9999;
}

.burger-img img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

.burger-img:hover img {
  transform: scale(1.07);
}

/* ------------------------------------
   MENU BURGER LATÉRAL (SLIDE)
------------------------------------- */
.burger-nav-hidden {
  position: fixed;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: var(--paper);
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid var(--border);
  transition: 0.3s ease;
  z-index: 9998;
  overflow-y: auto;

}

.burger-nav-hidden a {
  padding: 12px;
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.burger-nav-hidden.active {
  left: 0;
}

/* ------------------------------------
   OVERLAY BURGER
------------------------------------- */
.burger-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  z-index: 9990;
  backdrop-filter: blur(1px);
}

.burger-overlay.active {
  display: block;
}

/* ------------------------------------
   BARRE HORIZONTALE PREMIUM ROUGE BRIQUE
------------------------------------- */

.categories-horizontal {
  display: flex;
  overflow-x: auto;                 
  gap: 10px;
  padding: 12px 16px;
  white-space: nowrap;              
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.categories-horizontal::-webkit-scrollbar {
  display: none;
}

.categories-horizontal a {
    background: linear-gradient(135deg, #c44b36, #a63729);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 3px 10px rgba(0,0,0,0.18);
    transition: 0.25s ease;
    position: relative;
    flex-shrink: 0;                 
    cursor: pointer;
}

.categories-horizontal a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
      to bottom,
      rgba(255,255,255,0.28) 0%,
      rgba(255,255,255,0.05) 60%,
      transparent 100%
  );
  pointer-events: none;
  opacity: 0.65;
}

.categories-horizontal a:hover {
  background: linear-gradient(135deg, #a63729, #8d2d23);
  box-shadow: 0 4px 14px rgba(0,0,0,0.28);
  transform: translateY(-2px);
}

/* ------------------------------------
   EVENEMENT BUTTON
------------------------------------- */
.event-button {
  background: #c19b2c;
  color: white;
  padding: 14px 22px;
  font-size: 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  animation: pulseEvent 1.6s infinite;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

@keyframes pulseEvent {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ------------------------------------
   POPUP ÉVÉNEMENT
------------------------------------- */
.popup {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 16px;
}

.popup-content {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  max-width: 92%;
}

.popup-image {
  width: 100%;
  border-radius: 12px;
}

.close {
  position: absolute;
  top: 6px;
  right: 14px;
  font-size: 34px;
  cursor: pointer;
  color: #333;
}

/* ------------------------------------
   MENU GRID
------------------------------------- */
#menu-grid {
  padding: 10px 14px 90px;
}

.items {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.menu-item {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.menu-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.item-img-wrapper {
  width: 100%;
  aspect-ratio: 1/1;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.menu-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-info {
  padding: 14px;
}

.item-name {
  font-size: 19px;
  margin-bottom: 4px;
}

.item-desc {
  font-size: 0.85rem;
  color: var(--muted);
}

.item-price {
  margin-top: 8px;
  font-size: 18px;
  font-weight: bold;
  color: var(--accent);
}

/* ------------------------------------
   LIGHTBOX
------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 22px;
  z-index: 99999;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 95%;
  max-height: 75vh;
  border-radius: var(--radius);
}

.lightbox .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 34px;
  color: #fff;
}

/* ------------------------------------
   LANG SWITCH
------------------------------------- */
.lang-switch {
  position: fixed;
  right: 14px;
  bottom: 85px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
}

.lang-button {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 6px 8px;
  border-radius: 12px;
  font-size: 18px;
  box-shadow: var(--shadow);
}

.lang-button.active {
  background: #fff;
  color: var(--accent);
  border: 2px solid var(--accent);
  transform: scale(1.05);
}

/* ------------------------------------
   GOOGLE REVIEW
------------------------------------- */
.google-review-fab {
  position: fixed;
  bottom: 20px;
  left: 15px;
  background: #fff;
  padding: 10px;
  border-radius: 16px;
  box-shadow: var(--shadow-hover);
  z-index: 99999;
}

.google-review-fab img {
  width: 45px;
  height: 45px;
}

/* ------------------------------------
   FOOTER
------------------------------------- */
footer {
  padding: 25px 0;
  margin-top: 40px;
  text-align: center;
  color: var(--muted);
}

footer a {
  color: var(--accent);
}
/* -----------------------------
   BOUTON REMONTER EN HAUT
------------------------------ */
.back-to-top {
    position: fixed;
    bottom: 20px;               /* en bas */
    left: 50%;                  /* centrer */
    transform: translateX(-50%);/* correction du centrage */
    
    width: 55px;
    height: 55px;

    background: linear-gradient(135deg, #c44b36, #a63729);
    color: #fff;

    border-radius: 50%;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 9999;

    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateX(-50%) translateY(-4px);
}
/* Protected images */
.item-img-wrapper {
    /* Taille des images */
    background-size: contain;          /* avant : cover → provoquait le zoom */
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;            /* Tu peux mettre #fff si tu préfères */

    /* Protection iOS & Android */
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;

   
}

/* ------------------------------------
   LIGHTBOX PROTÉGÉE (background-image)
------------------------------------- */

.secure-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.secure-lightbox.active {
    display: flex;
}

.secure-lightbox-content {
    width: 88%;
    max-width: 480px;
    height: 70vh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    /* empêche le menu iOS (enregistrer l'image) */
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
.item-img-wrapper {
    width: 100%;
    height: 180px;                /* important pour garder un bon format */
    border-radius: 12px;

    background-size: cover;       /* 👈 rempli le cadre */
    background-position: center;
    background-repeat: no-repeat;

    background-color: #000;       /* change si tu veux */

    /* protections */
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

