/* Structure de base */
html, body {
  height: 100%;
  margin: 0;
  background-color: #101010;
  color: #fff;
  color: #FFD700;

}

.carte-profil {
  margin: auto;
  max-width: 350px;
  margin-top: 0;
}

.carte-contenu {
  text-align: center;
}


@media (max-width: 768px) {
  .logo {
    width: 80px;
  }
  .carte-texte {
    font-size: 0.9rem;
  }
}
.sous-titre {
  font-style: italic;
  color: #FFD700;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main {
  flex-grow: 1;
  padding-bottom: 10px;

}

/* En-tête et pied de page */
header,
footer {
  flex: 0 0 auto;
  color: #FFD700;
  background-color: #212529; 
}
.bg-entete {
  background-color: #212529; /* ou remplace par la couleur exacte de ton entête */
  color: #f8f9fa;
}

.logo {
    width: 80px;
    height: auto;
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    display: block;
    margin: 0;
   /* border: 1px dashed red;/* temporaire */
  }
  
.logo-site {
  max-width: 120px;
/*  width:100%; */
  height: auto;
/*  object-fit: contain; */
}


.logo-profil img {
  transition: transform 0.3s ease;
}

.logo-profil:hover img {
  transform: scale(1.05);
}
/* Animation au défilement */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-title {
  font-size: 2rem;
  font-weight: bold;
  color: #FFD700; /* doré */
  text-shadow: 2px 2px 5px #000000;
}

.site-title-3d {
  text-shadow:
    1px 1px 0 #000,
    2px 2px 0 #333,
    3px 3px 5px rgba(0,0,0,0.5);
}

.site-title-neon {
  color: #FFD700;
  text-shadow: 0 0 8px #FFD700, 0 0 16px #FFA500;
}

.site-title-dore {
  font-size: 2.5rem;
  font-weight: bold;
  color: #FFD700; /* doré */
  text-shadow:
    1px 1px 0 #000,
    2px 2px 3px rgba(0,0,0,0.5),
    0 0 10px rgba(255, 215, 0, 0.3); /* léger halo doré */
}


.carte-animee {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

/* Contenu principal */
.contenu-principal {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  padding: 2rem;
  gap: 1rem;
  min-height: 0;
}

/* Sections égales */
.section-gauche,
.section-centre,
.section-droite {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.site-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #FFD700;
  font-size: 1.5rem;
  line-height: 1.2;
  text-align: center;
}

.site-title .fs-6 {
  font-size: 1rem;
  color: #FFD700;
}

.flag-icon {
  height: 15px;
  margin-right: 5px;
  border: 1px solid #FFD700;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.05);
}

.ligne-separatrice {
/*  height: 0.2px;*/
  background-color: #FFD700;
/*  margin: 0.5rem 0;*/
  */
  height: 4px;
/*  background-color: red;*/
  margin-bottom: 0;  
}

.texte-petit {
  font-size: 0.75rem; /* ajuste selon ton goût */
  color: #FFD700;
}


/* Carte de profil */
.carte-profil {
  background-color: rgba(25, 25, 25, 0.85);
  border: 1px solid #FFD700;
  border-radius: 8px;
  padding: 1rem;
  color: #FFD700;
  max-width: 300px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  height:100%;
 /* margin-top: 0.5rem*/
}

/* Image dans la carte */
.carte-profil img {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* équilibre haut-bas */
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);

/*  width: 100%;
  height: auto;
  margin-bottom: 1rem;*/
}
.carte-profil-nikon img {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* équilibre haut-bas */
  height: 150%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);

