/* Theme Name: Mapirando
Theme URI: https://mapirando.fr
Author: Votre Nom
Description: Thème de randonnée inspiré d'AllTrails (Child Theme)
Template: blocksy
Version: 2.1
License: GPL v2 or later
Text Domain: mapirando
*/

/* =========================================
   STYLES SPÉCIFIQUES PAGE PROFIL UNIQUEMENT
   ========================================= */

/* Hero Profile avec image de couverture */
.mapi-hero-profile {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Conteneur pour faire chevaucher le header card */
.mapi-overlap-container {
    max-width: 1200px;
    margin: -80px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Carte d'en-tête du profil */
.mapi-head-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

/* Ligne d'identité (avatar + infos) */
.mapi-id-row {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Avatar */
.avatar-wrapper {
    flex-shrink: 0;
}

.mapi-av-big {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Bloc d'informations utilisateur */
.user-info-block {
    flex: 1;
    min-width: 200px;
}

.mapi-u-name {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px 0;
}

.mh-stats-col {
    display: flex;
    gap: 20px;
    align-items: center;
}

.mh-stats-col span {
    padding: 8px 16px;
    background: #10b981;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Wrapper général de la page profil */
.mapi-page-wrap {
    background: #f9fafb;
    min-height: calc(100vh - 200px);
    padding-bottom: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .mapi-hero-profile {
        height: 200px;
    }
    
    .mapi-overlap-container {
        margin-top: -60px;
    }
    
    .mapi-head-card {
        padding: 20px;
    }
    
    .mapi-id-row {
        flex-direction: column;
        text-align: center;
    }
    
    .mapi-u-name {
        font-size: 1.5rem;
    }
    
    .mh-stats-col {
        justify-content: center;
    }
}