/* 
STYLESHEET CSS 
Créé par FAUT Lucas - lucasft.fr

*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

body {
  font-family: 'Montserrat', sans-serif;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--bs-heading-color);
}

.nav-link {
  font-weight: 600 !important;
}

:root {
  --main-color: #4e4e4e;
  /* Ta couleur perso */
  --hover-color: #0ea5e9;
  /* Couleur accent hover */
  --bs-heading-color: #000000;
}

[data-bs-theme="dark"] {
  --bs-heading-color: #ffffff;
  --bs-body-bg: #121212;
}

.navbar {
  background: #121212;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
  backdrop-filter: blur(3px);
  padding: 0.6rem 1rem;
  transition: background 0.3s ease;
}

[data-bs-theme="dark"] .nav-link:hover {
  color: rgb(202, 202, 202) !important;
}

[data-bs-theme="dark"] .nav-link::after {
  background: rgb(202, 202, 202) !important;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--main-color) !important;
}

.nav-link {
  color: inherit !important;
  position: relative;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: rgb(202, 202, 202);
  transition: width 0.3s ease;
}

.nav-link.active {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.nav-link.active::after {
  width: 100%;
  background: #ffffff;
}

.nav-link:hover {
  color: rgb(202, 202, 202) !important;
}

.nav-link:hover::after {
  width: 100%;
}

/* Toggle bouton mode sombre/clair */
#themeToggle {
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-flex;
  padding: 10px 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
  background: #fff;
  border: 3px solid #313131;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  align-items: center;
  appearance: none;
  background-color: #FCFCFD;
  border-radius: 1rem;
  color: black;
  justify-content: center;
  line-height: 1;
  overflow: hidden;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .30s, transform .30s ease-out;
  will-change: box-shadow, transform;
  font-size: 18px;
}

#themeToggle i {
  transition: transform 0.3s ease, color 0.3s ease;
  font-size: 1.2rem;
}

#themeToggle:hover i {

  transform: rotate(360deg);
  color: var(--main-color);
}

#themeToggle:hover {
  webkit-transform: translateY(3px);
  -moz-transform: translateY(3px);
  -o-transform: translateY(3px);
  -ms-transform: translateY(3px);
  transform: translateY(3px);
  box-shadow: none;
}

.game-button {
  display: inline-flex;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
  background: #fff;
  border: 3px solid #313131;
  border-radius: 12px;
  box-shadow: 0 3px 0 #313131;
  cursor: pointer;
  font-weight: 600;
  align-items: center;
  appearance: none;
  background-color: #FCFCFD;
  border-radius: 12px;
  color: black;
  cursor: pointer;
  justify-content: center;
  line-height: 1;
  overflow: hidden;
  padding: 12px 28px;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .30s, transform .30s ease-out;
  -webkit-user-select: none;
  will-change: box-shadow, transform;
  font-size: 18px;
}

.game-button:hover {
  background: #f2f2f2;
}

.game-button:hover {
  webkit-transform: translateY(3px);
  -moz-transform: translateY(3px);
  -o-transform: translateY(3px);
  -ms-transform: translateY(3px);
  transform: translateY(3px);
  box-shadow: none;
}

.fullpage {
  height: calc(100vh);
  color: white;
  background: linear-gradient(135deg, #2e2e2e, #131313);
  position: relative;
  overflow: hidden;
}


/* Cercles décoratifs animés */
.fullpage::before,
.fullpage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 8s ease-in-out infinite;
  filter: blur(30px);
}

/* un cercle */
.fullpage::before {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
}

/* un autre cercle */
.fullpage::after {
  width: 600px;
  height: 600px;
  bottom: -200px;
  right: -200px;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-50px) scale(105%);
  }

  100% {
    transform: translateY(0);
  }
}



/* #INTEREST (PASSIONS) */

.interest-icon {
  padding: 10px;
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  background-color: #373737;
  transition: all 0.3s ease;
}

.interest {
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 1rem;
  padding: 1.5rem 1.5rem;
  transition: all 0.3s ease !important;
  cursor: default;

}

#interest1 .interest-icon {
  background-color: rgba(69, 88, 234, 0.5);
}

