body {
    font-family: inika, 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #2C2C54;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


footer {
	text-align: center;
}

/* Navbar Styles */
/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #E6FFE6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-radius: 0 0 20px 20px;
height: 30px;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Logo Section */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  font-size: 2.3rem;
  font-weight: bold;
  color: #000;
  transition: transform 0.3s ease-in-out;
}

.navbar-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.navbar-logo:hover {
  transform: scale(1.1);
}

/* Navigation Menu */
.navbar-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-top: 15px;
  padding: 0;
flex-wrap: wrap;
}

.navbar-links .nav-link {
  text-decoration: none;
  color: black;
  font-size: 1.0rem;
  font-weight: 500;
  padding: 10px 20px;
  background-color: #E6FFE6;
  border-radius: 50px;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.navbar-links .nav-link:hover {
  background-color: #fff;
  color: #000;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
transform: scale(1.1);
}

/* Hamburger Menu */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.navbar-toggle span {
  width: 35px;
  height: 4px;
  background: white;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .navbar-links {
      flex-direction: column;
      background: #16A085;
      position: absolute;
      top: 100%;
      right: 0;
      width: 100%;
      display: none;
      box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  }

  .navbar-links.active {
      display: flex;
  }

  .navbar-toggle {
      display: flex;
  }
}



/* Sous-menu déroulant */
/* 🌿 Dropdown modernisé */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  backdrop-filter: blur(12px);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  min-width: 230px;
  padding: 12px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  color: #2C3E50;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  background: transparent;
  border-left: 4px solid transparent;
}

.dropdown-link::after {
  content: '➜';
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(-5px);
  font-size: 0.95rem;
  color: #2C3E50;
}

.dropdown-link:hover {
  background-color: #d4ffe1;
  padding-left: 28px;
  border-left: 4px solid #2ECC71;
  border-radius: 0 10px 10px 0;
}

.dropdown-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* 🎯 Responsive */
@media (max-width: 768px) {
  .dropdown-menu {
      position: static;
      display: none;
      background: rgba(255, 255, 255, 0.9);
      box-shadow: none;
      border-radius: 12px;
      padding: 0;
      width: 100%;
  }

  .navbar ul.active .dropdown-menu {
      display: block;
      opacity: 1;
      transform: translateY(0);
  }
}

/* Style du bouton de déconnexion */
.logout-btn {
    margin-left: 10px;
    padding: 6px 12px;
    background-color: #dc3545; /* Rouge */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

/* Effet au survol */
.logout-btn:hover {
    background-color: #b02a37; /* Rouge foncé */
}

.user-nav {
  margin-left: 350px;
min-width: 220px;
}


/* Feuille de route */
.travel-plan {
	height: 650px;
    margin-top: 20px;
    padding: 20px;
    background-color: #f3fff3;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
	position: absolute; 
	left: 1590px;
	bottom: 110px;
	overflow-y: auto;
	scrollbar-width: none;
	width: 250px;
}

/* Style pour le message par défaut dans la feuille de route */
#travel-plan-list .empty-message {
    font-size: 1rem;
    font-style: italic;
    color: #888;
    text-align: center;
    margin: 20px 0;
    background: #f9f9f9;
    padding: 10px;
    border: 2px dashed #93f186;
    border-radius: 8px;
}


.travel-plan h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2C3E50;
}

.travel-plan ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.travel-plan ul li {
    background-color: transparent ;
    margin: 25px 0;
    padding: 10px;
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.travel-plan li {
    transition: background-color 0.3s ease, transform 0.1s ease;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    background: #000 ;
	border: 1px solid #bbb;
}

.travel-plan li:hover {
    transform: scale(1.03); /* Léger agrandissement */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Effet d'ombre */
}

.housings-dropdown {
    min-height: auto; /* Définit la hauteur max */
    overflow-y: auto; /* Active un scroll si le contenu dépasse */
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
	scrollbar-width: none;
}


/* Boutons d'action */
.actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.actions button {
    padding: 10px 20px;
    background-color: #8bf88b;
    border: none;
    color: #fff;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.actions button:hover {
    background-color: #2C3E50;
}

.toggle-button {
    width: 20px; /* Largeur de la flèche */
    height: 20px; /* Hauteur de la flèche */
    display: inline-block; /* Garde l'image en ligne avec le texte */
    cursor: pointer; /* Affiche un curseur de clic */
	position: relative; 
	left: 40px;
	top: 5px;
}


/* Bouton contenant l'icône */
.remove-region {
    background: transparent; /* Pas de fond pour le bouton */
    border: none; /* Pas de bordure */
    padding: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease; /* Animation fluide */
}

/* Icône PNG */
.delete-icon {
    width: 25px; /* Largeur de l'icône */
    height: 25px; /* Hauteur de l'icône */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Animation fluide */
}

/* Effet au survol */
.remove-region:hover .delete-icon {
    transform: scale(1.2); /* Agrandit l'icône au survol */
    opacity: 0.8; /* Légère transparence */
}

/* Effet au clic */
.remove-region:active .delete-icon {
    transform: scale(0.9); /* Réduction temporaire pour effet de clic */
    opacity: 1; /* Pleine opacité au clic */
}

.added-housing-item {
    display: flex;
    flex-direction: column;
    background-color: transparent !important; /* Vert pastel */
    border-radius: 15px;
    padding: 10px;
    margin: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    position: relative;
	min-height:90px;
	border: 1px solid #000 !important;
}

/* Nom du logement */
.added-housing-item .housing-name {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
    color: #2c3e50;
    text-align: left;
}

/* Dates et bouton suppression sur une même ligne */
.added-housing-item .dates-and-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px; /* Espace entre le nom et les dates */
}

