/* GENERAL */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Stack+Sans+Headline:wght@200..700&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');

body {
  font-family: "Montserrat", sans-serif;
}
* {
  margin: 0;
  padding: 0;
}



html {
  scroll-behavior: smooth;
}

p {
  color: rgb(85, 85, 85);
}

/* TRANSITION */

a,
.btn {
  transition: all 300ms ease;
}





/* DESKTOP NAV */
nav,
.nav-links {
  display: flex;
}
nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
}
.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.3rem;
  font-weight: 200;
}
a {
  color: black;
  text-decoration: none;
  text-decoration-color: white;
}
a:hover {
  color: grey;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: rgba(255, 120, 0, 0.35);
}
.logo {
  font-size: 2rem;
}
.logo:hover {
  cursor: default;
}




/* HAMBURGER MENU */
#hamburger-nav {
  display: none;
}
.hamburger-menu {
  position: relative;
  display: inline-block;
}
.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}
.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: black;
  transition: all 0.3 ease-in-out;
}
.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}
.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: black;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}
.menu-links li {
  list-style: none;
}
.menu-links.open {
  max-height: 300px;
}
.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}
.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}

/* SECTIONS */

section {
  padding-top: 4vh;
  height: 96vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}

.section-container {
  display: flex;
}
















/* PROFILE SECTION */

#profile {
  display: flex;
  justify-content: center;
  gap: 5rem;
  height: 80vh;
}

.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
}

.section__text {
  align-self: center;
  text-align: center;
}

.section__text p {
  font-weight: 600;
}

.section__text__p1 {
  text-align: center;
  font-size: 1rem;
}

.section__text__p2 {
  font-size: 1.5rem;
  margin-bottom: 2.4rem;
  margin-top: 0.40rem;
}

.title {
  font-size: 3.5rem;
  text-align: center;
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

/* ICONS */

.icon {
  cursor: pointer;
  height: 1.5rem;

  
}

/* BUTTONS */

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 12rem;
  border-radius: 2rem;
}

.btn-color-1,
.btn-color-2 {
  border: rgb(53, 53, 53) 0.1rem solid;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1,
.btn-color-2:hover {
  background: rgb(53, 53, 53);
  color: white;
}

.btn-color-1:hover {
  background: rgb(0, 0, 0);
}

.btn-color-2 {
  background: none;
}

.btn-color-2:hover {
  border: rgb(255, 255, 255) 0.1rem solid;
}

.btn-container {
  gap: 1rem;
}






@media (max-width: 700px) {

  /* Réduit la taille du texte dans la section profile */
  #profile .section__text__p1 {
    margin-top: 20rem !important;
    font-size: 1rem !important;
  }

  #profile .title {
    font-size: 2.1rem !important;
  }

  #profile .section__text__p2 {
    font-size: 0.95rem !important;
  }

  /* Descendre tout le bloc */
  #profile .section__text {
    margin-top: 3rem !important;   /* augmente si tu veux + bas */
  }

  /* Bouton plus petit */
  #profile .btn {
    padding: 0.6rem 1.2rem !important;
    font-size: 0.95rem !important;
    margin-top: -1rem;

  }

  /* Icônes plus petites */
  #socials-container .icon {
    width: 32px !important;
    height: 32px !important;
  }

  /* Slider logos plus petit */
  .skills-slider {
    margin-top: 16rem !important;  /* descend un peu */
  
  }

  .skills-slider img {
    width: 35px !important;
    height: auto !important;
  }
}











/* ABOUT SECTION */

#about {
  position: relative;
}

.about-containers {
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.about-details-container {
  
  flex-direction: column;
  margin-top: 5em;
  margin-bottom: 5em;
}

.about-containers,
.about-details-container {
  display: flex;
}


.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: white;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  text-align: center;
  
}




#about .section__text__p1,
#about .title {
  text-align: center;
}

.about-header {
  display: flex;
  align-items: center;
  gap: 1rem; /* espace entre le p et le h1 */
}

/* Facultatif : pour garantir que l’ensemble est bien centré */
#about .about-header {
  justify-content: center;
  margin-bottom: 2rem;
}



/* Aligner "En Apprendre Plus" + "Sur Moi" sur la même ligne */
.about-header {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;  /* aligne le texte proprement */
  justify-content: center;
  gap: 1rem;
  margin-top: 3em;
  
}


/* style du sous-texte */
.about-header .section__text__p1 {
  font-size: 2rem;
  color: #000;
  font-weight: 200;
}

/* style du titre */
.about-header .title {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  color: #555;
}

#about .text-container p {
  text-align: left;
  font-size: 1.3rem;
  line-height: 2.2; /* augmente l’espacement entre les lignes */
  color: #000;
  font-weight: 300;
  


}

.link-projects {
  color: #555;
  font-weight: 500;
  text-decoration: none;   /* pas de souligné */
  transition: color 0.3s ease;
}

.link-projects:hover {
  color: rgba(255, 140, 0, 0.35);           /* devient orange au survol */
  text-decoration: none;   /* garantit aucun souligné même au hover */
  cursor: pointer;
}


.about-box {
  background: rgba(255, 255, 255, 0.2); /* plus clair / transparent */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 0 40px rgba(0,0,0,0.05);
  margin: 2rem auto;
  max-width: 1200px; 
  margin-top: -1em;
}

.skills-slider {
  margin-top: 10rem; /* augmente l’espace entre le bouton et les logos */
  margin-bottom: -3.5rem;
}

