/* --------------------------- STYLES GÉNÉRAUX --------------------------- */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, p {
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* --------------------------- HEADER --------------------------- */
.header {
    background: linear-gradient(90deg, #ff007a, #8500ff);
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    text-transform: uppercase;
    color: #fff;
    display: inline-block;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.nav-buttons a {
    display: inline-block;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-buttons a:hover {
    background-color: #ff4dbf;
    transform: scale(1.1);
}

.contact-btn {
    display: inline-block;
    background-color: #ff007a;
    border: none;
    padding: 10px 20px;
    color: #fff;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.5s ease;
}

.contact-btn:hover {
    background-color: #ff4dbf;
    transform: scale(1.1);
}


/* --------------------------- HERO SECTION --------------------------- */
.hero {
    height: 100vh;
    background: url('../image/background4.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    color: #ff007a;
    font-family: 'Orbitron', sans-serif;
    animation: fadeIn 2s ease;
}

.hero p {
    font-size: 1.5rem;
    margin-top: 10px;
    animation: fadeIn 3s ease;
}


/* --------------------------- SECTIONS --------------------------- */
.section {
    padding: 50px 20px;
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    color: #ff4dbf;
    margin-bottom: 20px;
}


/* --------------------------- GRILLE DE CARTES --------------------------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    padding-bottom: 20px;
}

.card:hover {
    transform: scale(1.05);
}


/* --------------------------- IMAGE DE PROFIL --------------------------- */
.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff007a;
    margin: 20px auto 10px;
    display: block;
}


/* --------------------------- CONTENU DES CARTES --------------------------- */
.card-content {
    padding: 0 15px;
}

.card-content h3 {
    margin: 10px 0;
    color: #ff007a;
}

.card-content p {
    font-size: 0.9rem;
}


/* --------------------------- RÉSEAUX SOCIAUX --------------------------- */
.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    font-size: 1rem;
    background-color: rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    background-color: #ff4dbf;
    color: #fff;
}


/* --------------------------- FOOTER --------------------------- */
footer {
    background: #222;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}


/* --------------------------- ANIMATIONS --------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --------------------------- RESPONSIVE --------------------------- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        margin: 0 auto;
    }

    .nav-buttons {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.9);
        padding: 20px;
        border-radius: 10px;
        text-align: center;
    }

    .nav-buttons.show {
        display: flex;
    }

    .nav-buttons a {
        margin: 10px 0;
        background-color: rgba(255, 255, 255, 0.1);
        padding: 10px 20px;
        border-radius: 30px;
        transition: background-color 0.3s ease;
    }

    .nav-buttons a:hover {
        background-color: #ff4dbf;
    }

    .container {
        padding: 0 10px;
    }

    .nav-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero {
        height: 40vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .profile-img {
        width: 120px;
        height: 120px;
        margin: 15px auto 10px;
    }

    .card-content h3 {
        font-size: 1.2rem;
    }

    .card-content p {
        font-size: 0.8rem;
    }

    .social-links a {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
}
