/*

Ultra Profile

https://templatemo.com/tm-464-ultra-profile

*/

@font-face {
  font-family: 'LTPerfume';
  src: url('../fonts/LTPerfume-2.ttf');
}

@font-face {
  font-family: 'CormorantGaramond';
  src: url('../fonts/CormorantGaramond-VariableFont_wght.ttf');
}

:root {
  /* === PALETTE NEUTRE PRINCIPALE === */
  --noir-profond: #111111;
  --gris-anthracite: #1e1e1e;
  --gris-fumee: #2c2c2c;
  --gris-fumee: #4a4a4a;
  --gris-clair: #bfbfbf;
  --gris-perle: #d9d9d9;
  --blanc-or: #f4f3ef;
  --blanc-argent: #f7f7f8;
  --argent-poli: #e1e1e3;
  --platinum: #c8c8c9;
  --beige: #9bd7b1;
  --beige-light: #f5faf7;

  /* === ACCENTS MÉTALLIQUES === */
  --or-blanc: #d9c79d;
  /* doré très pâle */
  --or-gris: #b8aa87;
  /* ton champagne discret */
  --argent-pale: #dfe3e6;
  /* gris légèrement bleuté */
  --champagne: #e7dec7;

  /* === TEXTE === */
  --text-dark: #1a1a1a;
  --text-light: #f9f9f9;
  --text-muted: #888;
  --text-gold: #c9b47f;

  /* === GRADIENTS === */
  --gradient-hero: linear-gradient(to right,
      rgba(17, 17, 17, 0.85),
      rgba(50, 50, 50, 0.6),
      rgba(180, 168, 132, 0.2));

  --gradient-soft-silver: linear-gradient(to bottom right,
      #f7f7f8,
      #eaeaea,
      #dcdcdc);

  --gradient-platinum: linear-gradient(to right,
      #c8c8c9,
      #e1e1e3,
      #f4f3ef);

  --gradient-dark-gold: linear-gradient(to right,
      #1e1e1e,
      #3a352c,
      #b8aa87);

  /* === FONDS DE SECTIONS === */
  --bg-hero: var(--gradient-hero);
  --bg-apropos: var(--gradient-soft-silver);
  --bg-skills: var(--gradient-dark-gold);
  --bg-contact: var(--gradient-platinum);

  /* === ÉCLAIRAGE / DÉTAILS === */
  --highlight-light: rgba(255, 255, 255, 0.1);
  --highlight-gold: rgba(200, 180, 120, 0.15);

  /* === OMBRES === */
  --shadow-soft: 0 4px 10px rgba(0, 0, 0, 0.1);
  --shadow-luxe: 0 10px 25px rgba(0, 0, 0, 0.2);
}

body {
  background: #ffffff;
  font-family: 'CormorantGaramond';
  font-size: 22px;
  font-weight: 700;
  color: #606060;
  position: relative;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-weight: 300;
}

p {
  line-height: 28px;
}

hr {
  border-color: var(--beige);
  width: 150px;
  margin-bottom: 30px;
}

.hr-light {
  border-color: var(--beige-light);
}

.title {
  color: #303030;
  font-size: 60px;
  padding-bottom: 40px;
  text-transform: uppercase;
}

/* HERO */
  .hero {
    background-image: url('../images/projects/glows_invaders_picture.png');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    vertical-align: middle;
    min-height: 100vh;
    position: relative;
  }

  .hero-picture {
    text-align: center;
  }

  .img-hero-picture {
    border-radius: 90em;
    max-width: 25em;
    max-height: 25em;
  }


/* START NAVIGATION */
.sticky-navigation {
  opacity: 0;
}

.navbar-default {
  background: #222020bb;
  border: none;
  -webkit-box-shadow: 0 2px 8px 0 rgba(50, 50, 50, 0.08);
  box-shadow: 0 2px 8px 0 rgba(50, 50, 50, 0.08);
  margin: 0;
  padding: 0;
}

.navbar-default .navbar-brand {
  color: var(--beige);
  font-weight: 500;
  font-family: 'LTPerfume';
  font-size: 35px;
  line-height: 60px;
  padding: 10px 0 0 12px;
}

.navbar-default .navbar-brand:hover {
  color: var(--beige-light);
}

@media (max-width: 768px) {
	.navbar-default .navbar-brand {
	  color: var(--beige);
	  font-weight: 500;
	  font-family: 'LTPerfume';
	  font-size: 35px;
	  line-height: 40px;
	  padding: 10px 0 0 12px;
	}
}

.navbar-default .navbar-nav li a {
  color: var(--blanc-argent);
  font-size: 13px;
  font-weight: bold;
  line-height: 45px;
  letter-spacing: 1px;
}

.navbar-default .navbar-nav li a:hover {
  color: var(--beige);
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
  color: var(--beige);
  background-color: transparent;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
  color: var(--beige);
  background-color: transparent;
}

.navbar-default .navbar-toggle {
  border: none;
  padding-top: 10px;
}

.navbar-default .navbar-toggle .icon-bar {
  background: var(--beige);
  border-color: transparent;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: transparent
}

/* END NAVIGATION */

/* START HOME */
.templatemo-home {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/home-bg.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  color: #ffffff;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  height: 100vh;
}

.tm-home-title,
.tm-home-subtitle {
  text-transform: uppercase;
}

.tm-home-title {
  color: var(--beige);
  font-size: 100px;
  font-weight: 500;
  font-family: 'LTPerfume';
  text-transform: none;
}

.tm-home-subtitle {
  color: var(--beige-light);
  font-weight: bold;
  padding-bottom: 40px;
  letter-spacing: 2px;
}

.tm-view-more-btn {
  background: var(--beige);
  color: #ffffff;
  border: none;
  border-radius: 2px;
  font-size: 20px;
  font-weight: 700;
  margin-top: 30px;
  padding: 15px 50px;
  -webkit-transition: all 0.6s ease-in;
  transition: all 0.6s ease-in;
}

.tm-view-more-btn:hover {
  background: #ffffff;
  color: var(--beige);
}

/* END HOME */

/* START education */
.tm-padding-top-bottom-100 {
  background: var(--beige-light);
  color: var(--gris-fumee);
  padding-top: 100px;
  padding-bottom: 100px;
}

.tm-education-h3 {
  color: var(--beige);
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  padding-bottom: 10px;
}

.education-row {
  display: flex;
  justify-content: center;
  /* centre horizontalement */
  align-items: flex-start;
  /* optionnel : aligne le haut */
  gap: 40px 40px;
  /* espace entre les deux */
  flex-wrap: wrap;
  /* permet de s’adapter sur petits écrans */
}

@media (max-width: 1000px) {
  .education-row {
    display: flex;
    justify-content: center;
    /* centre horizontalement */
    align-items: flex-start;
    /* optionnel : aligne le haut */
    gap: 40px 0px;
    /* espace entre les deux */
    flex-wrap: wrap;
    /* permet de s’adapter sur petits écrans */
  }
}

.education-wrapper {
  max-width: 400px;
  border: 1px solid #666;
  border-radius: 2px;
  text-align: center;
  padding: 80px 40px 80px 40px;
  -webkit-transition: all 0.6s ease-in;
  transition: all 0.6s ease-in;
  background-color: white;
  font-weight: 700;
  color: var(--gris-fumee);
}

.education-wrapper:hover {
  border-color: #eb5424;
}

.education-wrapper .fa {
  color: #888888;
  font-size: 60px;
  padding-bottom: 40px;
}

/* END education */

/* START skills */
.tm-skills {
  background: var(--beige);
  color: var(--gris-fumee);
  padding-top: 100px;
  padding-bottom: 100px;
}

.tm-skills .container {
  width: 100%;
  padding: 0;
  margin: 0;
}

.tm-skills .col-md-3,
.tm-skills .col-sm-3 {
  padding: 0;
  margin: 0;
}

.tm-skills-title {
  text-align: center;
  text-transform: uppercase;
  color: var(--gris-fumee);
}

.skills-item-title {
  font-weight: bold;
  margin-top: 10px;
  text-transform: uppercase;
}

.skills-thumb {
  overflow: hidden;
  margin: 0;
  position: relative;
  border-radius: 5px;
}

.skills-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  /* au repos : overlay transparent, texte visible */
  background: transparent;
  color: var(--beige);
  /* h3 lisible sur l’image */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 40px;
  text-align: center;

  /* on garde une transition douce */
  transition: background 0.4s ease-in-out, color 0.4s ease-in-out;
}

/* Au survol : on affiche le fond coloré (comme avant) */
.skills-thumb:hover .skills-overlay {
  background: #27352cd2;
  /* #eb5424 avec alpha */
  color: var(--text-light);
  /* le h3 passe en blanc sur fond orange */
}

/* h3 : toujours visible */
.skills-overlay h3 {
  margin-bottom: 15px;
  color: whitesmoke;
  opacity: 1;
  transition: color 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

/* p : caché par défaut, visible au survol */
.skills-overlay p {
  opacity: 0;
  /* caché */
  max-height: 0;
  /* évite l’espace */
  overflow: hidden;
  font-size: 20px;
  line-height: 1.4;
  overflow-wrap: break-word;
  transition: opacity 0.4s ease-in-out, max-height 0.4s ease-in-out;
}

/* Au survol, on révèle le paragraphe */
.skills-thumb:hover .skills-overlay p {
  opacity: 1;
  max-height: 500px;
  /* assez grand pour ton texte */
}

/* (optionnel) icônes si tu en as */
.skills-overlay .fa {
  border: 1px solid #666;
  border-radius: 0;
  color: #666;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  text-decoration: none;
  margin-right: 6px;
  margin-bottom: 10px;
}

@media (max-width: 1750px) {
  .iso-box-wrapper {
    flex-direction: column;  /* les box se placent les unes sous les autres */
    align-items: center;     /* centrées horizontalement */
  }

  .iso-box {
    width: 100%;
    max-width: 600px;        /* largeur maximale pour un bel équilibre */
  }

	/* p : caché par défaut, visible au survol */
	.skills-overlay p {
	  opacity: 0;
	  /* caché */
	  max-height: 0;
	  /* évite l’espace */
	  overflow: hidden;
	  font-size: 20px;
	  line-height: 1.4;
	  font-size: clamp(1.3rem, 1vw + 0.2rem, 2rem);
	  overflow-wrap: break-word;
	  transition: opacity 0.4s ease-in-out, max-height 0.4s ease-in-out;
	}

}


/* FILTER CSS */
.filter-wrapper {
  width: 100%;
  margin: 0 0 24px 0;
  overflow: hidden;
  text-align: center;
}

.filter-wrapper li {
  display: inline-block;
  margin: 4px;
}

.filter-wrapper li a {
  color: #999999;
  padding: 8px 17px;
  display: block;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
}

.filter-wrapper li a:focus,
.filter-wrapper li a:hover,
.filter-wrapper li a.selected {
  background: #eb5424;
  border-color: transparent;
  color: #ffffff;
}

/* ISOTOPE BOX CSS */
.iso-box-section {
  width: 100%;
}

.iso-box-wrapper {
  width: 80%;
  padding: 0;
  clear: both;
  position: relative;
}

.iso-box {
  position: relative;
  min-height: 50px;
  float: left;
  overflow: hidden;
  margin-bottom: 20px;
}

.iso-box>a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.fluid-img {
  width: 100%;
  display: block;
  height: auto;
}

/* END skills */

/* START experience */
.tm-red-text {
  color: #eb5424;
}

.tm-experience-row{
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 0px 40px;
}

.tm-info-label {
  font-weight: bold;
  display: inline-block;
  width: 90px;
  color: var(--beige);
}

.tm-progress {
  background: #fff;
  border-radius: 2px;
  height: 4px;
}

.progress-bar-danger {
  background: #eb5424;
}

.tm-progress-label {
  font-size: 12px;
  font-weight: bold;
  padding-top: 10px;
  text-transform: uppercase;
}

.progress-percent-small {
  display: block;
  float: right;
  padding-right: 80px;
}

/* END experience */

/* START ABOUT */

.tm-about {
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.0),
      rgba(0, 0, 0, 0.0),
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.8)),
    url('../images/profile_6.png');
  background-size: cover;
  background-attachment: fixed;
  padding-top: 5%;
  padding-bottom: 5%;
  color: #ffffffd2;
}

