/* style.css */
html {
    scroll-behavior: smooth;
  }
  
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #333;
  }
  
  h1, h2, h3, h4 {
    font-weight: 600;
    color: #212529;
  }
  
  a {
    color: #0d6efd;
    text-decoration: none;
  }
  
  a:hover {
    color: #0b5ed7;
    text-decoration: underline;
  }
  
  /* Animations fade-in */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards ease-out;
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Custom Cards */
  .card {
    transition: all 0.3s ease;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  
  /* Boutons */
  .btn-primary {
    background-color: #0d6efd;
    border: none;
    transition: background-color 0.3s ease;
    border-radius: 8px;
  }
  
  .btn-primary:hover {
    background-color: #0b5ed7;
  }
  
  /* Footer */
  footer {
    font-size: 14px;
    opacity: 0.9;
  }
  
.bg-dark{
    background-color: black !important;
    height: 60px !important;
}
.containers{
    background-color: #f2f2f2;
    height: 380px;
    border: 1px solid  #f2f2f2;
    padding-left: 60px;
    padding-top: 50px;
    margin-top: 7rem;
}
.titrec{
    margin-top: 70px !important;
}
.docu{
    margin-top: 75px;
}

/* Carte documents stylée */
.doc-card {
    background-color: #fff;
    border-top-right-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
    border-top-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    min-height: 350px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* Conteneur de l'image */
.doc-bg-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;/* Ajuste la hauteur de l'image si nécessaire */
    overflow: hidden;
}

/* Image */
.doc-image {
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.3s ease;
    z-index: 999;
}

/* Lorsqu'on survole la carte, l'image s'incline légèrement */
.doc-card:hover .doc-image {
    transform: rotate(10deg); /* Inclinaison de l'image */
}

/* Carte rapport */
.rapport {
    background-color: #fff;
    border-radius: 20px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    transition: transform 0.3s ease;
}

/* Carte tableau de synthèse */
.ttable {
    background-color: #fff;
    border-top-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    border-top-right-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    transition: transform 0.3s ease;
}
/* ======================= */
/* === NOUVELLES SECTIONS === */
/* ======================= */

/* Section compétences */
#competences {
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 100px 0;
  margin-top: 100px;
}

#competences h5 {
  font-weight: 600;
  color: #0d6efd;
  margin-bottom: 0.5rem;

}

#competences ul {
  list-style-type: none;
  padding-left: 0;
}

#competences li::before {
  content: "✔️ ";
  color: #198754;
  margin-right: 6px;
}

/* Section formation */
#formation {
  background-color: #ffffff;
  padding: 4rem 1rem;
}

#formation h5 {
  font-weight: 600;
  color: #0d6efd;
}

#formation p {
  margin-bottom: 0.4rem;
  color: #444;
}

/* Ajout d'une animation douce sur les titres */
#competences h2,
#formation h2 {
  animation: fadeIn 1s ease forwards;
}
/* ============ SECTIONS MODERNES ============ */

.section {
  padding: 60px 0;
}

/* Titre de section */
.section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.section h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background-color: #0d6efd;
  display: block;
  margin: 10px auto 0;
  border-radius: 10px;
}

/* Carte générique */
.info-card {
  background-color: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Liste des compétences */
.skills-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}

.skills-list li {
  background-color: #e9f0ff;
  color: #0d6efd;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.prx{
  display: flex;
  justify-content: space-evenly !important;

}
.mb-4{
  margin-bottom: 2.5rem !important;
}
#citation{
  margin: 200px 0;
}
#hobby-details {
  display: none;
  background: white;
  padding: 2em;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  margin-top: 2em;
  position: relative;
  animation: fadeIn 0.5s ease-in-out forwards;
  text-align: center;

}
.fermer {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  font-size: 23px !important;
  color: #333 !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;

}

.fermer:hover {
  color: red;
}

#hobby-details img {
  max-width: 400px;
  display: block;
  margin: 1em auto; /* 👈 pour centrer l'image */
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


h3.center{
  display: flex;
  justify-content: center;
}
.img-3-2 {
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
  border-radius: 8px; /* optionnel pour un rendu plus doux */
}
.hobby-text p {
  margin-bottom: 1.2em;
  line-height: 1.6;
}
.musique-text {
  font-size: 1em;
  line-height: 1.7;
  font-family: 'Roboto', sans-serif;
  color: #555;
}

.musique-text .highlight {
  font-size: 1.1em;
  font-style: italic;

}

.musique-text .titreh {
  font-size: 1.5em;
 
}

/*                page de contact                */
footer.coller{
  position: absolute;
  bottom: 0;
  width: 100%;
}



/* Style pour les icônes dans les champs de texte */
.input-group-text {
  background-color: #f0f0f0; /* Une couleur de fond claire */
  border-radius: 0.375rem 0 0 0.375rem; /* Ajustement des bordures */
}

input.form-control,
textarea.form-control {
  border-radius: 0.375rem; /* Ajout de bords arrondis */
}

/* Lien social avec une meilleure lisibilité */
a:hover {
  color: #0b5ed7;
  text-decoration: underline;
  transition: color 0.3s ease;
}

/* Ajout d'un petit padding pour les liens de contact */
ul.list-unstyled li {
  padding: 10px 0;
}
.bg-dark.text-white.text-center.p-3.mt-5 {
  margin-top: 180px !important;
}

#contentKelian, #contentStage {
  transition: opacity 0.3s ease;
}
.d-none {
  display: none !important;
}/* Effet fade-in */
.fade-in {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.fade-in.show {
  opacity: 1;
}

.ecarter{

  justify-content: space-evenly !important;
}