/* 
 * Styles spécifiques à la page des agents de Seynor Coaching
 */

/* Hero Section */
.agents-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../../images/maps/splash/fracture.webp') no-repeat center center;
    background-size: cover;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.agents-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 0, 85, 0.3), rgba(0, 56, 168, 0.3));
    z-index: 1;
}

.agents-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.agents-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.agents-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Filtres des agents */
.agents-filters {
    padding: 30px 0;
    background-color: var(--secondary-color);
}

.filters-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.filter-button {
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 5px;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.filter-button.active {
    background-color: var(--primary-color);
    color: #fff;
}

.filter-button img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

.search-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.search-input {
    padding: 10px 15px;
    width: 100%;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Grille des agents */
.agents-grid {
    padding: 80px 0;
    background-color: var(--background-color);
}

.agents-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.agent-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.agent-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.agent-image-container {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.agent-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.agent-card:hover .agent-image {
    transform: scale(1.05);
}

.agent-role {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.agent-role img {
    width: 20px;
    height: 20px;
}

.agent-info {
    padding: 20px;
    text-align: center;
}

.agent-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.agent-role-name {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.agent-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.agent-button:hover {
    background-color: #e63e4c;
}

/* Modal de détail d'agent */
.agent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.agent-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--secondary-color);
    border-radius: 10px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: var(--primary-color);
}

.modal-close i {
    color: #fff;
    font-size: 1.2rem;
}

.agent-detail {
    display: flex;
    flex-wrap: wrap;
}

.agent-detail-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.agent-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-detail-info {
    flex: 2;
    min-width: 300px;
    padding: 30px;
}

.agent-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.agent-detail-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-right: 15px;
    color: var(--primary-color);
}

.agent-detail-role {
    display: flex;
    align-items: center;
}

.agent-detail-role img {
    width: 25px;
    height: 25px;
    margin-right: 10px;
}

.agent-detail-role span {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.agent-detail-description {
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--text-color);
}

.agent-abilities {
    margin-bottom: 30px;
}

.agent-abilities h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.abilities-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ability-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    width: calc(50% - 10px);
    min-width: 250px;
}

.ability-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.ability-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.ability-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ability-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}

.ability-description {
    color: var(--text-secondary);
    line-height: 1.5;
}

.agent-tips {
    margin-bottom: 30px;
}

.agent-tips h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.tips-list {
    list-style: none;
}

.tips-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--text-color);
    line-height: 1.5;
}

.tips-list li::before {
    content: '\f0eb';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.agent-maps {
    margin-bottom: 30px;
}

.agent-maps h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.maps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.map-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.map-item i {
    margin-right: 10px;
    color: var(--primary-color);
}

.agent-counters {
    margin-bottom: 30px;
}

.agent-counters h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.counters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.counter-item {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px;
    width: calc(50% - 10px);
    min-width: 250px;
}

.counter-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.counter-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.counter-info {
    flex: 1;
}

.counter-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-color);
}

.counter-reason {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .agents-hero-title {
        font-size: 2.5rem;
    }
    
    .agents-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .agent-detail-name {
        font-size: 2rem;
    }
    
    .ability-card,
    .counter-item {
        width: 100%;
    }
}
