/* Style de base pour la barre */
.navbar {
    display: flex;
    justify-content: space-between; /* Espace entre le logo et les liens */
    align-items: center;
    padding: 1rem 2rem;
    font-family: 'Segoe UI', sans-serif;
    color: white;
}

/* Style du logo */
.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Liste des liens */
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px; /* Espace entre chaque lien */
}

/* Style des liens */
.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    align-self: center;
}

.nav-links a:hover {
    color: #3498db;
}

.btn-contact {
    display: inline-block; /* Important pour l'animation */
    background: var(--primary-color);
    color: var(--accent-color) !important;
    padding: 12px 25px;
    border-radius: 10px; /* Bords plus arrondis = plus moderne */
    transition: all 0.3s ease; /* Fluidité */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Ombre légère */
    border: 2px solid transparent; /* Prépare la bordure */
    font-weight: bold;
}

.btn-contact:hover {
    background-color: #004494;
    transform: translateY(-2px); /* Le bouton remonte un peu */
    box-shadow: 0 6px 12px rgba(0,0,0,0.2); /* L'ombre grandit */
}

.btn-contact:active {
    transform: translateY(1px); /* Effet d'enfoncement au clic */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    margin-left: 20px;
    font-weight: 500;
}

.nav-links a:hover {
    text-decoration: underline;
}


.dropdown-check {
  display: none;
}

.dropdown {
  position: relative;
  display: inline-block;
align-self: center;
color: var(--primary-color);
}

.logout:hover, #menuButton:hover {
    text-decoration: underline;
}
/* Le menu est caché par défaut */
.dropdown-menu {
  position: absolute;
    top: 50px;
  right: 0px;
  display: none; /* Ou opacity: 0 pour une transition */
  background:  #fff;
  list-style: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 10px;
  min-width: 150px;
   border-radius: 20px;
}

/* La classe qui sera ajoutée en JS */
.show {
  display: block;
}

.dropdown-menu a,
.dropdown-menu form{
    margin-left: 5px;
}


.logout, #menuButton {
    background-color: transparent;
    justify-self: center;
    border: 0;
    color: var(--primary-color);
    font-size: 16px;
    font-family: 'Segoe UI', sans-serif;
}



.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

/* La règle essentielle pour tous les sites modernes ! */

.logo img {
    height: 80px;
}

/* --- NAVIGATION --- */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 100px;
}