/* ---- Styles généraux ---- */
body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: linear-gradient(to bottom, #ff99cc, #9966cc, #003366) !important;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

/* ---- Menu ---- */
header {
    background-color: #f1a7dc;
    padding: 30px;
    text-align: center;
    margin-bottom: 80px;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    background-color: rgba(255, 255, 255, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #c564d8;
    margin-left: 20px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
    padding-right: 10%;
}

nav li {
    margin: 0;
}

nav a {
    text-decoration: none;
    color: #c564d8;
    font-size: 20px;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #d599f1;
}

/* ---- Titre ---- */
.title-box {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    max-width: 900px;
    margin: 130px auto 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.title-box h1 {
    margin: 0;
    font-size: 42px;
}

/* ---- Description ---- */
.description-box {
    max-width: 900px;
    margin: 0 auto 30px;
    background: rgba(255, 182, 219, 0.4);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-weight: 500;
}

/* ---- Infos ---- */
.center-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.info-box {
    background: rgba(255, 182, 219, 0.4);
    color: white;
    padding: 25px;
    border-radius: 15px;
    width: 260px;
    min-height: 130px;
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-weight: 500;
}

/* ---- Compétences ---- */
.skills-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.rectangle-box {
    background: rgba(255, 182, 219, 0.4);
    color: white;
    padding: 25px;
    border-radius: 15px;
    max-width: 400px;
    text-align: center;
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

.rectangle-box h3,
.info-box h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

/* ---- PDF boutons ---- */
.pdf-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 18px;
    background-color: #c564d8;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s, transform 0.2s;
    text-align: center;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background-color: #d599f1;
    transform: scale(1.05);
}

/* ---- Outils ---- */
.tools-section {
    margin-top: 60px;
    text-align: center;
}

.tools-section h2 {
    color: white;
    font-size: 26px;
    margin-bottom: 25px;
}

.tool-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 100px;
}

.tool-card {
    background: rgba(255, 182, 219, 0.4);
    color: white;
    width: 180px;
    height: 180px;
    border-radius: 30px;
    text-align: center;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.tool-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.tool-card:hover {
    transform: scale(1.08);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .title-box h1 {
        font-size: 30px;
    }

    .description-box,
    .rectangle-box,
    .info-box {
        width: 90%;
    }

    .btn {
        width: 85%;
    }

    .center-stats,
    .skills-section {
        flex-direction: column;
        align-items: center;
    }

    .tool-card {
        width: 150px;
        height: 150px;
    }

    .tool-card img {
        width: 50px;
        height: 50px;
    }
}
