@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Quicksand:300,400,500,700');
@import url('https://fonts.googleapis.com/css?family=Roboto');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Quicksand', sans-serif;
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    overflow-x: hidden;
    background: #fafafa;
}

ul, li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

input, select, textarea, button {
    font-family: 'Quicksand', sans-serif;
    outline: none;
}

/* === SCROLL === */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    background-color: #f5f5f5;
}
::-webkit-scrollbar-thumb {
    background-color: #777;
    box-shadow: inset 0 0 6px rgba(0,0,0,.3);
}

/* === STRUCTURE === */
.wraper {
    width: 100%;
    min-height: 100vh;
}
.container {
    display: flex;
    min-height: 80vh; 
    flex-direction: row;
    padding-bottom: 20px; 
}
.left-content {
    width: 300px;
    background: #fff;
    border-right: 1px solid rgba(221, 221, 221, 0.38);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}
.main-content {
    flex: 1;
    padding: 30px;
    background: #fff;
}

/* Footer */
.footer {
    width: 100%;
    background: #000000;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer a {
    color: #fff;
}



/* === PROFILE CONTAINER === */
.profile-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.user-profile {
    flex: 1;
    min-width: 300px;
}

/* === LOGO === */
.logo a {
    color: #fff;
    background: #000;
    display: flex;
    flex-direction: column;
    padding: 10px;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 500;
    line-height: 1.5;
}

/* === NAVIGATION === */
.nav ul {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}
.nav ul li {
    margin-bottom: 10px;
}
.nav ul li a {
    padding: 8px 0;
    color: rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
    font-size: 1.5rem; /* Taille de police de base */

}
.nav ul li a:hover {
    color: #000;
}
.nav ul li a::after {
    content: "";
    width: 0;
    height: 1px;
    background: #000;
    position: absolute;
    bottom: 5px;
    left: 0;
    transition: width 0.3s ease;

}
.nav ul li a:hover::after {
    width: 100%;
}

/* === FOOTER LEFT === */
.left-footer {
    margin-top: auto;
}
.social-icons ul,
.foot-contact ul {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
}
.social-icons ul li a,
.social-icons-head ul li a {
    font-size: 20px;
    color: #888;
    transition: transform 0.3s;
}
.social-icons ul li a:hover,
.social-icons-head ul li a:hover {
    color: #e0d1f5;
    transform: scale(1.2) translateY(-5px);
}
.foot-contact ul {
    flex-direction: column;
}


/* === PROFILE SECTION === */
.sm-text {
    text-transform: uppercase;
    font-size: 14px;
    color: #222;
}
.name {
    font-size: 36px;
    font-weight: 600;
    margin: 15px 0;
    color: #222;
}
.role {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #222;
}
.text {
    font-size: 15px;
    margin-bottom: 20px;
}
.pr-list ul li {
    margin-bottom: 8px;
}
.pr-list ul li i {
    width: 18px;
}

/* === TITLES === */
.sec-title {
    margin-bottom: 50px;
}
.pg-title {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #000;
}
.pg-sub-title {
    font-size: 10px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 5px;
}