#interest1:hover .interest-icon {
  background-color: #4558ea;
  filter: grayscale(0);
  /* ta couleur principale */
}

#interest2 .interest-icon {
  background-color: rgba(144, 15, 180, 0.5);
}

#interest2:hover .interest-icon {
  background-color: #900fb4;
  /* ta couleur principale */
}

#interest3 .interest-icon {
  background-color: rgba(15, 180, 114, 0.5);
}

#interest3:hover .interest-icon {
  background-color: #0fb472;
}

.interest::before {
  transition: all 0.3s ease !important;
}

.interest:hover {
  transition: all 0.3s ease !important;
  transform: scale(1.02) !important;
  border-color: #2f2f2f;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.interest-icon img {
  max-width: 80px;
  transition: transform 0.3s ease;
}

.interest:hover .interest-icon img {
  transform: rotate(5deg) scale(1.1);
}


.interest p {
  color: #858585;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Photo de profil dans section profil */

.profile-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #2c2c2c;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.profile-card {
  max-width: 800px;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.profile-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px) scale(1.02) !important;
  transition: all 0.3s ease;
}

.profile-card:hover .profile-photo {
  border-color: #6c6c6c7d;
  border-radius: 40%;
  /* filter: grayscale(0) brightness(0.7) !important; */

}

/* Indicateur clignotant "Actuellement" dans parcours (univ avignon) */

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  /* espace entre le cercle et le texte */
  font-family: sans-serif;
  font-weight: bold;
  color: #777777;
}

.live-circle {
  width: 8px;
  height: 8px;
  background-color: #a0a0a0;
  border-radius: 50%;
  animation: pulse 3s infinite ease-in-out;
  box-shadow: 0 0 0 rgba(234, 83, 69, 0.7);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  50% {
    transform: scale(1.1);
    background-color: white;
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
}

.live-text {
  font-size: 1rem;
}

/* Timeline parcours */
/* The actual timeline (the vertical ruler) */
.main-timeline {
  position: relative;
}

/* The actual timeline (the vertical ruler) */
.main-timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background: linear-gradient(rgba(224, 224, 224, 1) 1%, rgb(74, 74, 74) 100%);
  top: 0;
  bottom: 0;
  left: 50%;
  border-radius: 3px;
  margin-left: -3px;
}

/* Container around content */
.timeline {
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline:hover .card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-color: rgb(87, 87, 87);
  transition: all 0.3s ease;
}

