/* ===== VARIABLES ===== */
:root {
  --primary-color: #2c5530;
  --secondary-color: #4a7c59;
  --accent-color: #8fb996;
  --text-light: #ffffff;
  --text-dark: #2d3748;
  --background-light: #f8f9fa;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ===== TOP BANNER ===== */
.top-banner {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.top-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.top-logo {
  height: 80px;
  width: auto;
  margin-right: 2rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: var(--transition);
}

.top-logo:hover {
  transform: scale(1.05);
}

.animated-text {
  color: var(--text-light);
  font-size: 1.8rem;
  font-weight: 300;
  text-align: center;
  margin: 0;
  position: relative;
  animation: fadeInUp 1s ease-out, glow 2s ease-in-out infinite alternate;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  letter-spacing: 1px;
  line-height: 1.4;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(255,255,255,0.5), 0 2px 4px rgba(0,0,0,0.3);
  }
  to {
    text-shadow: 0 0 15px rgba(255,255,255,0.8), 0 4px 8px rgba(0,0,0,0.4);
  }
}

/* ===== RESPONSIVE TOP BANNER ===== */
@media (max-width: 768px) {
  .top-banner {
    flex-direction: column;
    padding: 1rem;
    text-align: center;
  }
  
  .top-logo {
    height: 60px;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .animated-text {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
  }
}

CSS pour le menu (menu.css)
css

/* ===== NAVBAR ===== */
.navbar {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 70px;
}

.logo_menu {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.logo_menu:hover {
  transform: rotate(-5deg) scale(1.1);
}

/* ===== TOGGLE BUTTON ===== */
.toggle {
  display: none;
  background: none;
  border: 2px solid var(--text-light);
  color: var(--text-light);
  font-size: 1.5rem;
  padding: 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
}

.toggle:hover {
  background: var(--text-light);
  color: var(--primary-color);
}

/* ===== NAV LINKS ===== */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.nav-links li {
  position: relative;
}

.nav-links > li > a {
  color: var(--text-light);
  text-decoration: none;
  padding: 1rem 1.2rem;
  display: block;
  font-weight: 500;
  transition: var(--transition);
  border-radius: 5px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.nav-links > li > a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-links > li > a:hover::before {
  width: 80%;
}

.nav-links > li > a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ===== DROPDOWN MENUS ===== */
.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--text-light);
  min-width: 220px;
  box-shadow: var(--shadow);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 1001;
  border: 1px solid rgba(0,0,0,0.1);
}

.dropdown-content li {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-content li:last-child {
  border-bottom: none;
}

.dropdown-content a {
  color: var(--text-dark);
  padding: 0.8rem 1.2rem;
  display: block;
  text-decoration: none;
  transition: var(--transition);
  font-weight: 400;
}

.dropdown-content a:hover {
  background: var(--accent-color);
  color: var(--text-light);
  padding-left: 1.5rem;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-light);
  padding: 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.lang-switcher:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-color);
}

.lang-switcher option {
  background: var(--primary-color);
  color: var(--text-light);
}

/* ===== MINI PANIER ===== */
#miniPanierWrapper {
  position: relative;
}

#miniPanier {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 25px !important;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

#miniPanier:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

#miniPanierDropdown {
  background: var(--text-light);
  border: 1px solid rgba(0,0,0,0.1) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
  animation: dropdownFade 0.3s ease;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .navbar {
    padding: 0 1rem;
  }
  
  .nav-links > li > a {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  .animated-text {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links li {
    width: 100%;
  }
  
  .nav-links > li > a {
    padding: 1rem 2rem;
    border-radius: 0;
  }
  
  .dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0,0,0,0.1);
    min-width: auto;
    border: none;
  }
  
  .dropdown-content a {
    color: var(--text-light);
    padding-left: 3rem;
  }
  
  .dropdown-content a:hover {
    background: rgba(255,255,255,0.1);
  }
  
  #miniPanierDropdown {
    right: 1rem;
    width: calc(100vw - 2rem);
  }
}

/* ===== ANIMATIONS SUPPLEMENTAIRES ===== */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.pulse {
  animation: pulse 2s infinite;
}

/* ===== ACCESSIBILITE ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== FOCUS VISIBLE ===== */
.nav-links a:focus,
.toggle:focus,
.lang-switcher:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}


