 /* style.css */
:root {
  --primary-color: #0a0a0a;
  --secondary-color: #05e2ff;
  --accent-color: #f8e805;
  --text-color: #e8e8e8;
  --font-title: 'Sigmar', cursive;
  --font-body: 'Roboto Condensed', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background:rgb(25, 25, 26); 
  line-height: ;
  overflow-x: hidden;
}
/* Création de l'animation smooth */
.scroll-list-wrap {
  width: 100%; height: 700px;
  overflow: auto; padding: 50px;
  box-shadow: 0px 7px 46px 0px rgba(0, 0, 0, 0.3);
  background: #1c2e4a; border-radius: 8px;
  background-image: linear-gradient(147deg,#2e3a59 0%, #1a2b46 74%);
  margin-top: 40px;
}

/* Navigation améliorée */
.navbar {
  position: fixed;
  display: flex;
  font-weight: bolder ;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(147deg,#2e3a59 0%, #1a2b46 74%);
  padding: 1rem 2rem;
  border-bottom: 1px solid #f7f2f2;
}

.menu-btn {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  z-index: 1001;
  cursor: pointer;
  display: none;
}

.menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-color);
   margin: 5px 0;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  color: var(--accent-color);
 }
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  margin-left: 300px;
}

.nav-links ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Roboto Condensed', sans-serif;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* Version mobile */
@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: linear-gradient(147deg,#2e3a59 0%, #1a2b46 74%);
    flex-direction: column;
    justify-content: center;
    transition: right 0.3s ease;
    padding-top: 4rem;
    border-left: 1px solid #fdfbfb;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* Sections restantes inchangées */
...

/* Sections de contenu */
.section {
  width: 100%;
  height: 100vh;
  display: none;
  padding: 50px;
  background-size: cover;
  background-position: center;
}

.section.active {
  display: block;
}



.hero-- {
  color: var(--text-color);
  margin-top: 150px;
  padding: 25px;
  font-family: 'Roboto Condensed', sans-serif;
  border-bottom: 2px solid #0a0a0a;
 }

h1 {
  font-weight: bolder;
}

/* Style sur le comic button */

.comic-button {
  text-decoration: none;
  color: #818181;
  margin-top: 50px;
  border: 2px solid rgb(236, 241, 241);
  border-radius: 10px;
  background: linear-gradient(147deg,#2e3a59 0%, #1a2b46 74%);
  padding: 2px;
}

.comic-button:hover {
  background-color: #f8e805;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px; /* Ajustez selon vos besoins */
  margin-top: 300px;
}

.profile-img {
  max-width: 30%;
  height: auto;
  border-radius: 50px; /* Optionnel */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Optionnel */
}

.service-image {
  max-width: 70%;
  height: auto;
  display: flex;
  min-height: 80px; /* Ajustez selon vos besoins */
  border-radius: 15px;
}

h3 {
  color: #04d6fc;
  font-family: 'Roboto Condensed', sans-serif;
  margin-top: 50px;
  margin-bottom: 40px;
}  

p { 
  color: #eef2f3;
  font-family: 'Roboto Condensed', sans-serif;
}

h4 {
  color: #e8e8e8;
  font-family: 'Roboto Condensed', sans-serif;
}

.highlight {
  font-size: medium;
  font-weight: bolder;
}

main {
  background: #0a090e;
  padding: 15px;
  margin-top: 25px;
}

/* Section Compétences */
.skills-section {
  background: rgba(10, 10, 10, 0.95);
  padding: 4rem 1rem;
}


.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.skill-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 0;
  border-radius: 10px;
  text-align: center;
  transition: all 0.5s ease-in-out;
}

.skill-card:hover {
  transform: translateY(10px);
}

/* Style de base pour tous les écrans */
.skill-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

/* Adaptation pour mobiles (< 680px) */
@media (max-width: 680px) {
  body {
    overflow-x: hidden; /* Sécurité anti-débordement */
  }
  
  .skill-item {
    flex-wrap: wrap; /* Force le retour à la ligne */
    row-gap: 0.5rem;
  }
  
  .skill-description {
    width: 100%; /* Occupe toute la largeur */
    order: 2; /* Place la description après le niveau */
    word-break: break-word; /* Gestion des mots longs */
    font-size: 0.9em;
  }
  
  .skill-level {
    order: 1; /* Place le niveau avant la description */
  }
}

.skill-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.css-logos {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.soft-skills {
  margin-top: 4rem;
}

.skills-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  color: #e8e8e8;
  font-family: 'Roboto Condensed', sans-serif;
  margin-top: 2rem;
}

.skills-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.1rem;
}

.fa-users {
  color: blue;
}

.fa-brain {
  color: yellow;
}
  
.fa-lightbulb {
  color: yellow;
}

.fa-language {
  color: blue;
}

.task-liste {
  color: #e8e8e8;
  font-family: 'Roboto Condensed', sans-serif;
}

/* Section Contact */
.contact-section {
  max-width: 600px;
  margin: 0 auto;
  color: #e8e8e8;
  font-family: 'Roboto Condensed', sans-serif;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-color);
  border-radius: 5px;
}

.submit-btn {
  background: rgb(2, 248, 236);
  color: black;
  padding: 3px 2px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

.submit-btn:hover {
  opacity: 0.9;
  transform: translateY(1px);
  background-color: var(--accent-color);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 2px 0;
  color: #eaebf1;
}

.social-links a {
  color: #e8eaf0;
  font-size: 1rem;
  transition: color 0.3s ease;
  color: #e7e8ee;
}

.social-links a:hover {
  color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .skills-list {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 1rem;
  }
}
/* Notifications */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 5px;
  z-index: 1000;
  animation: slideIn 0.3s ease-out;
}

.notification.success {
  background: #4CAF50;
  color: white;
}

.notification.error {
  background: #f44336;
  color: white;
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* Animations */
.fade-in-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}