.card {
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.timeline .card {
  border-radius: 1rem;
}

.logo-timeline {
  width: 30px;
  filter: grayscale(1) brightness(0.7) contrast(0.2);
  transition: all 0.3s ease;
}

.timeline:hover .logo-timeline {
  filter: none !important;
  transform: rotate(-3deg) scale(1.1);
  transition: all 0.3s ease;
}

/* The circles on the timeline */
.timeline::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -13px;
  background-color: #cecece;
  border: 5px solid rgb(52, 52, 52);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left {
  padding: 0px 40px 20px 0px;
  left: 0;
}

/* Place the container to the right */
.right {
  padding: 0px 0px 20px 40px;
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  position: absolute;
  top: 18px;
  z-index: 1;
  right: 30px;
  border: medium solid rgb(52, 52, 52);
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent rgb(52, 52, 52);
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  position: absolute;
  top: 18px;
  z-index: 1;
  left: 30px;
  border: medium solid rgb(52, 52, 52);
  border-width: 10px 10px 10px 0;
  border-color: transparent rgb(52, 52, 52) transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: -12px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {

  /* Place the timelime to the left */
  .main-timeline::after {
    left: 31px;
  }

  /* Full-width containers */
  .timeline {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  /* Make sure that all arrows are pointing leftwards */
  .timeline::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .left::after,
  .right::after {
    left: 18px;
  }

  .left::before {
    right: auto;
  }

  /* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
}




/* BTN custom */
.btn-custom {
  background-color: #4e4e4e80;
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.5rem 1.5rem;
  transition: background-color 0.3s ease;
}

.btn-custom:hover {
  background-color: rgb(204, 204, 204);
  color: #454545;
}

.btn-custom i {
  transition: all 0.7s ease;
}

.btn-custom:hover i {
  transform: scale(1.2);
}


.bg-variante {
  background-color: #151515;
}

.badge-variante {
  background-color: #232323ad;
  color: white;
  border: 1px solid gray;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 2rem;
  font-size: 0.75rem;
}



.offcanvas h4 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  margin-top: 1rem;
  font-family: 'Playfair Display', serif;
}

.offcanvas-title {
  font-weight: 700;
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
}


.socials-contact {
  background-color: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid #3a3a3a79;
}

.socials-contact:hover {
  background-color: #282828;
  border-color: #454545;
}

.socials-contact:hover .bi {
  transform: rotate(10deg) scale(1.01);
}

.socials-contact .bi {
  transition: transform 0.3s ease, color 0.3s ease;
  font-size: 1.5rem;
}

.socials-contact a {
  text-decoration: none;
  color: inherit;
}

.socials-logo {
  background-color: #4e4e4e80;
  width: 45px;
  height: 45px;
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.5rem 1.5rem;
  transition: background-color 0.3s ease;
}

.socials-contact:hover .socials-logo {
  background-color: rgb(204, 204, 204);
  color: #454545;
}

.socials-logo i {
  transition: all 0.7s ease;
}

.socials-logo:hover i {
  transform: scale(1.2);
}



.contact-card {
  background-color: #141414;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 2rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px) scale(1.01) !important;
}

.contact-card h5 {
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.contact-card input,
.contact-card textarea {
  background-color: #2c2c2c;
  border: 1px solid #3a3a3a79;
  color: #e0e0e0;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.contact-card input:focus,
.contact-card textarea:focus {
  border-color: #454545;
  outline: none;
  box-shadow: 0 0 5px rgba(69, 69, 69, 0.5);
}

.contact-card button {
  background-color: #4e4e4e;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.contact-card button:hover {
  background-color: rgb(204, 204, 204);
  color: #454545;
  font-weight: 600;
}



.badge-custom {
  background-color: #4e4e4e80;
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.website-link a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

.website-link {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  width: 100%;
  border: 1px solid #3a3a3a79;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  display: inline-block;
}

.website-link:hover {
  color: #0b8ac9;
  text-decoration: underline;
}



.separator {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, rgba(224, 224, 224, 1) 1%, rgba(115, 115, 115, 1) 100%);
  border-radius: 5px;
  margin: 0.5rem 0;
}




#skills .card {
  border-radius: 1.2rem;
}

#skills .card-title {
  font-weight: 600;
}

.skill-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  background-color: rgb(42, 42, 42, 0.3);
  padding: 5px 20px;
  border-radius: 1rem;
  border: 1px solid rgba(128, 128, 128, 0.5);
  transition: all 0.3s ease;
  cursor: default;
}

.skill-card img {
  height: 20px;
  filter: grayscale(1);
  transition: all 0.5s ease;
}

.skill-card p {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  text-align: center;
  font-weight: 500;
}

.skill-card:hover {
  /* background-color: #2a2a2a; */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transform: scale(1.01) translateY(-2px);
}

.skill-card:hover img {
  filter: none;
}




#projects .card {
  border-radius: 1.5rem;
}

.card-hover:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transform: scale(1.02);
  transition: all 0.4s ease;
}
#project1.card-hover {
    background: url('/assets/img/projects/lecinefil.png') center/cover no-repeat;
}
#project2.card-hover {
    background: url('/assets/img/projects/univtrack.jpg') center/cover no-repeat;
}
.card-hover {
  transition: all 0.4s ease;
  height: 300px;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  z-index: 1;
}

.card-hover .card-img-overlay {
  z-index: 2;
}

.card-hover h5 {
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  transition: all 0.4s ease;
}

.card-hover:hover .card-title {
  transform: translateY(0);
  transition: all 0.4s ease;
}

.hidden {
  display: none
}

.link {
  color: #521264;
  text-decoration: none;
  font-weight: 500;
}

#interest2:hover .link {
  color: #900fb4;
  text-decoration: underline;
}