/* Version mobile : sans gradient */
@media (max-width: 1000px) {
  .tm-about {
    background: linear-gradient(rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.5)),
      url('../images/profile_6.png');
    background-size: cover;
    background-attachment: fixed;
    padding-top: 60px;
    padding-bottom: 100px;
    color: #ffffff;
    text-align: center;
  }

  .tm-experience-row{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .col-sm-offset-6 {
    margin-left: 0;
  }

  .col-sm-7 {
    width: 100%;
  }
}

/* END ABOUT */

/* START SOCIAL */
.tm-social {
  text-transform: uppercase;
}

.tm-social .container {
  width: 100%;
  padding: 0;
  margin: 0;
}

.tm-social .col-md-4 {
  padding: 0;
  margin: 0;
}

.facebook:hover,
.twitter:hover,
.pinterest:hover {
  background: #202020;
}

.facebook {
  background: #3b5998;
}

.twitter {
  background: #55acee;
}

.pinterest {
  background: #cc2127;
}

.media {
  padding: 80px 40px 80px 40px;
  -webkit-transition: all 0.6s ease-in;
  transition: all 0.6s ease-in;
}

.tm-social a {
  color: #ffffff;
  display: inline-block;
  text-decoration: none;
}

.tm-social .media .fa {
  background: #ffffff;
  border-radius: 2px;
  color: #707070;
  font-size: 30px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  margin-right: 20px;
}

