/* 
background-color: #0f0925;
background-color: #1f153d;
*/

/* === Menu gauche === */

.menu-gauche {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 20%;
    background-color: #1f153d;
    overflow-y: auto;
    padding: 1%;
    box-sizing: border-box;
    z-index: 1000;
}
.menu-gauche h1 {
    text-align: center;
    color: rgb(255, 255, 255);
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

nav ul li {
    margin: 15px 0;
}

nav ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border: 2px solid white;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    width: 300px;
    transition: 0.3s;
}
nav ul li a:hover {
    background-color: white;
    color: black;
}

nav ul li i {
    margin-right: 10px;
    font-size: 20px;
}
/* === Contenu principal === */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #0f0925;
}
.contenu-principal {
    margin-left: 20%;
    padding: 40px;
    box-sizing: border-box;
    min-height: 100vh;
    background-color: #0f0925;

    display: flex;
    flex-direction: column; /* empile verticalement */
    align-items: center;    /* centre horizontalement */
    gap: 40px;              /* espace entre les zones */
}

/* Zone PROFIL */
.profil-zone {
    background-color: #1f153d;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    color: white;
    padding: 30px;
    width: 80%;
    max-width: 1000px;
    text-align: center;
    align-items: center;
}

.profil-zone h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.profil-zone p {
    font-size: 18px;
    line-height: 1.6;
}

.profil-zone h3 {
    font-size: 24px;
    margin: 20px 0 10px;
}

.specialites-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.specialite {
    width: 48%;
    text-align: left;
}

.specialite h4 {
    font-size: 22px;
    margin: 15px 0 10px;
    color: #ffffff;
}

.specialite ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.specialite ul li {
    background: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
}

.specialite ul li::before {
    content: "✔";
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 0.5em;
}

/* Responsive */
@media (max-width: 768px) {
    .specialites-container {
        flex-direction: column;
        align-items: center;
    }

    .specialite {
        width: 100%;
        text-align: center;
    }
}






/* Zone FORMATIONS */
.formations-zone {
    background-color: #1f153d;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    color: white;
    padding: 30px;
    width: 80%;
    max-width: 1000px;
    text-align: center;
    align-items: center;
}

/* Titre */
.formations-zone h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #ffffff;
}

/* Container des cartes */
.formations-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Cartes cliquables */
.formation-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: inherit;
}

.formation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(255, 204, 112, 0.3);
}

/* Logo */
.formation-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 10px;
    background-color: white;
    padding: 5px;
}

/* Texte */
.text-content {
    text-align: left;
}

.text-content h3 {
    font-size: 20px;
    margin: 0 0 8px;
    color: #ffffff;
}

.text-content .date {
    font-size: 14px;
    color: #ffcc70;
    display: block;
    margin-bottom: 10px;
}

.text-content p {
    font-size: 16px;
    color: #e0e0e0;
    margin: 0;
}

/* Responsive */
@media (max-width: 600px) {
    .formation-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .formation-logo {
        width: 50px;
        height: 50px;
    }

    .formations-zone h2 {
        font-size: 24px;
    }
}








/* ===== TITRES SECTION ===== */
.competences-zone h2 {
    color: #ffcc70;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.competences-zone h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffcc70;
}

.competence-categorie h3 {
    color: #ffcc70;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 204, 112, 0.3);
    display: inline-block;
}
/* ===== ZONE COMPÉTENCES ===== */
.competences-zone {
    background-color: #1f153d;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    color: white;
    padding: 30px;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 40px;
}

