/* Style général */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #4b6ef5, #3ad6a7);
}

/* MENU FIXE */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* --- CONTENEUR DEUX COLONNES --- */
.home-wrapper {
    margin-top: 120px;   /* espace sous le menu */
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;     /* responsive */
}

/* --- BLOC TEXTE A GAUCHE --- */
.card-project {
    background: white;
    width: 420px;
    max-width: 90%;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);

    color: #333;
    font-size: 18px;
    line-height: 1.5;
}

/* --- BLOC IMAGE A DROITE --- */
.card-image {
    background: white;
    width: 350px;
    height: 350px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);

    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Container complet du menu */
.menu {
    background-color: #333;
    display: flex;
    align-items: center;      /* ✔ aligne logos + texte EN MÊME HAUTEUR */
    justify-content: space-between;
    padding: 0 20px;
}

/* Logos à gauche */
.logo-group {
    display: flex;
    align-items: center;      /* ✔ alignement vertical parfait */
    gap: 20px;
}

.logo-group img {
    height: 45px;             /* Taille ajustée comme sur ta photo */
    width: auto;
    cursor: pointer;
}

/* Menu UL */
.menu ul {
    display: flex;
    align-items: center;      /* ✔ aligne les boutons avec les logos */
    gap: 20px;
    list-style: none;
}

.menu a {
    color: white;
    font-weight: bold;
    padding: 15px 20px;
    text-decoration: none;
}

.menu li:hover a {
    background-color: #444;
    border-radius: 5px;
}


/* --- Menu masqué lors du scroll --- */
header {
    position: fixed;       /* indispensable pour pouvoir le cacher */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.3s ease; /* animation fluide */
}


/* --- Bouton flèche vers le haut --- */
#scrollTopBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #ffffffdd;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 28px;
}


#scrollTopBtn:hover {
    background: #f2f2f2;
}

