*{
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

body {
  width: 100%;
  background-color: black;
  overflow-x: hidden;
  scroll-behavior: smooth;
}


nav{
    width: 100%;
    height: 10vh;
    position: sticky;
}

.nav-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo{
    color: white;
    position: absolute;
    top: 18px;
    left: 15px;
    font-size: 2rem;
    font-weight: bold;
}

.logo span{
    color: #b711e0;
    text-shadow: 0 0 10px #b711e0;
}

.hamburg,
.cancel{
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: white;
    display: none;
    font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);

}

.nav-container .links a{
    font-size: 1.2rem;
    color: white;
    margin: 0 20px;
    text-decoration: none;
    transition: 0.3s linear;
}

.nav-container .links a:hover{
    color: #b711e0;
    border-bottom: 2px solid #b711e0;
}

.dropdown{
    z-index: 100;
    position: absolute;
    top: 0;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow: 0 0 20px black;
    transition: 0.3s linear;
}

.dropdown .links a{
    display: flex;
    color: white;
    text-decoration: none;
    padding: 15px 0;
    justify-content: center;
    align-items: center;
}

.dropdown .links a{
    justify-content: center;
    align-items: center;
    transition: 0.3s linear;
}

.dropdown .links a:hover{
    background-color: #b711e0;
}

.section {
  padding: 80px 20px;
  color: white;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin: 40px 0;
  color: #b711e0;
  text-shadow: 0 0 10px #b711e0;
  
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #b711e0;
  margin: 0 15px;
  opacity: 0.5;
}
#projects .project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 0 auto;
  max-width: 1100px;
  padding: 0 20px;
}

.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 20px #b711e0;
}


.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px #b711e0;
}