.section__text__p1 {
  font-size: 1.3rem; /* augmente la taille du texte */
  font-weight: 500;  /* optionnel : rend le texte un peu plus épais */
  line-height: 1.2;  /* optionnel : ajuste l'espacement des lignes */
}
/* Responsive : sur petit écran, mettre l’un sous l’autre */
@media (max-width: 700px) {
  .about-header {
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
  }


  .about-header {
    flex-direction: column;   /* <-- parfait */
    align-items: center;
    gap: 0.3rem;
    text-align: center;       /* <-- ajoute ça */
  }


.about-header .section__text__p1 {

  font-size: 1.50rem;

}

/* style du titre */
.about-header .title {
  font-size: 1.75rem;
}




  #about .text-container p {
    font-size: 1rem;
  }




}













/* PROJECTS SECTION */

#projects {
  position: relative;
}

.color-container {
  border-color: rgb(163, 163, 163);
  background: rgb(250, 250, 250);
}

.project-img {
  border-radius: 2rem;
  width: 90%;
  height: 90%;
}

.project-title {
  margin: 1rem;
  color: black;
}

.project-btn {
  color: black;
  border-color: rgb(163, 163, 163);
}

.projects-header {
  display: flex;             /* mettre les éléments sur la même ligne */
  align-items: baseline;     /* aligne le texte proprement */
  justify-content: center;   /* centre l’ensemble horizontalement */
  gap: 1rem;                 /* espace entre le p et le h1 */
  margin-bottom: 2rem;
}

/* supprimer les marges par défaut pour alignement parfait */
.projects-header .section__text__p1,
.projects-header .title {
  margin: 0;
  padding: 0;
}

/* style du sous-texte */
.projects-header .section__text__p1 {
  font-size: 2.1rem;
  color: #000;
  font-weight: 200;
}

/* style du titre */
.projects-header .title {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  color: #555;
}


.details-container.color-container {
  background: rgba(255, 255, 255, 0.2); /* transparent / clair */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 0 30px rgba(0,0,0,0.07);
  border: none; /* ou garde une fine bordure si tu veux */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Optionnel : effet au hover pour que ça “ressorte” */
.details-container.color-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 50px rgba(0,0,0,0.1);
}

.details-container .project-title {
  font-size: 1rem;
}


/* Responsive : mettre l’un sous l’autre sur petit écran */
@media (max-width: 700px) {
  .projects-header {
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
  }

  .projects-header .title {
    font-size:1.75rem;
   
  }

  .projects-header .section__text__p1 {
    font-size: 1.5rem;
   
  }


  

}


@media (max-width: 700px) {
  .about-containers {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;

    /* Smooth scrolling tactile */
    -webkit-overflow-scrolling: touch;

    /* Remove scrollbar for style (optional) */
    scrollbar-width: none; /* Firefox */
  }

  .about-containers::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .details-container {
    min-width: 80%;           /* largeur d’un slide */
    scroll-snap-align: center;
    flex-shrink: 0;
  }
}











/* CONTACT */

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
}

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  background: (250, 250, 250);
  margin: 2rem auto;
  padding: 0.5rem;
  margin-bottom: 10em;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}

.contact-info-container p {
  font-size: larger;
}

.contact-icon {
  cursor: default;
}

.email-icon {
  height: 2.5rem;
}



.about-header {
  margin-bottom: 200px; /* Ajuste la valeur comme tu veux */
}




@media (max-width: 700px) {
  .contact-header {
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
  }

  .contact-header .title {
    font-size:1.75rem;
   
  }

  .contact-header .section__text__p1 {
    font-size: 1.5rem;
   
  }



  
}





/* FOOTER SECTION */

footer {
  height: 26vh;
  margin: 0 1rem;
}

footer p {
  text-align: center;
  margin-top: 15ex ;
}

/* Footer */
footer {
  height: 26vh; /* ou ajuste selon ton design */
  text-align: center;

  display: flex;
  justify-content: center;
  align-items: center;
 
}

@media (max-width: 700px) {
  footer p {
    font-size: 0.8em;
    margin-bottom: -8em;
    
  }
 

}





body {
  position: relative;
  overflow-x: hidden;
}

/* Fond blanc flou */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: -2;
}
/* Taches oranges floues */
body::after {
  content: "";
  position: fixed;
  width: 900px;
  height: 900px;
  background: radial-gradient(
    circle,
    rgba(255, 120, 0, 0.35) 0%,
    rgba(255, 120, 0, 0) 70%
  );
  filter: blur(140px);
  top: -200px;   /* tu peux ajuster */
  left: -150px;  /* tu peux ajuster */
  z-index: -1;
  pointer-events: none;
}
.blob {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 140, 0, 0.35) 0%,
    rgba(255, 140, 0, 0) 70%
  );
  filter: blur(150px);
  z-index: -1;
  pointer-events: none;
}

/* Différentes positions */
.blob-1 { top: 10%; left: -20%; }
.blob-2 { bottom: 5%; right: -10%; }
.blob-3 { top: 60%; left: 40%; }

.skills-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  background: transparent;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);

}

.slider-track {
  display: flex;
  gap: 40px;
  align-items: center;
  white-space: nowrap;
  transform: translateX(0);
}
.slider-track img {
  height: 30px;
  display: block;
  user-select: none;
  pointer-events: none;
}






