/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body, a, button, input, textarea, select, label, category-btn{
    cursor: none; /* Masque le curseur sur tous les éléments interactifs */
}
/* Body */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #1e1e2f;
    color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
    cursor:none;
}

#custom-cursor {
    position: absolute;
    width: 10px; /* Taille du point */
    height: 10px;
    background-color: yellow; /* Couleur du point */
    border-radius: 50%; /* Rond parfait */
    pointer-events: none; /* Désactive toute interaction avec le curseur personnalisé */
    z-index: 9999; /* Toujours au-dessus de tout */
    transition: transform 0.1s ease-in-out; /* Optionnel : pour un effet plus fluide */
}

/* Header */
header {
    background: linear-gradient(135deg, #4B0082, #4B0082);
    color: white;
    padding: 10px 0; /* Réduit le padding */
    text-align: center;
    position: relative;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 0; /* Enlève les marges sous le header */
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 0; /* Enlève les marges sous le header */
}

.header-title {
    font-size: 2.5em;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    animation: slideInDown 1s ease-in-out;
    margin-bottom: 0; /* Enlève les marges sous le header */
}

@keyframes slideInDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Conteneur pour le logo et le titre */
.header-container {
    display: flex;
    justify-content: center; /* Centrer l'ensemble du contenu */
    align-items: center; /* Aligner le logo avec le texte sur l'axe vertical */
    gap: 20px; /* Espacement entre le logo et le texte */
}

header h1 {
    margin: 0;
    font-size: 2em;
}

/* Styles pour la vignette du logo */
.team-logo {
    width: 60px; /* Taille du logo */
    height: 60px;
    border-radius: 50%; /* Vignette ronde */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ajoute une ombre subtile */
}

/* Navigation */
nav ul {
    list-style-type: none;
    margin: 20px 0;
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none; /* Enlève le soulignement */
}

nav ul li a:hover {
    background-color: #56089f;
    transform: translateY(-3px);
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

/* Main Content */
main {
    padding: 20px 20px; /* Réduit l'espacement en haut et en bas */
    min-height: calc(100vh - 120px); /* Ajustement pour prendre moins d'espace vertical */
}

.section {
    opacity: 0;
    display:none;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    padding: 0 20px; /* Réduction des marges en haut et en bas */
    margin: 0; /* Suppression de toutes les marges */
}


.section.active {
    opacity: 1;
    transform: translateY(0);
    display:block;
    position: relative;
    padding: 0 20px; /* Réduction des marges en haut et en bas */
    margin: 0; /* Suppression de toutes les marges */
}


/* Section Titles */
h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    position: relative;
    color: #ffcc00;
}

h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #ffcc00;
    display: block;
    margin: 10px auto;
}
.category-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px; /* Espacement entre les icônes et les membres */
}

.category-btn {
    background-color: #4B0082; /* Couleur du bouton */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    margin: 0 10px; /* Espace entre les boutons */
    cursor: none;
    transition: background-color 0.3s;
}

.category-btn:hover {
    background-color: #3a006c; /* Couleur au survol */
}

/* Member Cards */
.member {
    background-color: #282850;
    padding: 20px;
    border-radius: 10px;
    margin: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.member:hover {
    transform: scale(1.1);
}

.member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* Performances */
.performance {
    background-color: #282850;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.performance:hover {
    transform: scale(1.05);
}

/* Contact Form */
form {
    background-color: #282850;
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5);
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

input, textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #3a3a5d;
    color: white;
}

button {
    background-color: #ffcc00;
    color: #282850;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #ffb800;
    transform: scale(1.1);
}

footer {
    background-color: #1a1a2d;
    color: white;
    padding: 10px; /* Réduit l'espacement en haut et en bas */
    text-align: center;
    margin-top: 0; /* Enlève l'espacement avant le footer */
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Keyframes for smoother transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Media Queries pour rendre le site responsive --- */

/* Large Screens - Desktops */
@media (min-width: 1200px) {
    .header-title {
        font-size: 3em;
    }

    nav ul li a {
        font-size: 1.2em;
        padding: 12px 24px;
    }

    .team-logo {
        width: 80px;
        height: 80px;
    }

    .member img {
        width: 200px;
        height: 200px;
    }

    h2 {
        font-size: 3em;
    }
}

/* Medium Screens - Tablets */
@media (min-width: 768px) and (max-width: 1199px) {
    .header-title {
        font-size: 2em;
    }

    nav ul li a {
        font-size: 1em;
        padding: 10px 20px;
    }

    .team-logo {
        width: 60px;
        height: 60px;
    }

    .category-btn {
        padding: 8px 16px;
    }

    .member img {
        width: 150px;
        height: 150px;
    }

    .member {
        margin: 15px;
    }
}

/* Small Screens - Mobile */
@media (max-width: 767px) {
    .header-title {
        font-size: 1.5em;
    }

    nav ul li a {
        display: block;
        margin: 10px 0;
        text-align: center;
        font-size: 0.9em;
    }

    .team-logo {
        width: 50px;
        height: 50px;
    }

    .category-btn {
        width: 100%;
        margin: 10px 0;
        padding: 10px;
    }

    .member {
        margin: 10px 0;
    }

    .member img {
        width: 120px;
        height: 120px;
    }

    h2 {
        font-size: 2em;
    }
}
