/* Styles pour l'image de profil de l'artisan */
.artisan-profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artisan-profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.artisan-image-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artisan-image-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.artisan-image-placeholder i {
    font-size: 80px;
    color: white;
    opacity: 0.9;
}

.artisan-avatar {
    position: relative;
}

/* En-tête du profil */
.artisan-header-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.artisan-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="1000,100 1000,0 0,100"/></svg>');
    background-size: cover;
}

.artisan-info {
    position: relative;
    z-index: 2;
}

.artisan-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.artisan-location {
    font-size: 1.1rem;
}

.artisan-bio {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
}

/* Statistiques */
.artisan-stats .stat-item {
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.artisan-stats .stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Actions et liens sociaux */
.artisan-actions {
    position: relative;
    z-index: 2;
}

.social-links .section-title {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link.facebook {
    background: #3b5998;
    color: white;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.social-link.website {
    background: #667eea;
    color: white;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Badge de catégorie */
.category-badge .badge {
    font-size: 0.8rem;
    padding: 8px 15px;
    border-radius: 20px;
}

/* Navigation interne */
.profile-nav-section {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.profile-nav .nav-link {
    padding: 12px 25px;
    border-radius: 25px;
    margin: 0 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.profile-nav .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.profile-nav .nav-link:not(.active) {
    color: #6c757d;
}

.profile-nav .nav-link:not(.active):hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .artisan-profile-image {
        width: 150px;
        height: 150px;
    }
    
    .artisan-image-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .artisan-image-placeholder i {
        font-size: 60px;
    }
    
    .artisan-name {
        font-size: 2rem;
        text-align: center;
    }
    
    .artisan-info {
        text-align: center;
    }
    
    .artisan-actions {
        margin-top: 2rem;
    }
    
    .profile-nav .nav-link {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .artisan-profile-image {
        width: 120px;
        height: 120px;
    }
    
    .artisan-image-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .artisan-image-placeholder i {
        font-size: 50px;
    }
    
    .artisan-name {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}