@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:ital,wght@0,100..900;1,100..900&family=Dancing+Script:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:ital,wght@0,100..900;1,100..900&family=Comfortaa:wght@300..700&family=Dancing+Script:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
}

a {
    text-decoration: none;
    font-size: 13px;
}

/* ***********NAVBAR*********** */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5%;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    width: 40px;
    height: 40px;
    margin-right: 20px;
}

header .logo h1 {
    font-size: 30px;
    color: #2768f3;
}

.menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

.menu li {
    margin-left: 0;
    position: relative;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.menu li a {
    color: #000;
    transition: 0.5s;
}

/* --- PRÉSENTATION --- */
.presentation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
}

.container {
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
}

.photo {
    flex: 1;
    background: #dce5f4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.photo img {
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.contenu {
    flex: 2;
    padding: 3rem;
}

.contenu h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.contenu h1 span {
    color: #2563eb;
}

.contenu h2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 1.5rem;
}

.contenu p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.btn {
    background-color: #2065d1;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    display: inline-block;
    max-width: 100%;
    text-align: center;
}

.btn:hover {
    background-color: #1749a1;
}

/* --- SECTIONS TEXTE --- */
.a-propos,
.competences {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.container-texte {
    max-width: 900px;
    margin: 0 auto;
}

.container-texte h2 {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

/* --- COMPÉTENCES --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill {
    background: #f5f8fe;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.skill h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2563eb;
}

/* ******** RESPONSIVE ******** */
@media screen and (max-width: 1024px) {
    .container {
        flex-direction: column;
        align-items: center;
        padding: 2rem 1rem;
    }

    .photo {
        padding: 1.5rem;
    }

    .contenu {
        padding: 2rem;
        text-align: center;
    }

    .btn {
        width: auto;
        padding: 0.8rem 2rem;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }

  .photo {
    width: 100%;
    justify-content: center;
    padding: 1.5rem;
  }

  .photo img {
    max-width: 180px;
    height: auto;
  }

  .contenu {
    width: 100%;
    text-align: center;
    padding: 2rem 1rem;
  }

  .contenu h1 {
    font-size: 1.8rem;
  }

  .btn {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    text-align: center;
    padding: 1rem;
    margin: 2rem auto 0;
    border-radius: 0;
    background-color: #2065d1;
    color: #fff;
  }

  .btn:hover {
    background-color: #1749a1;
  }
}

.reseaux {
    padding: 4rem 2rem;
    background-color: #f4f8ff;
    text-align: center;
}

.reseaux h2 {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 2rem;
}

.reseaux-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.reseau {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.4rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    min-width: 220px;
    transition: 0.3s ease;
}

.reseau i {
    font-size: 1.8rem;
}

/* Styles spécifiques */
.reseau.linkedin {
    background-color: #0077b5;
}
.reseau.linkedin:hover {
    background-color: #005582;
}

.reseau.gmail {
    background-color: #d44638;
}
.reseau.gmail:hover {
    background-color: #bb2e25;
}

.reseau.instagram {
    background-color: #e1306c;
}
.reseau.instagram:hover {
    background-color: #c92c61;
}