/*  width: 100%;
  height: auto;
  margin-bottom: 1rem;*/
}
.carte-profil:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Contenu de la carte */
.carte-contenu {
  padding: 0.5rem;
}
.carte-titre {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.carte-texte {
  font-size: 0.9rem;
  color: #ccc;
}

/* Bouton personnalisé */
.btn-noir-or,
.btn-outline-light.dropdown-toggle {
  background-color: #000;
  color: #FFD700;
  border: 1px solid #FFD700;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-noir-or:hover,
.btn-outline-light.dropdown-toggle:hover,
.btn-outline-light.dropdown-toggle:focus {
  background-color: #FFD700;
  color: #000;
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5%;
  background-color: #212529; 
  color: #FFD700;
  border-top: 1px solid #FFD700;
  text-align: center;
  padding: 1rem;
  display: flex;
  justify-content: center;
  font-size: 0.5rem;
  font-style: italic;
  align-items: center;
  z-index: 1000;
}

.btn-menu {
  padding: 0.25rem 0.25rem;
  font-size: 1.0rem;
}
.drapeau-langue {
  width: 24px;
  height: 16px;
  object-fit: cover;
  vertical-align: middle;
}


/* Conteneur du menu */
.dropdown-menu {
  background-color: #000;       /* fond noir */
  border: 1px solid #FFD700;    /* bordure dorée */
  padding: 0.25rem 0;
  width: max-content;           /* s’adapte au contenu le plus long */
  min-width: 120px;
  white-space: nowrap;
}

 .carte {
  width: 300px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  position: relative;
  background-color: #f9f9f9;
}




.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* Liens du menu */
.dropdown-menu .dropdown-item {
  color: #FFD700;               /* texte doré */
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  transition: background-color 0.2s ease;
}

/* Effet au survol */
.dropdown-menu .dropdown-item:hover {
  background-color: #FFD700;   /* fond doré */
  color: #000;                 /* texte noir */
}

.lien-carte {
  text-decoration: none;
  color: inherit;
  display: block;
}

.lien-carte:hover .carte-profil {
  box-shadow: 0 0 10px #FFD700;
  transform: scale(1.02);
  transition: all 0.3s ease;
}
.lecteur-musique {
  background-color: #000;
  color: #FFD700;
  padding: 1rem;
  border-radius: 8px;
  max-width: 400px;
  margin: auto;
  text-align: center;
}

.titre-chanson {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
}

.progress-container {
  width: 100%;
  background-color: #333;
  border: 1px solid #FFD700;
  border-radius: 8px;
  height: 30px;
  margin: 1rem 0;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #FFD700;
  border-radius: 8px;
  transition: width 0.5s ease;
}

.footer small {
  color: #FFD700;
  background-color: #212529;
}

#libelle-langue {
  font-size: 0.600rem;
  color: #FFD700; /* Jaune doré comme dans le footer */
  font-weight: 400;
}
@media (max-width: 768px) {
  .logo-site {
    height: 40px;
  }

  .drapeau-langue {
    width: 20px;
    height: 14px;
  }

  #libelle-langue {
    font-size: 0.875rem;
  }
}

#welcome {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
#welcome.visible {
  opacity: 1;
}
.indent-choix {
  text-indent: 4ch; /* décalage de 4 caractères */
}

.fade-transition {
  transition: opacity 0.5s ease;
  opacity: 1;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}
.active-lang {
  font-weight: bold;
  color: #ffc107 !important; /* Jaune Bootstrap */
}

main {
  padding-bottom: 100px; /* Ajuste selon la hauteur du footer */
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
/*  flex: 1;*/
  padding-top: 0;
/*  border: 1px dashed yellow;*/
}
.btn-fixed {
  position: sticky;
  bottom: 20px;
  z-index: 10;
}

footer {
  position: relative; /* ou rien du tout */
  z-index: 10; /* Assure-toi qu’il est au-dessus si nécessaire */
}


  /* Réduction du bouton */
  .btn-menu-compact {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1;
  }

  /* Réduction du menu */
  .dropdown-menu-compact {
    min-width: 120px;
    padding: 0.25rem 0;
  }

  .dropdown-menu-compact .dropdown-item {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
  }

  .flag-icon {
    width: 16px;
    margin-right: 6px;
  }
  
  .row {
  margin-top: 0;
  /* debug */
/*  border: 1px dashed blue;*/
}
.carte-profil {
/*  border: 1px dashed green;*/
  margin-top:0;
}


.sans-espace-haut {
  margin-top: 0;
  padding-top: 0;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  color: black;
  margin: 10% auto;
  padding: 20px;
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
  text-align: center;
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}
.boutons .btn {
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
}
