/* ==========================================================================
   FUSION ET MODERNISATION DE LA PAGE GÉOGRAPHIE AVEC EFFETS EXCLUSIFS
   ========================================================================== */

/* Importation de vos polices Google Fonts favorites */
@import url('https://googleapis.com');

/* Reset de base hérité de votre code */
.blue {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Grille principale adaptative (Texte à gauche, Diaporama à droite) */
.layout-geographie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 15px;
}

@media (min-width: 1024px) {
  .layout-geographie {
    grid-template-columns: 2fr 1.3fr; /* Distribution idéale sur écran de PC HP */
  }
}

/* Bloc texte géographie (Hérité de votre conteneur .popoa) */
.bloc-info-geographie {
  background-color: rgba(250, 247, 247, 0.15); /* Votre opacité exacte */
  color: #ffffff;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: justify;
}

/* Votre titre stylisé (Hérité de .poa) */
.titre-principal-geo {
  font-size: 2.2rem;
  color:#ffcc00;/* Votre rouge exact */
  margin-top: 5px;
  margin-bottom: 25px;
  text-shadow: 2px 2px 5px white; /* Votre effet d'ombre blanche exact */
  font-weight: bold;
  text-align: center;
}

/* Paragraphes de texte (Hérité de .koukoul) */
.paragraphe-geo, .paragraphe-geo ul li {
  color: white; /* Votre couleur de texte blanche */
  font-size: 1.15rem;
  line-height: 1.7;
}

.paragraphe-geo h2 {
  font-size: 1.4rem;
  color: #ffcc00;
  margin-top: 25px;
  margin-bottom: 15px;
}

.paragraphe-geo ul {
  list-style-type: none;
  padding-left: 0;
}

.paragraphe-geo ul li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
}

.paragraphe-geo ul li::before {
  content: "📍";
  position: absolute;
  left: 0;
}

.lien-wikipedia-geo {
  margin-top: 25px;
  font-size: 1.1rem;
}

/* Modifie la couleur du mot "ICI" */
.lien-wikipedia-geo a {
    color: #00FFCC; /* Remplacez par le code couleur de votre choix */
    font-weight: bold; /* Met le mot en gras pour qu'il ressorte */
    text-decoration: underline; /* Laisse le mot souligné */
}
/* Modifie la couleur lorsque la souris passe sur "ICI" */
.lien-wikipedia-geo a:hover {
    color: #FF5733; /* Le mot devient orange/rouge au survol */
}

/* --- STRUCTURE DU DIAPORAMA (SLIDESHOW RESPONSIVE) --- */
.sidebar-slideshow {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.titre-slideshow {
  font-size: 1.3rem;
  color: #ffcc00;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-right: 8px;
}

/* Boîte du diaporama nettoyée des marges négatives */
.slideshow-container {
  max-width: 450px; /* Votre largeur maximale de 450px préservée */
  position: relative;
  margin: 0 auto;   /* Centrage automatique sain */
  overflow: hidden;
  border: 2px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  background-color: #000000;
  
}

/* Cache les diapos par défaut */
.mySlides-geo {
  display: none;
}

.mySlides-geo img {
  width: 100%;
  height: 320px;
  object-fit: cover; /* Empêche les déformations d'images */
}

/* Boutons de direction (Précédent / Suivant) */
.prev-geo, .next-geo {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  text-decoration: none !important;
  background-color: rgba(0, 0, 0, 0.3);
}

.next-geo {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev-geo:hover, .next-geo:hover {
  background-color: rgba(180, 100, 100, 0.8); /* Votre couleur d'interaction exacte */
  color: white;
}

/* Texte indicateur de numéro (Hérité de .numbertext) */
.numbertext {
  color: cornflowerblue; /* Votre bleu de numérotation exact */
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  background: rgba(0, 0, 0, 0.4);
  font-family: sans-serif;
  z-index: 10;
}

/* --- VOS BULLES DE NAVIGATION / POINTS (Hérité de .dot) --- */
.zone-dots {
  text-align: center;
  margin-top: 10px;
}

.dot-geo {
  cursor: pointer;
  height: 8px; /* Votre hauteur exacte */
  width: 8px;  /* Votre largeur exacte */
  margin: 0 3px;
  background-color: deepskyblue; /* Votre couleur bleu ciel exacte */
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.active-dot, .dot-geo:hover {
  background-color: white; /* Devient blanc à l'activation ou au survol */
}

/* Animation de transition */
.fade {
  animation-name: fadeAnimation;
  animation-duration: 1.5s;
}

@keyframes fadeAnimation {
  from { opacity: .4; }
  to { opacity: 1; }
}

/* Animation globale de défilement de texte */
@keyframes scroll-left {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
