/* ==========================================================================
   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-tradition {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 15px;
}

@media (min-width: 1024px) {
  .layout-tradition {
    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-tradition{
  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-tradition, .titre-secondaire-rara {
  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;
}

.texte-tradition-laicite, .texte-tradition-rara {
  font-size: 1.1rem;
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  color: white; 
}

/* Modifie la couleur du mot "ICI" */
.source-officielle-laicite 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" */
.source-officielle-laicite a:hover {
    color: #FF5733; /* Le mot devient orange/rouge au survol */
}


/* Paragraphes de texte (Hérité de .koukoul) */
.liste-points-titre {
  color: red; /* Votre couleur de texte blanche */
  font-size: 1.5rem;
  text-shadow: 1px 1px 2px white; /* Votre effet d'ombre noire */
  line-height: 1.7;
}

.liste-details-rara{
  font-size: 1.1rem;
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  color: white; 
}

/* Modifie la couleur du mot "ICI" */
.source-officielle-rara 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" */
.source-officielle-rara 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: greenyellow;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
}

/* Boîte du diaporama nettoyée des marges négatives */
.slideshow-container {
  max-width: 240px; /* Votre largeur maximale de 450px préservée */
  position: relative;
  margin: 0 auto;   /* Centrage automatique sain */
  overflow: hidden;
  border: 1px solid #ffffff;
  border-radius: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  background-color:white;
}
/* Cache les diapos par défaut */
.mySlides-trad {
  display: none;
}
.mySlides-trad img {
  width: 110%;
  height: 160px;
  object-fit: cover; /* Empêche les déformations d'images */
}
/* Boutons de direction (Précédent / Suivant) */
.prev-trad, .next-trad {
  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-trad {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev-trad:hover, .next-trad: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;
}

/* 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%); }
}
