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);
  }
}

.logo-container {
    display: flex; /* Permet d'aligner l'image et le texte sur une même ligne */
    align-items: center; /* Centre verticalement l'image et le texte */
    gap: 10px; /* Ajoute un espace entre le logo et le texte */
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 2.4rem; /* Taille du texte "Tra-V" */
    font-weight: bold;
    color: #000; /* Couleur du texte */
    font-family: inika, 'Poppins', sans-serif; /* Police utilisée */
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

/* 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;
}

/* =============== GLOBAL =============== */
.auto-travel-main {
  padding: 40px 20px;
  font-family: "Inika", serif;
  color: #2c2c54;
  background-color: #fff;
}

/* =============== INTRO =============== */
.intro-section {
  text-align: center;
  margin-bottom: 50px;
}

.intro-section h1 {
  font-size: 42px;
  color: #2E8B57;
  margin-bottom: 15px;
}

.intro-section p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  color: #555;
}

/* =============== FILTERS =============== */
.filter-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.filter-section select {
  padding: 12px 18px;
  font-size: 16px;
  border: 2px solid #aaa;
  border-radius: 8px;
  background-color: #f5f5f5;
  transition: border-color 0.3s;
}

.filter-section select:focus {
  border-color: #2E8B57;
  outline: none;
}

/* =============== GRID =============== */
/* ✅ Roadmap Grid */
.roadmap-catalogue {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ✅ Centre les éléments même s’ils sont seuls */
  gap: 40px;
  padding: 0 20px;
}

/* ✅ Roadmap Card */
.roadmap-card {
  width: 360px; /* ✅ Taille fixe et élégante */
  max-width: 100%;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 560px;
}


.roadmap-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Image */
.roadmap-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
}

/* Contenu */
.card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.card-content h3 {
  font-size: 24px;
  color: #1e1e1e;
  margin-bottom: 10px;
}

.roadmap-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 20px;
}

.roadmap-info {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.roadmap-author {
  font-size: 13px;
  color: #888;
  font-style: italic;
  text-align: right;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 500px) {
  .intro-section h1 {
    font-size: 28px;
  }

  .filter-section {
    flex-direction: column;
    align-items: center;
  }

  .roadmap-card {
    height: auto;
  }
}