/* Style des dates */
.added-housing-item .housing-dates {
    font-size: 0.8rem;
    color: #34495e;
    margin: 0;
}

/* Bouton suppression */
.added-housing-item .remove-housing-btn {
    background-color: transparent;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
	top: 44px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.added-housing-item .remove-housing-btn img {
    width: 20px;
    height: 20px;
}

/* Effet au survol du bouton suppression */
.added-housing-item .remove-housing-btn:hover {
    background-color: #c0392b;
    transform: scale(1.1);
    transition: all 0.2s ease;
}

/* Supprimez la barre blanche */
.added-housing-item .remove-housing-btn:focus {
    outline: none;
}

/* ✅ Style identique aux logements pour l'activité */
.added-activity-item {
	max-height: 100px;
    display: flex;
    flex-direction: column;
    background-color: transparent !important;
    border-radius: 15px;
    padding: 10px; /* Peut-être trop de padding en bas */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
	border: 1px solid #000 !important;
}



.activity-name {
    max-width: 90%; /* Ajuste la largeur maximale du titre */
    white-space: nowrap; /* Garde le texte sur une seule ligne *//
    text-overflow: ellipsis; /* Affiche les "..." si le texte dépasse */
    font-size: 1.1rem !important;
    font-weight: bold !important;
    margin: 0 !important;
    color: #2c3e50 !important;
    text-align: left;
    position: relative;
    cursor: pointer; /* Indique qu'une interaction est possible */
}

/* ✅ Effet de défilement au survol */
.activity-name:hover {
    animation: scrollText 9s linear infinite; /* Défilement fluide infini */
}

/* ✅ Animation du défilement du texte */
@keyframes scrollText {
    0% {
        transform: translateX(0%);
    }
    50% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}


.activity-dates {
    font-size: 14px;
	font-weight: 510;
    color: #555555;
	text-align: left;
	position: relative;
}

.activity-details {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #95a5a6;
    margin-top: 5px;
}

.remove-activity-btn {
    position: absolute;
	left: 84%;
	top: 89px;
    background: none;
    border: none;
    cursor: pointer;
}

.remove-activity-btn .delete-icon {
    width: 20px;
    height: 20px;
}

.remove-activity-btn:hover .delete-icon {
    transform: scale(1.1);
    transition: all 0.2s ease;
}

.activity-profile {
    font-size: 14px;
	font-weight: 510;
    color: #555555;
    margin-top: 10px;
	text-align: left;
}

/* Style du prix dans les sous-containers d'activit�s */
.activity-price {
	position: absolute;
	top: 52px;
    font-size: 12px;
    color: #555555;
    margin-top: 10px;
	text-align: left;
}

.housing-price {
	position: absolute!important;
	top: 55px!important;
    font-size: 12px!important;
    color: #555555!important;
    margin-top: 10px!important;
	text-align: left !important;
	max-width: 75% !important;
}

.housing-dates {
	position: relative;
	top : 5px;
}

/* ? Style du conteneur du prix total des activit�s */
.total-price-item {
	height: 40px !important;
    background-color: transparent !important; /* Couleur de fond douce (gris clair bleut�) */
    padding: 10px 15px !important;
    border-radius: 8px !important;
    margin: 15px 0 !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    color: #2C3E50 !important; /* Couleur texte sombre */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important; /* L�g�re ombre */
    text-align: center !important;
    transition: all 0.3s ease !important;
	border: 1px solid #000 !important;
}

/* ? Effet au survol */
.total-price-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2) !important; /* Ombre plus marqu�e */
}

/* ✅ Conteneur de prévisualisation avec position dynamique */
#activity-preview-box {
    position: absolute;
    width: 260px;
	max-width: 260px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

/* ✅ Afficher la prévisualisation au survol */
#activity-preview-box:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

