/* ==============================
   Styles généraux
============================== */

/* ==============================
   Styles pdf
============================== */
.pdf-preview {
  height: 600px;
  overflow: hidden;
  border-radius: 1rem;
  border: 2px solid #818cf8; /* Indigo-400 */
  box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}

.pdf-preview iframe {
  width: 100%;
  height: 100%;
}

section[data-aos] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
body, h1, h2, h3, p, a, span, div {
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
  color: #fff;
}

/* Scrollbar stylée */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: #4f46e5; border-radius: 8px; }

/* ==============================
   Sidebar
============================== */
aside {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
}

aside nav a:hover {
  color: #818cf8; /* Indigo clair */
  transition: color 0.3s;
}

aside footer {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* ==============================
   Header
============================== */
header {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* ==============================
   Fond animé
============================== */
.fixed img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: brightness(0.5);
}

.fixed div.absolute {
  background: rgba(0,0,0,0.7);
}

/* ==============================
   Overlay interactif (clics)
============================== */
#interactive-overlay div {
  position: absolute;
  font-size: 20px;
  transition: all 1s ease-out;
}

/* ==============================
   Accueil
============================== */
#welcome-text span {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
}



/* --- 🖱️ Effet au survol des cartes et sections --- */
section, .card {
  transition: all 0.4s ease;
}
section:hover, .card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.5);
}

/* --- 🪄 Effet d’apparition --- */
[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}
/* --- Bloc Profil et Formation --- */
#profil .bg-indigo-900,
#profil .bg-black,
#formation {
  transition: all 0.3s ease;
}

#profil .bg-indigo-900:hover,
#profil .bg-black:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(79, 70, 229, 0.5);
}

/* --- Titres h2 centrés --- */
section h2 {
  text-shadow: 2px 2px 10px rgba(79, 70, 229, 0.7);
}
/* --- Section Compétences --- */
#competences {
  position: relative;
  overflow: hidden;
}

#competences .competence-card {
  background: rgba(0, 0, 0, 0.55); /* comme Veille */
  backdrop-filter: blur(15px);
  border-radius: 1rem;
  padding: 1.5rem;
  color: #a5b4fc;
  box-shadow: 0 0 10px rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  border: 2px solid transparent; /* bordure initiale transparente pour uniformité */
}

#competences .competence-card:hover {
  transform: scale(1.03); /* léger zoom comme Veille */
  box-shadow: 0 0 20px rgba(99,102,241,0.6); /* même effet hover que Veille */
  border-color: currentColor; /* couleur de bordure selon la compétence */
}

#competences .competence-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.4));
}

#competences .competence-title {
  font-size: 1.5rem; /* un peu plus petit que h2 pour cohérence */
  font-weight: 700;
  color: #818cf8; /* même indigo que Veille */
  margin-bottom: 0.5rem;
  text-align: center;
}

#competences .competence-text {
  color: #a5b4fc
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

/* Garder la couleur spécifique de chaque carte
#competences .border-indigo-700 { color: #818cf8; }
#competences .border-blue-700 { color: #3b82f6; }
#competences .border-purple-700 { color: #8b5cf6; }
#competences .border-green-700 { color: #22c55e; }
#competences .border-yellow-600 { color: #facc15; }
#competences .border-red-700 { color: #ef4444; }
*/
 
}

/* Effet lumière global */
#mouse-light {
  pointer-events: none;
  position: fixed;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.3) 0%, rgba(99,102,241,0) 70%);
  filter: blur(70px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 50;
}




/* --- Certifications --- */
#certifications .bg-black\/50 {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(15px);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  color: #fff;
}

#certifications .bg-black\/50:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(99,102,241,0.6);
}

/* Liens PDF */
#certifications a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

#certifications a:hover {
  background-color: #6366f1; /* Indigo-500 */
}

/* --- Parcours (timeline) --- */
#parcours .border-l-2 {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

#parcours .border-l-2 span {
  position: absolute;
  left: -0.75rem;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #818cf8; /* Indigo-400 */
  border-radius: 50%;
}

/* --- Expériences --- */
#experiences p {
  font-size: 1rem;
  line-height: 1.6;
}

#experiences a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #6366f1;
  color: #fff;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
}

#experiences a:hover {
  background-color: #4f46e5;
}
/* --- Veille Technologique --- */
#veille .bg-black\/50 {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(15px);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  color: #fff;
}

#veille .bg-black\/50:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(99,102,241,0.6);
}

/* Liens articles */
#veille a {
  color: #818cf8; /* Indigo-400 */
  text-decoration: underline;
  transition: color 0.3s;
}

#veille a:hover {
  color: #a5b4fc; /* Indigo-300 clair */
}

/* --- Projets --- */
#projets .bg-black\/50 {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(15px);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  color: #fff;
}

#projets .bg-black\/50:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(99,102,241,0.6);
}

/* Boutons GitHub */
#projets a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #6366f1;
  color: #fff;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
}

#projets a:hover {
  background-color: #4f46e5;
}

/* --- Contact --- */
#contact form {
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(15px);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(255,255,255,0.05);
}

#contact input,
#contact textarea {
  background-color: #1f2937; /* gris foncé */
  border: 1px solid #4b5563;
  color: #fff;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: border-color 0.3s;
}

#contact input:focus,
#contact textarea:focus {
  border-color: #6366f1;
  outline: none;
}

#contact button {
  background-color: #6366f1;
  color: #fff;
  font-weight: 600;
}

#contact button:hover {
  background-color: #4f46e5;
}

/* Boutons PDF CV et situation pro */
#situations-pro a {
  color: #fff !important; /* texte blanc forcé */
  background-color: #6366f1; /* même bleu que rapport de stage */
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
  text-decoration: none;
  display: inline-block;
}

#situations-pro a:hover {
  background-color: #4f46e5;
}
/* Boutons PDF dans Tableau de Synthèse */
#tableau-synthese a {
  color: #fff !important;
  background-color: #6366f1;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
  text-decoration: none;
  display: inline-block;
}

#tableau-synthese a:hover {
  background-color: #4f46e5;
}


