/* Palette de couleurs */
:root {
    --bg-color: #121212;
    --text-color: #E0E0E0;
    --accent-color: #FF4081;
}

/* Corps du site */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

/* En-tête */
header {
    background-color: #1E1E1E;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--accent-color);
}

/* Section Héro */
#hero {
    text-align: center;
    padding: 100px 20px;
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    color: #fff;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Projets UX */
#projets-ux {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px 20px;
}

.projet {
    background-color: #1E1E1E;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.projet:hover {
    transform: translateY(-10px);
}

.projet img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid var(--accent-color);
}

.projet h3 {
    margin: 15px;
    font-size: 1.5rem;
}

.projet p {
    margin: 0 15px 15px;
    font-size: 1rem;
}

/* Mini Bio */
#apropos-accueil {
    background-color: #1E1E1E;
    padding: 50px 20px;
    text-align: center;
}

#apropos-accueil h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

#apropos-accueil p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

#disclaimer {
    background-color: #FF4081; /* couleur vive pour attirer l’attention */
    color: #fff;
    text-align: center;
    padding: 15px 20px;
    font-weight: bold;
    font-size: 1.1rem;
    position: fixed; /* reste visible même en scroll */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

#disclaimer button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    margin-left: 20px;
    cursor: pointer;
}


body {
    padding-top: 60px; /* pour que le contenu ne soit pas caché sous le disclaimer */
}


@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1.2rem;
    }

    .projet h3 {
        font-size: 1.2rem;
    }

    .projet p {
        font-size: 0.9rem;
    }
}