/* ✅ Image de prévisualisation */
#preview-image-box {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ✅ Titre de la prévisualisation */
#preview-title-box {
    font-size: 0.9rem;
    color: #333;
    font-weight: bold;
    text-align: center;
    margin: 5px 0 0;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
	max-width: 210px; /* S'assure que le texte reste dans la modale */
    width: 100%;
    box-sizing: border-box; /* Prend en compte le padding dans la largeur */
}

/* ✅ Conteneur de prévisualisation logement */
#housing-preview-box {
    position: absolute;
    width: 260px;
    max-width: 260px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

#housing-preview-box:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

#housing-preview-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#housing-preview-title {
    font-size: 0.9rem;
    color: #333;
    font-weight: bold;
    text-align: center;
    margin: 5px 0 0;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 210px;
    width: 100%;
    box-sizing: border-box;
}

/* Conteneur restaurant */
.restaurants-dropdown {
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    scrollbar-width: none;
}

/* Carte restaurant */
.added-restaurant-item {
    display: flex;
    flex-direction: column;
    background-color: transparent !important;
    border-radius: 15px;
    padding: 10px;
    margin: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    position: relative;
    min-height: 90px;
	border: 1px solid #000 !important;
}

/* Nom */
.added-restaurant-item .restaurant-name {
    max-width: 90%; /* Ajuste la largeur maximale du titre */
    white-space: nowrap; /* Garde le texte sur une seule ligne *//
    text-overflow: ellipsis; /* Affiche les "..." si le texte dépasse */
    font-size: 1.1rem !important;
    font-weight: bold !important;
    margin: 0 !important;
    color: #2c3e50 !important;
    text-align: left;
    position: relative;
}

/* Date / heure */
.restaurant-date-time {
    font-size: 14px;
	font-weight: 510;
    color: #555555;
	text-align: left;
	position: relative;
	bottom: 20px;
}

/* Profils */
.restaurant-profiles {
    font-size: 14px;
	font-weight: 510;
    color: #555555;
    margin-top: 10px;
	text-align: left;
}

/* Bouton suppression */
.remove-restaurant-btn {
    position: absolute;
	left: 192px;
    top: 100px;
    background: none;
    border: none;
    cursor: pointer;
}

.remove-restaurant-btn .delete-icon {
    width: 20px;
    height: 20px;
}

.remove-restaurant-btn:hover .delete-icon {
    transform: scale(1.1);
    transition: all 0.2s ease;
}

/* ✅ Conteneur des régions dans la roadmap */
.regions-dropdown {
  margin-bottom: 20px;
}

/* ✅ Style des éléments région */
.added-region-item {
    display: flex;
    flex-direction: column;
    background-color: transparent !important; /* Vert pastel */
    border-radius: 15px;
    padding: 10px;
    margin: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    position: relative;
	border: 1px solid #000 !important;
}

.added-region-item:hover {
  background-color: #e7ffe7;
}

/* ✅ Nom de la région */
.added-region-item .region-name {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
	position: absolute;
	top: 26%;
    color: #2c3e50;
    text-align: left;
}

/* ✅ Bouton de suppression */
.added-region-item .remove-region-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.added-region-item .remove-region-btn:hover {
  transform: scale(1.1);
}

/* ✅ Alignement nom + bouton */
.added-region-item .dates-and-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ✅ Icône de suppression */
.added-region-item .delete-icon {
  width: 20px;
  height: 20px;
  transition: opacity 0.2s ease;
}

.added-region-item .delete-icon:hover {
  opacity: 1;
}


.button-next {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: absolute;
    bottom: 51px;
    left: 91%;
    transform: translateX(-50%);
    z-index: 10;
	height: 45px;
}

.button-next button {
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 550;
    color: #000;
    background: transparent;
    border: 2px solid #000;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    font-family: Inika, 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
	min-width: 260px !important;
}

.button-next button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.4s ease;
}

.button-next button:hover::before {
    left: 100%;
}

