
:root {
    --primary-color: #0f0e0e;
    /*--secondary-color: #69456c;*/
    --secondary-color: #d1db35;
    --tertiary-color: #667eea;
    --accent-color: #949958;
    --dark-bg: #1a1a2e;
    --darker-bg: #16213e;
    --light-text: #eee;
    --card-bg: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.2);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}
.layout {
    display: flex;
    min-height: 100vh;
    position: relative;
}
/*bouton menu*/
.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    color: var(--light-text);
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: var(--card-bg);
    transform: scale(1.05);
}


/*Mise en forme menu*/
.sidebar {
    width: 300px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transition: all 0.3s ease;
    z-index: 999;
}
.profil_image {
    text-align: center;
    margin-bottom: 2rem;
}

.profil_image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    object-fit: cover;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.profil_image img:hover {
    transform: scale(1.1);
}

.profil_image h2 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--light-text);
    font-size: 1.2rem;
    padding: 10px;
    border-radius: 50%;
    background: var(--card-bg);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px);
}
.menu ul {
    list-style: none;
}
.menu li {
    margin-bottom: 0.5rem;
}
.menu a {
    color: var(--light-text);
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}
.menu a:hover::before {
    left: 100%;
}
.menu a:hover {
    background: var(--card-bg);
    transform: translateX(5px);
}
.menu a i {
    margin-right: 10px;
    width: 20px;
}
.content {
    flex: 1;
    margin-left: 300px;
    padding: 2rem;
    overflow-y: auto;
}


/*Style des sections*/
section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}
section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    /*animation: rotate 20s linear infinite;*/
    pointer-events: none;
}
.section-content {
    position: relative;
    z-index: 1;
}

/*Style titre */
.titre {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(165deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;

}

.titre::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}


/*Section présentation*/
#presentation {
    background: linear-gradient(135deg, var(--card-bg), rgba(118, 75, 162, 0.1));
    text-align: center;
    padding: 4rem 2rem;
}
#presentation h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /*animation: fadeInUp 1s ease;*/
}
.presentation_text {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    /*animation: fadeInUp 1s ease 0.5s both;*/
}

/*Style liste */
.desc {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}
.desc li {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.desc li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.desc li i {
    color: var(--tertiary-color);
    margin-right: 10px;
}
@keyframes silverToGoldShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.desc li strong {
    background: linear-gradient(45deg,
    rgba(192, 192, 192, 0.9),
    rgba(255, 215, 0, 0.8),
    rgba(255, 237, 78, 0.8));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    animation: silverToGoldShine 4s ease-in-out infinite;
}
/*effet curseur*/
.curseur {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: green;
    animation: blink 1s infinite;

}
.fa-terminal{
    animation: blink 1s infinite;
    color: green;
}
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}



/*Mise en forme suivant taille d'écran */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .content {
        margin-left: 0;
        padding: 1rem;
        padding-top: 70px;
    }

    .contact-map {
        grid-template-columns: 1fr;
    }

    #presentation h1 {
        font-size: 2rem;
    }

    .desc {
        grid-template-columns: 1fr;
    }

    section {
        padding: 1.5rem;
    }
}
@media (max-width: 480px) {
    .content {
        padding: 0.5rem;
    }

    section {
        padding: 1rem;
    }

    .titre {
        font-size: 1.5rem;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}
html {
    scroll-behavior: smooth;
}
.loading {
    /*opacity: 0;*/
    /*transform: translateY(20px);*/
    /*animation: fadeInUp 0.8s ease forwards;*/
}
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}
/* Contact form */
.contact-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.formulaire {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.formulaire h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--light-text);
    margin-bottom: 1rem;
    border-radius: 10px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    color: var(--light-text);
}

.form-control::placeholder {
    color: rgba(238, 238, 238, 0.6);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.map {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
