/* === Base === */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #121212;
  color: #ffffff;
}
h3 {
  color : #b0d7ff;
  text-transform: uppercase;
}
.whatsapp-button {
  display: inline-block;
  background-color: #25D366;
  color: white;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}
.whatsapp-button:hover {
  background-color: #1ebe5d;
}
.couleur {
    color:#59aaff;
}

/* === Header === */
header {
  position: relative;
  background: #ffffff57;
  text-align: center;
  height: 200px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('illustrations/ia_header.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(18,18,18,0.6), rgba(18,18,18,0.9));
  z-index: 1;
}

header img,
header h1,
header p {
  position: relative;
  z-index: 2;
}

header img {
  width: 150px;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 0 10px #000;
}
header h1 {
  font-size: 3.5rem;
  margin: 0;
}
header p {
  font-size: 1.5rem;
  color: #eee;
}


/* === Navigation === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2a6099;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  
}
.logo {
  font-size: 1.5rem;
 
  font-weight: bold;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}
.nav-links li a {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: bold;
  padding-right: 30px;
}
.nav-links li a:hover {
color:#000
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background-color: #1f1f1f;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 1rem 0;
  }
  .nav-links.show {
    display: flex;
  }
}

/* === Sections === */
section {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
}
.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2a6099;
  text-align: center;
}

/* === CompÃ©tences et expÃ©riences === */
.skills-list,.experiences-list,.formations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.skill-tag {
  background-color: #2c2c2c;
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 0 10px #000;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}
.formations-section {
  max-width: 100%;
  margin: auto;
  padding: 2rem;
  background-color:#958d8d;
}
.formations-tag {
  background-color: #2c2c2c;
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 0 10px #000;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}
.skill-section {
  max-width: 100%;
  margin: auto;
  padding: 2rem;
  background-color:#958d8d;
}
.experiences-section {
  max-width: 100%;
  margin: auto;
  padding: 2rem;
  background-color:#b1b0b0;
}
.experiences-tag {
  background-color: #2c2c2c;
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 0 10px #000;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}
.skill-tag:hover {
  transform: scale(1.03);
}
.experiences-tag:hover {
  transform: scale(1.03);
}
.skill-img {
  width: 200px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 5px #000;
}

.custom-list {
  text-align: left;
  padding-left: 1rem;
  margin-top: 1rem;
}
.custom-list li {
  margin-bottom: 0.5rem;
}

/* === Projets === */
.project-section {
  max-width: 100%;
  margin: auto;
  padding: 2rem;
  background-color:#cbcbcb;
}
.project {
  margin-bottom: 1rem;
  border: 1px solid #333;
  border-radius: 8px;
  background-color: #1f1f1f;
  overflow: hidden;
}
.toggle-btn {
  width: 100%;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  text-align: left;
  padding: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.symbol {
  font-size: 1.5rem;
  margin-right: 1rem;
}
.project-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1rem;
  color: #ccc;
}
.project.open .project-content {
  max-height: 1800px;
  padding-bottom: 1rem;
}
.project.open .symbol {
  content: "â";
}
/* === A propos === */

.apropos-section {
  max-width: 100%;
  margin: auto;
  padding: 2rem;
  background-color:#b7abab;
}
.apropos-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.apropos-container img {
  width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.apropos-text {
  flex: 1;
  font-size: 1.2rem;
  line-height: 1.3rem;
}

@media (max-width: 768px) {
  .apropos-container {
    flex-direction: column;
  
  }

  .apropos-container img {
  
    max-width: 300px;
  }

  .apropos-text {
    padding: 0 1rem;
  }
}
/* === Formations === */
.formations-section {
  max-width: 100%;
  margin: auto;
  padding: 2rem;
  background-color:#938b8b;
}

/* === Footer === */

footer {
  position: relative;
  width:100%;
  background-color: #1f1f1f;
  text-align: center;
  height: 100px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('illustrations/ia_header.jpg');
  background-size: cover;
  background-position: bottom;
  opacity: 0.25;
  z-index: 0;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(18,18,18,0.6), rgba(18,18,18,0.9));
  z-index: 1;
}
footer p{
font-size:1.2rem
}