/* === PROFILE IMAGE + BUBBLES === */
.picture-resume-wrapper {
    flex: 1;
    min-width: 300px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.picture-resume {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0;
    padding-top: 55px;
}
.picture-resume span {
    display: block;
    position: relative;
    z-index: 10;
    text-align: center;
}
.picture-resume img {
    border-radius: 50%;
    width: 100%;
    height: auto;
    max-width: 360px;
    object-fit: cover;
    box-shadow: 45 3px 5px rgba(0,0,0,0.2);
    padding-top: 45px;
}
.picture-resume svg {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.bubble0, .bubble1, .bubble2, .bubble3, .bubble4,
.bubble5, .bubble6, .bubble7, .bubble8, .bubble9, .bubble10 {
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

/* === SOCIAL HEAD === */
.social-icons-head ul {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* === RESPONSIVE === */

/* Premier breakpoint: 1024px (tablette paysage et petits écrans) */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }
    .left-content {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(221, 221, 221, 0.38);
        padding: 20px 15px; /* Ajout de padding réduit */
    }
    .nav ul {
        align-items: center;
        flex-direction: column; /* Menu vertical sur mobile */
    }
    .main-content {
        margin-left: 0;
        padding: 25px 15px; /* Padding cohérent avec .left-content */
    }
    .profile-container {
        gap: 30px;
        flex-direction: row; /* Conserver row jusqu'au breakpoint suivant */
        flex-wrap: wrap; /* Permettre le retour à la ligne */
    }
    .user-profile, .picture-resume-wrapper {
        width: 50%; /* Largeur relative pour s'adapter */
        min-width: unset;
        text-align: left; /* Conserver l'alignement gauche */
    }
    
    .picture-resume img {
        max-width: 200px; /* Réduction progressive */
        padding-top: 15px;
    }
}

/* Deuxième breakpoint: 767px (tablette portrait et mobile) */
@media (max-width: 800px) {
    .logo a {
        font-size: 16px;
        letter-spacing: 2px;
    }
    .nav ul {
        align-items: center;
        flex-direction: column; /* Menu vertical sur mobile */
    }
    
    .profile-container {
        flex-direction: column;
        gap: 20px; /* Espacement réduit */
    }
    
    .user-profile, .picture-resume-wrapper {
        width: 33%;
        text-align: center; /* Centrage sur mobile */
    }
    
    .picture-resume img {
        max-width: 180px; /* Taille encore réduite */
        padding-top: 10px;
    }
    
    .name {
        font-size: 24px; /* Taille réduite pour mobile */
        line-height: 1.2; /* Meilleure lisibilité */
    }
    .role {
        font-size: 14px;
    }
    .social-icons-head ul {
        justify-content: center;
        flex-wrap: wrap; /* Icônes peuvent revenir à la ligne */
    }
    
    .picture-resume {
        padding-top: 15px;
        margin-bottom: 15px;
    }
    
    /* Optimisations supplémentaires pour mobile */
    .left-content, .main-content {
        padding: 15px 10px; /* Padding plus serré */
    }
}

/* Breakpoint intermédiaire optionnel (650px) */
@media (max-width: 650px) {
    .profile-container {
        gap: 20px;
    }
    .user-profile, .picture-resume-wrapper {
        width: 50%;
        text-align: center; /* Centrage sur mobile */
    }
    
    .picture-resume img {
        max-width: 180px; /* Taille encore réduite */
        padding-top: 10px;
    }

    /* Breakpoint intermédiaire optionnel (480px) */
    @media (max-width: 480px) {
        .nav a {
            font-size: 0.85rem;
        }
        
        .bookmarks {
            flex-direction: column;
            gap: 10px;
        }

        .user-profile, .picture-resume-wrapper {
            width: 35%;
            text-align: center; /* Centrage sur mobile */
        }
        
        .picture-resume img {
            max-width: 80px; /* Taille encore réduite */
            padding-top: 10px;
        }

    }
}


/* Cible du flash */
:root {
  --flash-frequency: 3s;    /* Contrôle la vitesse (fréquence) */
  --flash-intensity: 0.9;    /* Contrôle l'intensité max (0-1) */
}

.flash-image {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.flash-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  z-index: 2;
  mask: url('../img/personalLOGO.png') center/contain no-repeat;
  -webkit-mask: url('../img/personalLOGO.png') center/contain no-repeat;
  animation: flashAnimation var(--flash-frequency) infinite;
}

@keyframes flashAnimation {
  0%, 80% { opacity: 0; }
  85% { opacity: calc(var(--flash-intensity) * 0.6); }
  88% { opacity: var(--flash-intensity); }
  90% { opacity: calc(var(--flash-intensity) * 0.4); }
  93% { opacity: calc(var(--flash-intensity) * 0.2); }
  100% { opacity: 0; }
}

/* Adaptation pour le footer */
.copy-rights {
  text-align: center;
  padding: 0px 0;
  position: relative;
}


.skills-section, .certificates {
    padding: 15px;
}

.skills-category h4, .certificates h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    border-left: 4px solid #000000;
    padding-left: 10px;
}

.skills-category ul {
    list-style-type: disc;
    padding-left: 20px;
}

.certificate-item {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
    }
}





/* Conteneur principal */
.language-switcher-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

/* Style pour la liste des langues */
.language-switcher {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}

.language-link {
  text-decoration: none;
  color: #7e7b7b;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 12px;
  flex-grow: 1;
  text-align: center;
}

/* Séparateurs entre les langues */
.language-link:not(:last-child) {
  border-right: 1px solid #e0e0e0;
}

.language-link:hover {
  color: #000000;
  background-color: #f8f8f8;
}

/* Animation au survol */
.language-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: #000000;
  transition: width 0.3s ease;
}

.language-link:hover::after {
  width: 70%;
}

/* Style pour le drapeau dans les liens */
.language-link .flag {
  display: inline-block;
  width: 20px;
  height: 15px;
  margin-right: 8px;
  vertical-align: middle;
}