.project-img {

  min-width: 100%;
  max-width: 100px; 
  height: 280px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.project-content {
   padding: 20px;
}

.project-content h3 {
  color: #b711e0;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.project-content p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #ccc;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.project-tags span {
  background: #2a2a2a;
  color: #b711e0;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 30px;
  transition: 0.3s ease;
}

.project-tags span:hover {
  background-color: #b711e0;
  color: white;
  transform: scale(1.05);
}

.project-link {
  color: #b711e0;
  font-weight: bold;
  font-size: 0.9rem;
  text-decoration: none;
}

.project-link i {
  margin-right: 6px;
}

.project-link:hover {
  color: white;
  text-shadow: 0 0 5px #b711e0;
}

.section-subtitle {
  font-size: 1.6rem;
  color: #b711e0;
  margin: 40px 0 20px;
  text-align: center;
}
.sous-section-title {
  text-align: center;
  font-size: 1.4rem;
  color: #b711e0;
  margin: 40px 0 20px;
  text-transform: uppercase;
  text-shadow: 0 0 5px #b711e0;
}


.main-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.main-container .content{
    color: white;
    width: 40%;
    min-height: 100px;
    box-shadow: 0 0 120px 50px black;
}

.content h1{
    font-size: clamp(1rem, 1rem + 5vw, 1.8rem);
}

.content h1 span{
    font-weight: 700;
    text-shadow: 0 0 10px #b711e0;
    color: #b711e0;
}

.content .typewriter{
    font-size: clamp(1rem, 1rem + 5vw, 2.5rem);
    font-weight: 700;
    margin: 10px 0;
}

.typewriter span{
    color: #b711e0;
    text-shadow: 0 0  10px #b711e0;
}

.content p{
    font-size: clamp(0.8rem, 0.5rem + 3vw, 1.1rem);
    margin: 20px 0;
}

.social-links {
  display: flex;
  justify-content: left;
  gap: 40px;
  margin: 30px 0;
}

.social-links a {
  font-size: 2.5rem;
  color: #b711e0;
  transition: 0.3s ease;
}

.social-links a:hover {
  filter: drop-shadow(0 0 10px #b711a0);
  transform: scale(1.3);
}


.content button{
    width: 50%;
    height: 6vh;
    margin: 30px;
    background-color: #b711e0;
    color: white;
    border: none;
    outline: none;
    font-size: 120%;
    font-weight: 700;
    border-radius: 5px;
    transition: 0.2s linear;
}

.content button:hover{
    scale: 1.1;
    border: 2px solid #b711e0;
    background-color: transparent;
    font-weight: 700;
    box-shadow: 0 0 40px 5px #b711e0;
}

.main-container .image{
    width: 500px;
    height: 80vh;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: 0 0 50px #b711e0;
    z-index: -1;
}

.main-container .image img{
    width: 100%;
}

@media (max-width:884px) {
    .main-container {
        display: flex;
        flex-direction: column-reverse;
    }

    .nav-container .links{
        display: none;
    }

    .hamburg,.cancel{
        display: block;
    }

    .main-container .content{
        width: 80%;
    }

    .main-container .image{
        width: 60%;
        height: 70%;
    }

    .content button{
        margin: 15px 25%;
    }
}


@media (max-width:440px) {
    .main-container .image{
        width: 70%;
        height: 60%;
    }

    .main-container .content{
        width: 80%;
    }
    
}








.exp-container {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.exp-list {
  flex: 1;
  list-style: none;
  padding: 0;
  color: white;
}

.exp-list li {
  padding: 12px 16px;
  background-color: #1c1c1c;
  margin-bottom: 10px;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: 0.3s ease;
}

.exp-list li:hover,
.exp-list li.active {
  border-left: 3px solid #b711e0;
  background-color: #2c2c2c;
  color: #b711e0;
}

.exp-details {
  flex: 2;
  color: white;
  background-color: #111;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px #b711e0;
}

.exp-content {
  display: block;
}

.exp-content.hidden {
  display: none;
}
.exp-content ul {
  padding-left: 20px;
  margin-top: 10px;
}

.exp-content li {
  margin-bottom: 8px;
}



.cv-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn-container {
  display: flex;
  justify-content: left;
  gap: 16px; /* <- l’espace entre les deux boutons */
  margin-top: 30px;
  flex-wrap: wrap;
}

.download-btn {
  background-color: #b711e0;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 0 8px #b711e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  min-width: 140px;
  text-align: center;
}

.download-btn:hover {
  background-color: #a010cc;
  transform: scale(1.05);
  box-shadow: 0 0 12px #b711e0;
}


.pdf-viewer {
  margin: 30px auto;
  width: 90%;
  box-shadow: 0 0 15px #b711e0;
  border-radius: 8px;
  overflow: hidden;
}

.cv-toggle-buttons {
  text-align: center;
  margin-top: 20px;
}

.cv-toggle-buttons button {
  margin: 0 10px;
  padding: 10px 20px;
  background-color: #b711e0;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s ease;
}

.cv-toggle-buttons button:hover {
  background-color: transparent;
  border: 2px solid #b711e0;
  color: #b711e0;
}


.company-logo {
  width: 100px;            /* ⬅️ Taille augmentée */
  height: auto;           /* Garde les proportions naturelles */
  object-fit: contain;
  margin-bottom: 50px;
  display: block;
}

.contact-methods p {
  font-size: 1.1rem;
  color: white;
  margin: 10px 0;
}

.contact-methods i {
  color: #b711e0;
  margin-right: 10px;
}

.contact-methods a {
  color: #b711e0;
  text-decoration: none;
}

.contact-methods a:hover {
  text-decoration: underline;
}
/* Contact Icons */
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
}

.contact-icons a {
  font-size: 2.5rem;
  color: white;
  transition: 0.3s ease;
}

.contact-icons a:hover {
  color: #b711e0;
  transform: scale(1.2);
}

/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: #1e1e1e;
  color: white;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ccc;
}

.contact-form button {
  background-color: #b711e0;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  background-color: transparent;
  border: 2px solid #b711e0;
  color: #b711e0;
  box-shadow: 0 0 20px #b711e0;
}

.tech-stack {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center; /* ✅ Ajouté pour centrer */

}

.tech-badge {
  background-color: #b711e0;
  color: #fff;
  padding: 6px 12px;
  font-size: 0.75rem;
  border-radius: 30px;
  box-shadow: 0 0 5px #b711e0;
  font-weight: bold;
  transition: 0.3s ease;
}

.tech-badge:hover {
  background-color: #9901b3;
  transform: scale(1.05);
}

.company-logo {
  width: 80px; /* taille augmentée */
  height: auto;
  object-fit: contain;
  margin: 10px auto;
  display: block;
  filter: drop-shadow(0 0 10px #b711e0); /* optionnel pour un effet glow */
}

/* Description arrows */
.exp-content ul li::before {
  content: "→";
  color: #b711e0;
  margin-right: 100px;
}
.company-name {
  display: inline-block;
  max-width: 180px; /* ✅ limite la largeur */
  color: #b711e0;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.exp-content ul {
  list-style: none;
  padding-left: 0;
  text-align: left;
}

.exp-content li {
  text-align: left;
  margin: 10px 0;
  font-size: 1rem;
  line-height: 1.6;
}
.exp-description {
  text-align: left;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #1b1b1b;
  border-left: 3px solid #b711e0;
  border-radius: 6px;
}

.exp-description ul {
  list-style: none;
  padding-left: 0;
}

.exp-description li {
  margin-bottom: 10px;
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.exp-description li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #b711e0;
  font-weight: bold;
}

.bb {
  color: #cc74c6;
  font-weight: bold;
  font-size: 1.05rem;
}

.centered-tech {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

/* === DYNAMIC ABOUT SECTION === */

.dynamic-about {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-top: 30px;
  padding: 40px 20px;
  border-radius: 20px;
  
}

.about-image {
  flex: 1;
  min-width: 700px;         /* légèrement plus étroite */
  max-width: 350px;         /* limite sa largeur */
  height: 560px;            /* ✅ réduit la hauteur */
  background-image: url('/home-right.jpg'); /* Remplace par ton bon chemin */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 20px;
  box-shadow: 0 0 30px #b711e0;
}

.about-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  color: white;
  text-align: left;
}


.dynamic-title {
  font-size: 2rem;
  color: #c5a8cc;
  margin-bottom: 20px;
  text-shadow: 0 0 8px #b711e0;
}

.intro-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #eee;
}

.mini-title {
  font-size: 1.1rem;
  color: #b711e0;
  margin-bottom: 10px;
  font-weight: bold;
  text-transform: uppercase;
}

.about-highlights ul {
  list-style: none;
  padding: 0;
}

.about-highlights ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  color: #ccc;
  font-size: 0.95rem;
}

.about-highlights ul li::before {
  content: "➤";
  position: absolute;
  left: 0;
  color: #b711e0;
}

.about-fun p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

.highlight {
  color: #b711e0;
  font-weight: bold;
  text-shadow: 0 0 8px #b711e0;
}



/* Conteneur général pour l'ensemble du Skillset */
.skills-container-wrapper {
  background-color: #1a1a1a; /* ou white si fond clair */
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(183, 17, 224, 0.2);
  margin-top: 40px;
  border: 1px solid rgba(183, 17, 224, 0.3);
}

.skills-container-wrapper {
  background-color: #1c1c1c;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(183, 17, 224, 0.3);
  margin: 50px 0;
  text-align: center;
}

.skills-main-title {
  font-size: 2rem;
  color: white;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.highlight-blue {
  color: #b711e0;
}

.skills-flex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
}

.skill-icon-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(183, 17, 224, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.skill-icon-card:hover {
  transform: scale(1.05);
}

.skill-icon-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.skill-icon-card span {
  font-weight: bold;
  font-size: 0.9rem;
  color: #333;
}


.fun-facts {
  margin-top: 20px;
  font-style: italic;
  color: #ccc;
}