.button-next button:hover {
    background: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.button-next button:active {
    transform: translateY(1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}


/* === CONTAINER PRINCIPAL === */
.restaurant-page {
  display: flex;
  flex-direction: column;
  padding: 40px 40px;
  max-width: 78%;
  position: relative;
  bottom: 30px !important;
}

/* === INTRODUCTION === */
.restaurant-intro {
  text-align: center;
  margin-bottom: 40px;
}

.page-title {
  font-size: 2.2rem;
  font-weight: bold;
  background: linear-gradient(90deg, #2ecc71, #27ae60);
  color: white;
  border-radius: 25px;
  display: inline-block;
  padding: 10px 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.subtitle {
  font-size: 1.1rem;
  color: #555;
}

/* === THÉMATIQUES === */
.restaurant-themes {
  position: relative;
  bottom: 40px;
}

.restaurant-themes h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #000;
}

.theme-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.theme-btn {
  background: #e6ffe6;
  border: 1px solid #b2ebb2;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-btn:hover {
  background: #d4ffd0;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.theme-btn.selected {
  background-color: #8dfa83;
  color: #000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 2px solid #8dfa83;
}


/* === FILTRES AVANCÉS === */
.restaurant-filters {
  padding-right: 30px;
  position: relative;
  bottom: 40px;
  left: 150px;
}

.restaurant-filters h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #000;
  position: relative;
  right: 150px;
}

.filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.filter-group {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 600;
  margin-bottom: 10px;
  color: #2c3e50;
  
}

.filter-group select,
.filter-group input[type="number"],
.filter-group input[type="text"] {
  padding: 10px!important;
  border: 2px solid #000 !important;
  border-radius: 8px !important;
  font-size: 0.95rem!important;
  transition: border 0.4s, box-shadow 0.2s!important;
}

.filter-group select:hover,
.filter-group input[type="number"]:hover,
.filter-group input[type="text"]:hover {
    border-color: #71ff54 !important;
    box-shadow: 0 0 8px rgba(113, 255, 84, 0.6) !important;
    transform: scale(1.05) !important;
}

.filter-group select:focus,
.filter-group input[type="number"]:focus,
.filter-group input[type="text"]:focus {
    border-color: #71ff54 !important;
    box-shadow: 0 0 8px rgba(113, 255, 84, 0.6) !important;
    transform: scale(1.05) !important;
}

.filter-group input[type="number"]:focus {
    outline: none !important;
    box-shadow: 0 0 8px rgba(113, 255, 84, 0.6) !important;
    border: 2px solid #71ff54 !important;
    transform: scale(1.05) !important;
}

.filter-group input[type="text"]:focus {
    outline: none !important;
    box-shadow: 0 0 8px rgba(113, 255, 84, 0.6) !important;
    border: 2px solid #71ff54 !important;
    transform: scale(1.05) !important;
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.filter-btn, .reset-btn {
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  top: 85px;
  right: 740px;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ✅ Bouton FILTRER */
.filter-btn {
  background: linear-gradient(135deg, #66BB6A, #43A047);
  color: #fff;
}

.filter-btn:hover {
  background: linear-gradient(135deg, #81C784, #388E3C);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* ❌ Bouton RESET */
.reset-btn {
  background: linear-gradient(135deg, #EF5350, #E53935);
  color: #fff;
}

.reset-btn:hover {
  background: linear-gradient(135deg, #EF9A9A, #C62828);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


/* === LISTE DE RESTAURANTS === */
.restaurant-results h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #000;
}

.restaurant-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

/* === CARTE RESTAURANT === */
.restaurant-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  max-height: 85%;
}

.restaurant-card:hover {
  transform: scale(1.015);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.restaurant-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.restaurant-info {
  padding: 15px 20px;
}

.restaurant-info h3 {
  font-size: 1.1rem;
  margin: 0;
  color: #2c3e50;
}

.restaurant-info p {
  font-size: 0.95rem;
  color: #666;
  margin-top: 5px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .restaurant-page {
    padding: 30px 20px;
  }

  .filter-grid {
    flex-direction: column;
  }

  .theme-tags {
    justify-content: flex-start;
  }
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.restaurant-image {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

/* Flèches avec image */
.carousel-img-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px!important;
  height: 30px!important;
  cursor: pointer;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.carousel-img-btn:hover {
  opacity: 1;
}

.left-btn {
  left: 10px;
  transform: translateY(-50%) scaleX(-1); /* ⬅️ Inversée */
}

.right-btn {
  right: 10px;
  transform: translateY(-50%); /* ➡️ normale */
}

.restaurant-price {
  font-size: 1rem;
  color: #4CAF50;
  position: relative;
  left: 85%;
  bottom: 25%;
}

.price-faded {
  opacity: 0.3;
  filter: grayscale(100%);
}

#restaurant-preview-box {
  position: absolute;
  width: 340px;
  max-width: 90vw;
  min-height: 360px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.98);
  border-left: 5px solid #8dfa83;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
  font-family: Inika, 'Poppins', sans-serif;
}

#restaurant-preview-box:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

#restaurant-preview-box .preview-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
}

#restaurant-preview-box .preview-title {
  font-size: 1.15rem;
  font-weight: bold;
  color: #2C3E50;
  margin-bottom: 10px;
}

#restaurant-preview-box .preview-text {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #444;
  margin-bottom: 12px;
  font-style: italic;
}

#restaurant-preview-box .preview-info {
  font-size: 0.9rem;
  color: #333;
  margin: 4px 0;
  line-height: 1.4;
}

