/* Menu Uniforme pour tout le site Gueoula.com - ADAPTATIF */
:root {
  --menu-gold: #ffd700;
  --menu-gold-dark: #f59e0b;
  --menu-dark-blue: #0f172a;
  --menu-mid-blue: #1e293b;
  --menu-brown: rgba(139, 69, 19, 0.95);
  --menu-text-light: #e2e8f0;
}

/* ========= STYLE PAR DÉFAUT (BLEU FONCÉ) ========= */
/* Bouton hamburger - défaut */
.menu-hamburger-btn {
  position: fixed !important;
  top: 15px !important;
  left: 15px !important;
  z-index: 99999 !important;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border: 2px solid rgba(251, 191, 36, 0.3);
  border-radius: 12px;
  color: var(--menu-dark-blue);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.menu-hamburger-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
}

/* Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Drawer - défaut bleu */
.menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 360px;
  height: 100vh;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 2px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 100000;
  overflow-y: auto;
  border-right: 2px solid rgba(251, 191, 36, 0.3);
}

.menu-drawer.active {
  transform: translateX(0);
}

/* En-tête - défaut bleu */
.menu-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgba(251, 191, 36, 0.3);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

.menu-title {
  font-size: 1.4em;
  font-weight: 900;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.menu-close {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fbbf24;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 1.5em;
  cursor: pointer;
  transition: all 0.3s;
}

.menu-close:hover {
  background: rgba(251, 191, 36, 0.25);
  transform: rotate(90deg);
}

/* Items - défaut bleu */
.menu-items {
  padding: 20px 0;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  color: var(--menu-text-light);
  text-decoration: none;
  font-size: 1.05em;
  font-weight: 600;
  transition: all 0.3s;
  border-left: 4px solid transparent;
  margin: 5px 10px;
  white-space: nowrap;
  background: rgba(30, 41, 59, 0.3);
  border-radius: 0 12px 12px 0;
}

.menu-item:hover {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(245, 158, 11, 0.1));
  border-left-color: var(--menu-gold);
  padding-left: 30px;
  color: #fbbf24;
}

.menu-item-icon {
  margin-right: 10px;
  font-size: 1.2em;
  display: inline-block;
  min-width: 25px;
  text-align: center;
  flex-shrink: 0;
}

/* ========= STYLE DORÉ POUR INDEX ========= */
body.page-index .menu-drawer {
  background: linear-gradient(180deg, rgba(139, 69, 19, 0.98) 0%, rgba(160, 82, 45, 0.95) 100%);
  border-right: 2px solid var(--menu-gold);
}

body.page-index .menu-header {
  background: linear-gradient(135deg, var(--menu-gold), var(--menu-gold-dark));
  border-bottom: 3px solid rgba(139, 69, 19, 0.5);
}

body.page-index .menu-title {
  color: var(--menu-brown);
  background: none;
  -webkit-text-fill-color: var(--menu-brown);
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

body.page-index .menu-close {
  background: var(--menu-brown);
  border: 2px solid rgba(255, 215, 0, 0.3);
  color: var(--menu-gold);
}

body.page-index .menu-close:hover {
  background: rgba(139, 69, 19, 1);
  border-color: var(--menu-gold);
}

body.page-index .menu-item {
  background: transparent;
  color: var(--menu-gold);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

body.page-index .menu-item:hover {
  background: rgba(218, 165, 32, 0.15);
  border-left-color: var(--menu-gold);
  color: #ffed4e;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .menu-drawer {
    width: 320px;
  }
  
  .menu-hamburger-btn {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
  
  .menu-item {
    font-size: 1em;
  }
}
/* ========= STYLE BLEU FONCÉ POUR PAGE CONTACT ========= */
body.page-contact .menu-hamburger-btn {
  background: linear-gradient(135deg, #1e293b, #0f1530);
  border: 2px solid rgba(255, 255, 255, 0.12);
  color: #e7ecff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

body.page-contact .menu-hamburger-btn:hover {
  background: linear-gradient(135deg, #2a3a5a, #1a2847);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

body.page-contact .menu-drawer {
  background: linear-gradient(180deg, #0e1636 0%, #0c122b 100%);
  border-right: 2px solid rgba(255, 255, 255, 0.12);
}

body.page-contact .menu-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
}

body.page-contact .menu-title {
  color: #e7ecff;
  background: none;
  -webkit-text-fill-color: #e7ecff;
}

body.page-contact .menu-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e7ecff;
}

body.page-contact .menu-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

body.page-contact .menu-item {
  background: rgba(18, 24, 41, 0.5);
  color: #e7ecff;
  border: 1px solid #263251;
}

body.page-contact .menu-item:hover {
  background: rgba(42, 58, 106, 0.3);
  border-left-color: #60a5fa;
  color: #fff;
}