/* Navbar */
.navbar {
  /* display: flex;
  justify-content: space-between;*/
  align-items: center;
  box-shadow: 0 2px 2px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 50;
  background-color: rgba(30, 30, 30, 0.8);
}

html {
  scroll-padding-top: 100px; 
}

.container {
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #1f2937;
}

/* Menu desktop */
.menu-desktop {
  display: flex;
  gap: 30px;
}

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

.menu-desktop li a:hover {
  color: #3b82f6;
}

/* Menu mobile */
.menu-mobile {
  position: fixed;        /* pour qu’il soit au-dessus du contenu */
  top: 60px;              /* juste en dessous de la navbar (ajuste si besoin) */
  right: 0;
  width: 200px;           /* largeur du menu */
  background-color: rgba(30, 30, 30, 0.95); /* sombre pour rester dans le thème */
  display: none;          /* masqué par défaut */
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  border-radius: 0 0 0 10px;
  z-index: 1000;          /* au-dessus de tout */
  box-shadow: -4px 4px 15px rgba(0,0,0,0.5);
}

/* Liens du menu mobile */
.menu-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menu-mobile li a {
  color: #fff;           /* texte blanc */
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
}

.menu-mobile li a:hover {
  color: #a2d149;        /* hover cohérent avec ton thème */
}

/* Affichage du menu quand actif */
.menu-mobile.active {
  display: flex;
}

/* Hamburger (déjà existant mais on s’assure) */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 40px;
  height: 3px;
  background-color: #fff;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (min-width: 769px) {
  .hamburger {
    display: none;          /* Cache le hamburger en desktop */
  }

  .menu-mobile {
    display: none !important; /* Empêche le menu mobile de s’afficher en desktop */
  }
}

/* Contenu */
.content {
  padding: 100px 20px 20px 20px;
}


/* Fond */
body {
  margin-top: 90px; /* ajuste la valeur selon la hauteur de ton h1 */
  color: #f0f0f0;
  background: url('./images/kingdom.png') no-repeat center center fixed; /* <- sans slash au début */
  background-size: cover;
  font-size: large;
  font-family: 'Merriweather', serif;
  background-color: #1b1b1b;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-color: rgba(0, 20, 0, 0.5);
  z-index: -1;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}
nav a {
  color: #dcdcdc;
  float: right;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: #a2d149;
}


/* Sections */
.section {
  padding: 60px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  margin: 30px;
  border-radius: 12px;
}
/* Roadmap */
.roadmap { display: flex; justify-content: center; flex-wrap: wrap; gap: 25px; }
.roadmap .item {
  background: rgba(20, 20, 20, 0.7);
  padding: 20px;
  border-radius: 8px;
  width: 220px; text-align: left;
}
.roadmap h3 { color: #ffd66b; }
.roadmap li { margin: 8px 0; }

/* CTA */
.hero { padding: 60px 20px; text-align: center; }
.btn {
  background: #a2d149; border: none; padding: 12px 30px;
  font-size: 1.2em; color: #002200; border-radius: 8px; cursor: pointer;
  transition: background 0.3s;
}
.btn:hover { background: #c4f472; }

/* Image de mascotte (10 fichiers JPG) */
.mascotte-img {
  width: 220px;
  max-width: 80vw;
  margin-top: 20px;
  border-radius: 18px;          /* carré arrondi, change si tu veux un cercle */
  box-shadow: 0 0 20px #a2d149;
  display: block;
  margin-left: auto; margin-right: auto;
}

/* Footer */
footer { text-align: center; background: rgba(30, 30, 30, 0.8); padding: 25px; }
footer a { color: #a2d149; text-decoration: none; }
footer a:hover { text-decoration: underline; }

.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  overflow-x: auto; /* Scroll si trop large */
  padding: 30px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  margin-top: 20px;
}

.stage {
  text-align: center;
  width: 140px;
  flex-shrink: 0; /* évite que les cases se compressent */
}

.stage img {
  width: 100px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
}

.stage img:hover {
  transform: scale(1.1);
}

.stage p {
  margin-top: 10px;
  font-size: 14px;
  color: #fff;
}

.stage img {
  height: 160px;   /* même hauteur pour tout le monde */
  width: auto;     /* largeur auto pour respecter le ratio */
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
}
.explication-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px; /* espace entre les éléments */
}

.coin {
  width: 100px;   /* ajuste la taille */
  height: auto;
}

.explication-text {
  text-align: center;
  color: white;
  margin-top: 20px;
  font-size: 1.2rem;
}

h1, h2, h3 {
  font-family: 'Cinzel Decorative', serif;
  color: #d4af37; /* or doré */
  text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
  letter-spacing: 2px;
}

p {
  font-family: 'Merriweather', serif;
  color: #f5f2e7;
  line-height: 1.6;
}

h1, h2 {
  font-family: 'Cinzel Decorative', serif;
  color: #d4af37;
}

/* Section About */
#About {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}

@media (max-width: 768px) {
  #About {
    flex-direction: column; /* empile texte et image */
    padding: 20px;
  }
  .about-text {
    padding-right: 0;
    margin-bottom: 20px;
    text-align: center; /* optionnel pour mobile */
  }
  .about-image img {
    max-width: 80%; /* image plus flexible */
    height: auto;
  }
}


.about-text {
  flex: 1;
  padding-right: 20px;
  color: #fff; /* pour garder lisible sur fond sombre */
}

.about-text h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #ffd700; /* doré pour rappeler le thème */
}

.about-text p {
  line-height: 1.6;
  font-size: 1.1em;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.6);
}

#mascotte {
  display: flex;            /* active le flexbox */
  flex-direction: column;   /* empile les éléments verticalement */
  align-items: center;      /* centre horizontalement */
  text-align: center;       /* centre le texte */
  margin-top: 50px;         /* espace au-dessus */
  margin-bottom: 50px;
  gap: 20px;                /* espace entre le titre et le bouton */
}

button {
  /* Style du bouton download */
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(90deg, #6c63ff, #3b3bff); /* joli dégradé violet/bleu */
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  font-family: 'Merriweather', serif;
  font-size: large;
}

button:hover {
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-download {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(90deg, #6c63ff, #3b3bff); /* joli dégradé violet/bleu */
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  background: linear-gradient(90deg, #3b3bff, #6c63ff);
}

.btn-download:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

