/* Variables pour les couleurs */
:root {
    --apple-black: #1d1d1f;
    --apple-white: #f5f5f7;
    --apple-blue: #0066cc;
  }


  body {
    background-color: #1d1d1f;  /* Fond sombre d'Apple */
    min-height: 100vh; /* Assure que le body prend au moins toute la hauteur de la fenÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Âªtre */
    display: flex;
    flex-direction: column; /* Organise le contenu verticalement */
}
  
  /* Reset de base */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
    margin-left: 10p;
  }
  
  /* Style du header */
  .main-header {
      background-color: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(20px);
      position: fixed;
      width: 100%;
      height: 44px;
      top: 0;
      z-index: 9999;
      border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  }
  
  /* Container du header */
  .main-header .container {
      max-width: 100%;
      padding: 0 40px;
      background-color: var(--apple-black);
  }
  
  /* Contenu du header */
  .header-content {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 50px;
      background-color: var(--apple-black);
      padding : 30px;
    }
  
  /* Style du logo */
  .logo-img {
      height: 40px;
      margin-top: 10px;
      margin-right : 70px;
  }
  
  /* Navigation links */
  .header-links {
      display: flex;
      gap: 24px;
      flex-direction: row;
      flex-wrap: nowrap;
      align-content: center;
      margin-top: -5px;
  }
  
  .header-link {
      color: var(--apple-white);
      text-decoration: none;
      font-size: 14px;
      transition: color 0.3s ease;
      padding: 15px;
      text-align: center;
      margin-top: 10px;
      margin-left: 5px;
  }

  .header-link-connexion {
      position: relative;
      color: var(--apple-white);
      text-decoration: none;
      font-size: 14px;
      padding: 15px;
      cursor: pointer;
      display: inline-block;
      margin-top : 10px;
  }

  .header-link-connexion:after {
      content: '\2304';
      margin-left: 5px;
      transition: transform 0.3s ease;
      display: inline-block;
  }

  .header-link-connexion:hover:after {
      transform: rotate(180deg);
  }

  .dropdown-menu {
      position: absolute;
      top: 100%;
      right: 0;
      background-color: var(--apple-black);
      min-width: 200px;
      border-radius: 8px;
      box-shadow: 0 8px 16px rgba(0,0,0,0.2);
      z-index: 1000;
      
      /* Animation */
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: all 0.3s ease;
  }

  .header-link-connexion:hover .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
  }

  .dropdown-menu a {
      color: var(--apple-white);
      padding: 12px 16px;
      text-decoration: none;
      display: block;
      transition: background-color 0.3s;
  }

  .dropdown-menu a:hover {
      background-color: #2d2d2f;
  }

  /* Style pour les options au survol */
  .header-link-connexion option:hover {
      background-color: #2d2d2f;
      color: var(--apple-white);
  }
  
  .header-link:hover {
      /* color: var(--apple-blue); */
  }
  

  /* Footer */
  .main-footer {
    padding: 20px 0;
    background-color: var(--apple-black);
    color: var(--apple-white);
    text-align: center;
    margin-top: auto; /* Pousse le footer vers le bas */
    width: 100%;
    position: relative; /* Assure que le footer reste en bas mÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Âªme avec peu de contenu */
    bottom: 0;
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
}

/* Si vous voulez une version plus claire pour les pages non-sombres */
.light-theme .main-footer {
    background-color: #f5f5f7;
    color: #86868b;
}

@media (max-width: 480px) {
    .main-header .container {
        padding: 0 20px; /* Garde l'espace horizontal */
        padding-bottom: 30px; /* Ajoute un espace en bas de 30px (ajuste selon tes besoins) */
    }


    h1 {
        margin-top : 60px
    }

    .logo-img {
      height: 40px;
      margin-top: 0px;
      margin-left: 100px;
  }

    
    .header-links {
        flex-direction: row; /* Aligner les ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â©lÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â©ments horizontalement */
        margin-top : 75px;
        margin-left: -375px;
        gap: 1px; /* RÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â©duire l'espace entre les liens */
    }
}

/* Hamburger button */
.hamburger-menu {
    display: none; /* Cacher le bouton par défaut */
    font-size: 30px;
    background: none;
    border: none;
    color: var(--apple-white);
    cursor: pointer;
  }
  
  /* Mobile Navigation */
  .mobile-nav {
    display: none; /* Cacher le menu mobile par défaut */
    position: absolute;
    top: 44px; /* Juste en dessous du header */
    right: 0;
    background-color: var(--apple-black);
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 10000;
  }
  
  .mobile-link {
    display: block;
    color: var(--apple-white);
    padding: 12px 20px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
  }
  
  .mobile-link:hover {
    background-color: #2d2d2f;
  }
  
  /* Afficher le menu hamburger en mode mobile */
  @media (max-width: 480px) {
    .header-links {
      display: none; /* Cacher les liens de navigation classique */
    }
  
    .hamburger-menu {
      display: block; /* Afficher le bouton hamburger */
    }
  
    .mobile-nav {
      display: flex;
      flex-direction: column; /* Empiler les liens */
      gap: 10px;
    }
  }

  .hidden {
    display: none !important;
  }