/* --- Global --- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

/* --- Header --- */
header {
    position: relative;
    background: linear-gradient(135deg, #8a2be2, #1e90ff);
    text-align: center;
    padding: 200px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header img {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: contain;
}

/* --- Bouton menu 3 points --- */
.menu-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 30px;
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-button span {
    display: block;
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
}

/* --- Menu latéral plein écran --- */
.side-menu {
    position: fixed; /* fixe sur tout l’écran */
    top: 0;
    right: -250px; /* caché par défaut */
    width: 250px;
    height: 100vh; /* toute la hauteur */
    background-color: #333;
    color: white;
    transition: right 0.3s ease;
    z-index: 1000;
    padding-top: 60px; /* espace pour le bouton */
}

.side-menu.active {
    right: 0; /* apparaît à droite */
}

.side-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.side-menu ul li {
    padding: 15px 20px;
    border-bottom: 1px solid #444;
}

.side-menu ul li a {
    color: white;
    text-decoration: none;
    display: block;
    font-weight: bold;
    font-size: 20px;       /* texte plus gros */
    padding: 20px 25px;    /* plus d’espace autour du texte */
    border-radius: 10px;   /* bord arrondi */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.side-menu ul li a:hover {
    background-color: #555;
    transform: scale(1.05); /* léger effet zoom au survol */
}

/* --- Hero --- */
.hero {
    padding: 60px 20px;
    text-align: center;
    background-color: #e0e0e0;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* --- Features --- */
.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 20px;
}

.feature {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 300px;
    text-align: center;
}

.feature h3 {
    margin-bottom: 15px;
    color: #1e90ff;
}

.feature p {
    color: #555;
}

/* --- Footer --- */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}