/* ===== CONTENEURS ===== */
.competences-container {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.competence-categorie {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== LISTE COMPÉTENCES ===== */
.competence-liste {
    list-style: none;
    padding: 0;
}

.competence-liste li {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.competence-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    color: #ffcc70;
}

/* ===== SUPERVISION ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.outil {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Style pour le logo Zabbix NATUREL */
.logo-wrapper {
    width: 75px;
    height: 75px;
    margin: 0 auto 15px;
}
.logo-wrapper-MP{
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
}
.custom-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Suppression du filtre couleur */
}

/* Icônes Font Awesome */
.icon {
    font-size: 50px;
    color: #ffcc70;
    margin-bottom: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .competences-container {
        flex-direction: column;
    }
    
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .contenu-principal {
        margin-left: 0;
        padding: 20px;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
}

/* Nouveaux styles pour les séparations */
.competence-section-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 40px 0;
    width: 100%;
}

.competence-categorie {
    margin-bottom: 30px;
}

.competence-categorie.full-width {
    width: 95%;
}

/* Ajustement du conteneur principal */
.competences-zone {
    background-color: #1f153d;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    color: white;
    padding: 40px;
    width: 100%;
    max-width: 1000px;
}

/* Ajustement du titre principal */
.competences-zone h2 {
    color: #ffcc70;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.competences-zone h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ffcc70;
}


.outil h4 {
    color: #ffcc70;
    margin: 10px 0 5px;
}

.outil p {
    color: #e0e0e0;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* Animation au survol */
.outil {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.outil:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(255, 204, 112, 0.3);
}
















/* Zone PROJETS */
.projets-zone {
    background-color: #1f153d;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    color: white;
    padding: 30px;
    width: 80%;
    max-width: 1000px;
    text-align: center;
    align-items: center;
}

.projets-zone h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.projet {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projet:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(255, 204, 112, 0.3);
}

.projet h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #ffcc70;
}

.projet p {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.projet-link {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #ffcc70;
    border-radius: 5px;
    background-color: transparent;
    color: #ffcc70;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.projet-link:hover {
    background-color: #ffcc70;
    color: #1f153d;
}







/* Zone BEG */
.projets-zone {
    background-color: #1f153d;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    color: white;
    padding: 30px;
    width: 80%;
    max-width: 1000px;
    text-align: center;
    align-items: center;
}
.projets-zone h2 {
    font-size: 28px;
    margin-bottom: 15px;
}
.BEG {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.BEG-Documentation {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.download-btn {
    background-color: transparent;
    border: 2px solid #ffffff00;
    color: #044672;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s, color 0.3s;
  }

  .download-btn:hover {
    background-color: #ffffff00;
    color: #fff;
  }

  .download-icon {
    font-size: 18px;
    transition: transform 0.3s;
  }

  .download-btn:hover .download-icon {
    transform: translateY(3px);
  }








/* Zone EP */
.EP-zone {
    background-color: #1f153d;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    color: white;
    padding: 30px;
    width: 80%;
    max-width: 1000px;
    margin: auto;
    text-align: center;
    align-items: center;
}

.EP-zone h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.EP-zone p {
    font-size: 18px;
    line-height: 1.6;
}

.EP-zone img {
    width: 100px;
    float: left;
    margin-right: 15px;
}

.timeline-simple {
    position: relative;
    padding-left: 30px;
    margin-top: 20px;
    padding-bottom: 30px;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    width: 3px;
    background-color: white;
    border-radius: 5px;
}

.EP-item {
    position: relative;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bullet {
    position: absolute;
    left: -3px;
    top: 5px;
    width: 14px;
    height: 14px;
    background-color: white;
    border: 3px solid #1f153d;
    border-radius: 50%;
}

.EP-content {
    padding-left: 15px;
    text-align: left;
    overflow: hidden;
}

.EP-content h3 {
    margin: 0;
    font-size: 20px;
    color: white;
}

.EP-content .date {
    font-size: 14px;
    color: #aaa;
    display: block;
    margin-bottom: 5px;
}

.EP-content p {
    font-size: 15px;
    margin: 0;
    color: white;
}

.liste-fleches {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.liste-fleches li::before {
    content: "➤";
    color: #ffffff;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: 0.5em;
}

@media screen and (max-width: 768px) {
    .EP-zone {
        width: 95%;
        padding: 20px;
    }

    .EP-zone img {
        width: 80px;
        float: none;
        display: block;
        margin: 0 auto 10px;
    }

    .EP-content {
        text-align: center;
        padding-left: 0;
    }

    .timeline-simple {
        padding-left: 20px;
    }

    .timeline-line {
        left: 5px;
    }

    .bullet {
        left: -5px;
    }
}










/* Zone CERTIFICATIONS */
.certifications-zone {
    background-color: #1f153d;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    color: white;
    padding: 30px;
    width: 80%;
    max-width: 1000px;
    text-align: center;
    align-items: center;
}

.certifications-zone h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.certifications-zone p {
    font-size: 18px;
    line-height: 1.6;
}
  
.filter-buttons {
    text-align: center;
    margin-bottom: 30px;
}
  
.filter-btn {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}
  
.filter-btn.active,
.filter-btn:hover {
    background-color: #ff9800;
}
  
.certif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
  
.certif-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: #111;
}
  
.certif-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}
  
.certif-overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    width: 100%;
    text-align: center;
    padding: 10px;
    opacity: 0;
    transition: 0.3s ease-in-out;
}
  
.certif-item:hover .certif-overlay {
    opacity: 1;
}
  
.certif-overlay a {
    color: #ff9800;
    font-weight: bold;
    text-decoration: none;
}








/* Zone VT */
.VT-zone {
    background-color: #1f153d;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    color: white;
    padding: 30px;
    width: 80%;
    max-width: 1000px;
    text-align: center;
    align-items: center;
}
.VT-zone ul {
    text-align: left;
    padding-left: 20px;
  list-style-position: inside;
}
.VT-zone h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.VT-zone p {
    font-size: 18px;
    line-height: 1.6;
}

.articles-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.article-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    width: calc(33.333% - 20px);
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(255, 204, 112, 0.3);
}

.article-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.article-content p {
    font-size: 16px;
    color: #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    .article-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .article-card {
        width: 100%;
    }
}






/* Zone CONTACT */
.contact-zone {
    background-color: #1f153d;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    color: white;
    padding: 30px;
    width: 80%;
    max-width: 1000px;
    text-align: center;
    align-items: center;
}

.contact-zone h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
    line-height: 1.6;
    margin: 10px 0;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #ffffff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    text-align: left;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #ffffff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ffffff;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: #1f153d;
}

