.zoom-img {
  transition: transform 0.3s ease;
}

.zoom-img:hover {
  transform: scale(1.2);
}
/* ===== HEADER NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  padding: 15px 0;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 0;
  padding: 0;
}

.navbar a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  transition: 0.3s;
}

.navbar .link1:hover {
  color: #00ffc3;
}

.navbar .link2:hover {
  color: red;
}

.navbar .link3:hover {
  color: yellow;
}
/* ===== RESET ===== */
body {
  margin: 0;
  font-family: Candara, Calibri, Segoe UI, Arial, sans-serif;
  color: white;
  background-color: black;
}

/* ===== INTRO TITRE ===== */
.intro {
  min-height: 100vh;
  background-image: url("Sakamoto_Days.jpg "); /* Remplace par le nom de ton image */
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
 .introdrstone {
  min-height: 100vh;
  background-image: url("caststone.jpg"); /* Remplace par le nom de ton image */
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.introdrstone img {
  max-width: 70%;
  opacity: 0;
  transform: scale(0.8);
  animation: fadeIn 2s ease forwards;
}

.introv2 {
  min-height: 100vh;
  background-image: url("fireforce.jpg"); /* Remplace par le nom de ton image */
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.introv2 img {
  min-width: 80%;
  opacity: 0;
  transform: scale(0.8);
  animation: fadeIn 2s ease forwards;
}
.intro img {
  max-width: 70%;
  opacity: 0;
  transform: scale(0.8);
  animation: fadeIn 2s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== SECTIONS PARALLAXE ===== */
.section {
  min-height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* Dr Stone */
#senku-section { background-image: url("StoneWorld.jpg"); }
#gen-section { background-image: url("gendr.jpg"); }
#ryusui-section { background-image: url("flagstone.jpg"); }
#suika-section { background-image: url("stone+ca.jpg"); }
#Kohaku-section { background-image: url("rikabg.jpg"); }
#Xeno-section { background-image: url("xenocastle.jpg");}
#Tsukasa-section { background-image: url("tsukasaa.jpg"); }
#Hyoga-section { background-image: url("Hyoga.jpg"); }
#Yuzuriha-section { background-image: url("Yuzuriha.jpg"); }
#Taiju-section { background-image: url("Taiju.jpg"); }
#Chrome-section { background-image: url("Chrome.jpg"); }
#Stanley-section { background-image: url("Stanley.jpg"); }
#Kaseki-section { background-image: url("Kaseki.jpg"); }

/* Sakamoto Days */
#Sakamoto-section { background-image: url("Sakamoto.jpg"); }
#Shin-section { background-image: url("Shin.jpg"); }
#Yoichi-section { background-image: url("Yoichi.jpg"); }
#Takamura-section { background-image: url("Takamura.jpg"); }
#Osaragi-section { background-image: url("Osaragi.jpg"); }
#Lu-section { background-image: url("Lu.jpg");}
#Heisuke-section { background-image: url("Heisuke.jpg"); }
#Shishiba-section { background-image: url("Shishiba.jpg"); }
#-section { background-image: url(".jpg"); }
#Kei-section { background-image: url("Kei.jpg"); }
#Gaku-section { background-image: url("Gaku.jpg"); }
/*#Stanley-section { background-image: url(".jpg"); }
#Kaseki-section { background-image: url(".jpg"); }*/

/*Fire Force*/
#Shinra-section { background-image: url("Shinra.jpg"); }
#Arthur-section { background-image: url("Arthur.jpg"); }
#Maki-section { background-image: url("Maki.jpg"); }
#Tamaki-section { background-image: url("Tamaki.jpg"); }
#Benimaru-section { background-image: url(" Benimaru.jpg"); }
#Sho-section { background-image: url("Sho.jpg"); }
#Haumea-section { background-image: url("Haumea.jpg"); }
#Charon-section { background-image: url("Charon.jpg"); }
#Iris-section { background-image: url("Iris.jpg"); }
/* ===== BANDE NOIRE ENTRE SECTIONS ===== */
.separator {
  height: 150px;
  background-color: black;
}

/* ===== CONTENU ===== */
.content-box {
  background: rgba(0, 0, 0, 0.85);
  width: 90%;
  max-width: 1300px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  border-radius: 10px;
}

/* ===== ANIMATION INITIALE ===== */
.text, .character {
  opacity: 0;
  transition: all 1s ease;
}

.text { transform: translateX(-100px); }
.character { transform: translateX(100px); }

.show .text,
.show .character {
  opacity: 1;
  transform: translateX(0);
}

/* ===== TEXTE ===== */
.text { flex: 1; }

.text h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

.text p {
  font-size: 20px;
  line-height: 1.6;
  text-align: justify;
}

/* ===== IMAGE ===== */
.character {
  flex: 1;
  text-align: right;
}

.character img {
  max-height: 500px;
}