
* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  
}
body {
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
}
/* NAVBAR  */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, #0f172a 0%, #164e63 100%);
  z-index: 1000;
}
.navbar .container {
  margin: auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: #06b6d4;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s, border-bottom 0.3s;
  padding-bottom: 4px;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #06b6d4;
  border-bottom: 2px solid #06b6d4;
}

.btn-cv {
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  color: white;
  padding: 8px 15px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-cv:hover {
  background: #0f172a;
  color: #06b6d4;
}

/* INTRODUCTION */

.intro-section {
  padding: 140px 20px 80px;
  background: linear-gradient(120deg, #0f172a 0%, #164e63 40%, #06b6d4 100%);
  color: white;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
}
.intro-text h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.intro-text .highlight {
  color: #06b6d4;
}

.intro-text .lead {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.intro-image img {
  border-radius: 50%;
  border: 5px solid #06b6d4;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    max-width: 280px;

}

.intro-image img:hover {
  transform: scale(1.05);
}

/*icônes de réseaux sociaux */
.intro-socials {
  margin-top: 20px;
  text-align: center;
}
.intro-socials a {
  color: #06b6d4;
  font-size: 30px;
  margin-right: 15px;
 
}
/* SECTIONS */
.section {
  padding: 50px 20px;
  margin: auto;
}
.section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #164e63;
  position: relative;
}
.section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 60px;
  height: 3px;
  background: #06b6d4;
}

/* PROJETS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.project-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border-top: 4px solid #06b6d4;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.project-card h3 {
  color: #164e63;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.project-desc {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.project-features {
  list-style: disc inside;
  padding-left: 0;
  margin: 0;
  color: #1e293b;
  font-weight: 500;
}

.project-features li {
  margin-bottom: 8px;
}


.btn-project:hover {
  background: #164e63;
  color: white;
}

/* COMPÉTENCES */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.skill-item {
  background: #ffffff;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  font-weight: 500;
  transition: 0.3s;
}

.skill-item:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  color: white;
}

/* CERTIFICATIONS & EXPÉRIENCE */
.cert-item, .exp-item, .item {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.cert-item:hover, .exp-item:hover, .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #0f172a, #06b6d4);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  position: absolute;
  right: 20px;
  top: 25px;
}

.btn:hover {
  background: linear-gradient(135deg, #0ea5e9, #164e63);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* CONTACT */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-form button {
  padding: 15px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #164e63;
  color: white;
}

/* FOOTER */
.footer {
  text-align: center;
  background: linear-gradient(90deg, #0f172a 0%, #164e63 100%);
  color: white;
  padding: 20px;
  margin-top: 50px;
}
.hamburger {
  display: none; 
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s;
}
/* RESPONSIVE */
@media (max-width: 768px) {
  .intro {
    flex-direction: column-reverse;
    text-align: center;
  }
  .intro-text h1 {
    font-size: 2rem;
  }
  .intro-text .lead {
    font-size: 1.1rem;
  }
  .intro-image img {
    margin-bottom: 25px;
    width: 70%;
    max-width: 220px;
  }
  .section {
    padding: 60px 15px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    padding: 20px;
  }
  .contact-form {
    width: 90%;
  }
  .hamburger {
    display: flex; /* affiche le hamburger sur mobile */
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    background: #0f172a;
    position: absolute;
    top: 60px; /* juste sous la navbar */
    right: 0;
    width: 200px;
    padding: 15px;
    display: none; /* caché par défaut */
    border-radius: 0 0 10px 10px;
  }

  .nav-links.active {
    display: flex; 
  }

  .nav-links li a {
    color: white;
    font-size: 1.1rem;
  }
}