.contact-form button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #1f153d;
    color: #1f153d;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #ffffff;
}










/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: #1f153d;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 60%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    color: white;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: white;
}

.modal-options {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.modal-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.modal-option:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.modal-option i {
    font-size: 40px;
    margin-bottom: 10px;
}

.competences-content {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.competence-col {
    flex: 1;
    text-align: left;
}

.competence-col h4 {
    color: #ffcc70;
    margin-bottom: 15px;
}

.competence-col ul {
    padding-left: 20px;
}

.competence-col li {
    margin-bottom: 10px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .modal-content {
        width: 80%;
        margin: 20% auto;
    }
    
    .modal-options {
        flex-direction: column;
        align-items: center;
    }
    
    .competences-content {
        flex-direction: column;
    }
}

/* === Media Queries === */
@media screen and (max-width: 768px) {
    .menu-gauche {
        width: 30%;
    }

    .contenu-principal {
        margin-left: 30%;
    }
}

@media screen and (max-width: 480px) {
    .menu-gauche {
        width: 100%;
        position: relative;
        height: auto;
    }

    .contenu-principal {
        margin-left: 0;
    }
}



/* === Footer === */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 20%;
  padding: 10px;
  background-color: #1f153d;
  color: white;
  text-align: center;
  font-size: 14px;
  z-index: 1000;
  box-sizing: border-box;
}

/* Responsive pour le footer */
@media screen and (max-width: 768px) {
  footer {
    width: 30%;
  }
}

@media screen and (max-width: 480px) {
  footer {
    position: relative;
    width: 100%;
    margin-top: 20px;
  }
}