/**
 * Styles pour le frontend - Affichage des membres de l'équipe
 */

.atlantic-team-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Boutons de navigation */
.atlantic-team-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    /*border-bottom: 2px solid #e0e0e0;*/
    justify-content: center;
}

.atlantic-team-tab {
    background: #fff;
    border: 2px solid #ffd700;
    padding: 15px 30px;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-right: 5px;
    color: #333;
}

.atlantic-team-tab:hover {
    background: #fff9e6;
}

.atlantic-team-tab.active {
    background: #fff;
    border-color: #ffd700;
    color: #0066cc;
    z-index: 10;
    margin-bottom: -2px;
}

/* Contenu des membres */
.atlantic-team-content {
    position: relative;
    min-height: 200px;
}

.atlantic-team-members {
    display: none !important;
    animation: fadeIn 0.3s ease;
}

.atlantic-team-members.active {
    display: block !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grille des membres - Flex avec 3 colonnes par défaut */
.atlantic-team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
    justify-content: center;
}

/* Carte membre */
.atlantic-team-member {
    background: #fff;
    border: 1px solid #0066cc;
    padding: 20px;
    text-align: center;
    flex: 0 0 calc(33.333% - 20px);
    box-sizing: border-box;
   /* transition: transform 0.3s ease, box-shadow 0.3s ease;*/
}

.atlantic-team-member-photo {
    margin-bottom: 15px;
}

.atlantic-team-member-photo img {
    width: 100%;
    max-width: 150px;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
}

.atlantic-team-member-info {
    text-align: center;
}

.atlantic-team-member-name {
    color: #0066cc;
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.atlantic-team-member-role {
    font-size: 14px;
    margin: 5px 0 0 0;
    padding-bottom: 0;
    font-family: "Roboto Condensed" !important;
    font-weight: 300;
}

.atlantic-team-member-role strong {
    color: #103c86;
    font-weight: bold;
}

.atlantic-team-member-poste {
    color: #103c86;
    font-size: 13px;
    margin: 0;
    font-style: italic;
    font-weight: bold;
}

.atlantic-team-no-members {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

/* Responsive */
/* De 1024px à 600px : 2 colonnes */
@media (max-width: 1024px) {
    .atlantic-team-member {
        flex: 0 0 calc(50% - 15px);
    }
}

/* En dessous de 600px : 1 colonne */
@media (max-width: 600px) {
    .atlantic-team-tabs {
        flex-direction: column;
    }
    
    .atlantic-team-tab {
        width: 100%;
        margin-right: 0;
        margin-bottom: 5px;
        border-bottom: 2px solid #ffd700;
    }
    
    .atlantic-team-tab.active {
        margin-bottom: 5px;
        border-bottom-color: #ffd700;
    }
    
    .atlantic-team-member {
        flex: 0 0 100%;
    }
    
    .atlantic-team-grid {
        gap: 20px;
    }
}

