/* 
 * Styles spécifiques à la page des cartes de Seynor Coaching
 */

/* Hero Section */
.maps-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/bind.webp') no-repeat center center;
    background-size: cover;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.maps-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;
}

.maps-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.maps-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);
}

.maps-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Filtres des cartes */
.maps-filters {
    padding: 30px 0;
    background-color: var(--secondary-color);
}

.maps-filters-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.map-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;
}

.map-filter-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.map-filter-button.active {
    background-color: var(--primary-color);
    color: #fff;
}

/* Grille des cartes */
.maps-grid {
    padding: 80px 0;
    background-color: var(--background-color);
}

.maps-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.map-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;
}

.map-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.map-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.map-card:hover .map-image {
    transform: scale(1.05);
}

.map-info {
    padding: 20px;
}

.map-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.map-description {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.5;
}

.map-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.map-detail {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.map-detail i {
    margin-right: 5px;
    color: var(--primary-color);
}

.map-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;
}

.map-button:hover {
    background-color: #e63e4c;
}

/* Modal de détail de carte */
.map-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;
}

.map-modal.active {
    opacity: 1;
    visibility: visible;
}

.map-modal-content {
    background-color: var(--secondary-color);
    border-radius: 10px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.map-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;
}

.map-modal-close:hover {
    background-color: var(--primary-color);
}

.map-modal-close i {
    color: #fff;
    font-size: 1.2rem;
}

.map-detail-container {
    display: flex;
    flex-direction: column;
}

.map-detail-header {
    padding: 30px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), var(--map-image) no-repeat center center;
    background-size: cover;
    position: relative;
}

.map-detail-header::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;
}

.map-detail-header-content {
    position: relative;
    z-index: 2;
}

.map-detail-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.map-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.map-detail-meta-item {
    display: flex;
    align-items: center;
    color: var(--accent-color);
    font-size: 1rem;
}

.map-detail-meta-item i {
    margin-right: 8px;
    color: var(--primary-color);
}

.map-detail-description {
    color: #fff;
    font-size: 1.1rem;
    max-width: 800px;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.map-detail-content {
    padding: 30px;
}

.map-detail-section {
    margin-bottom: 30px;
}

.map-detail-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.map-detail-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.map-layout {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.map-layout img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.map-callouts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.map-callout {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
}

.map-callout-number {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.map-callout-name {
    font-weight: 600;
    color: var(--text-color);
}

.map-strategies {
    margin-bottom: 30px;
}

.map-strategy {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.map-strategy-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.map-strategy-title i {
    margin-right: 10px;
}

.map-strategy-description {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.map-strategy-tips {
    margin-top: 15px;
}

.map-strategy-tips-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.map-strategy-tips-list {
    list-style: none;
}

.map-strategy-tips-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
}

.map-strategy-tips-list li::before {
    content: '\f0eb';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.map-agents {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.map-agent {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
}

.map-agent-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.map-agent-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-agent-info {
    flex: 1;
}

.map-agent-name {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-color);
}

.map-agent-reason {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .maps-hero-title {
        font-size: 2.5rem;
    }
    
    .maps-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .maps-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .map-detail-name {
        font-size: 2rem;
    }
    
    .map-detail-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .map-callouts {
        grid-template-columns: 1fr;
    }
    
    .map-agents {
        grid-template-columns: 1fr;
    }
}