.tm-social-title {
  font-family: 'CormorantGaramond';
  font-weight: bold;
}

/* END SOCIAL */

/* START CONTACT */
.contact-section {
  background: var(--beige);
  color: var(--gris-fumee);
  padding: 80px 20px 40px;
  font-family: "Poppins", "Helvetica Neue", sans-serif;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.contact-left, .contact-right {
  flex: 1;
  min-width: 280px;
}

.tm-contact-title {
  font-family: 'CormorantGaramond';
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  font-weight: 800;
  font-size: larger;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: large;
  color: white;
}

.contact-list a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.contact-list a:hover {
  border-bottom-color: currentColor;
}

/* Réseaux */
.socials {
  display: flex;
  flex-direction: row;
  gap: 45px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  color: white;
  text-decoration: none;
  padding: 6px 0;
  transition: opacity 0.3s ease;
  font-size: xxx-large;
}

.socials a:hover {
  color: var(--gris-fumee);
  opacity: 0.7;
}


/* Copyright */
.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted, #666);
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 20px;
}

/* Mobile */
@media (max-width: 1000px) {
  .contact-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-left, .contact-right {
    flex: none;
    width: 100%;
  }

  .contact-list{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .socials {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
}


/* END CONTACT */

@media screen and (max-device-width: 1024px) {
  .templatemo-home {
    background-attachment: scroll;
  }
}

/* START MEDIA 980 */
@media screen and (max-width:980px) {
  .skills-overlay {
    padding-top: 10px;
  }
}

/* END MEDIA 980 */

@media screen and (max-width: 767px) {
  .tm-home-title {
    font-size: 40px;
  }
}

/* START MEDIA 360 */
@media screen and (max-width:360px) {
  .navbar-default .navbar-brand {
    padding-top: 2px;
  }
}

/* END MEDIA 360 */

/* --- Base de la bulle --- */
.photo-bubble {
  position: fixed;               /* reste visible même au scroll */
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: absolute;
}

/* --- L'image à l'intérieur --- */
.photo-bubble img {
  border-radius: 90em;
  max-width: 20em;
  max-height: 20em;
}

/* --- Positionnements préconfigurés --- */
.photo-bubble.right {
  right: 40px;
}

.photo-bubble.left {
  left: 40px;
  bottom: 40px;   /* ou top: 40px; */
}

/* --- Version responsive : plus petite sur mobile --- */
@media (max-width: 768px) {
  .photo-bubble {
    width: 80px;
    height: 80px;
    border-width: 2px;
  }
}
