/* Import de la police Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* RESET DE BASE */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;         /* Évite les scrolls horizontaux indésirables */
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;    /* Smooth scroll */
}

/* SECTIONS SPÉCIFIQUES D'ARRIÈRE-PLAN */
.hero-bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('/assets/img/BownAndBonBanner.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.menu-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('/assets/img/Notre%20Menu.jpg');
  background-size: cover;
  background-position: center;
}

.mini-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('/assets/img/concept-banner.jpg');
  background-size: cover;
  background-position: center;
}

.contact-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
}

/* ANIMATIONS GLOBALES */
.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-in;
}
.fade-in.visible {
  opacity: 1;
}

.slide-in-left {
  transform: translateX(-50px);
  opacity: 0;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}
.slide-in-left.visible {
  transform: translateX(0);
  opacity: 1;
}

.slide-in-right {
  transform: translateX(50px);
  opacity: 0;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}
.slide-in-right.visible {
  transform: translateX(0);
  opacity: 1;
}

/* MENU BURGER */
.hamburger {
  cursor: pointer;
  width: 24px;
  height: 24px;
  transition: all 0.25s;
  position: relative;
}
.hamburger-top,
.hamburger-middle,
.hamburger-bottom {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: #4a7c59;
  transform: rotate(0);
  transition: all 0.5s;
}
.hamburger-middle {
  transform: translateY(7px);
}
.hamburger-bottom {
  transform: translateY(14px);
}
.open {
  transform: rotate(90deg);
}
.open .hamburger-top {
  transform: rotate(45deg) translateY(6px) translate(6px);
}
.open .hamburger-middle {
  display: none;
}
.open .hamburger-bottom {
  transform: rotate(-45deg) translateY(6px) translate(-6px);
}

/* CARTES GÉNÉRIQUES / EFFET HOVER */
.menu-card {
  transition: all 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}
.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Variation pour d’autres cartes similaires */
.contact-card {
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.philosophy-card {
  transition: all 0.3s ease;
}
.philosophy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.testimonial-card {
  min-width: 300px;
}
.review-card {
  min-width: 300px;
  max-width: 600px;
}

/* TAGS / BADGES */
.allergen-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  margin-right: 4px;
  margin-bottom: 4px;
}

/* SYSTEME DE TABS */
.tab-button {
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}
.tab-button.active {
  border-bottom: 3px solid #4a7c59;
  color: #4a7c59;
  font-weight: 600;
}
.menu-section {
  display: none;
}
.menu-section.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* PRICE TAG */
.price-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 600;
  color: #4a7c59;
}

/* PROCESS VISUEL (PAGE CONCEPT) */
.ingredient-process {
  position: relative;
}

.ingredient-process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: #4a7c59;
  z-index: 1;
}

@media (max-width: 768px) {
  .ingredient-process::before {
    left: 0px;
    transform: none;
  }
}

/* FORMULAIRES, MAP, ET AUTRES ÉLÉMENTS */
.map-container {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

.form-input {
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}
.form-input:focus {
  border-color: #4a7c59;
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.2);
}

.social-icon {
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.social-icon:hover {
  transform: translateY(-3px);
}