/**
 * Styles pour la page Présentation - MV CREATIVE
 * Layout style journal avec photo flottante
 */

/* Désactiver l'animation du fond uniquement sur cette page */
body {
    animation: none !important;
    background-size: 100% 100% !important;
}

/* ===== CONTENEUR PRINCIPAL ===== */
.presentation-container {
    min-height: calc(100vh - 80px);
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* ===== CARTE DE PRÉSENTATION ===== */
.presentation-card {
    max-width: 900px;
    width: 100%;
    background: rgba(20, 20, 30, 0.8);
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ===== SECTION BIOGRAPHIE ===== */
.bio-section {
    margin-bottom: 40px;
}

.name-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    text-align: center;
}

.subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #888;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 300;
}

/* ===== LAYOUT JOURNAL - PHOTO FLOTTANTE ===== */
.photo-float {
    float: left;
    margin: 5px 30px 15px 0;
    shape-outside: circle(50%);
    shape-margin: 15px;
    transform: translateZ(0); /* Force le GPU rendering pour stabiliser */
    will-change: auto;
}

.photo-container {
    position: relative;
    width: 220px;
    height: 220px;
    transform: translateZ(0); /* Stabilise le conteneur */
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transform: translateZ(0); /* Stabilise l'image */
}

.photo-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 150, 255, 0.2) 0%, transparent 70%);
    z-index: -1;
    /* Animation désactivée pour éviter le mouvement au scroll */
    /* animation: pulse-glow 3s ease-in-out infinite; */
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* ===== TEXTE BIOGRAPHIE ===== */
.bio-content {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #e0e0e0;
    text-align: justify;
    overflow: hidden; /* Clearfix pour le float */
}

.bio-content p {
    margin-bottom: 15px;
    color: #e0e0e0;
}

.bio-content .closing {
    font-style: italic;
    color: #fff;
    font-weight: 400;
    margin-top: 20px;
    clear: left; /* Force ce paragraphe à passer sous la photo */
}

/* ===== SECTION EXPERTISES ===== */
.skills-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.skills-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.skill-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    line-height: 1;
}

.skill-name {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #ddd;
    text-align: center;
}

/* ===== SECTION LINKEDIN ===== */
.linkedin-section {
    margin-top: 40px;
    text-align: center;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 119, 181, 0.3);
}

.linkedin-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 119, 181, 0.5);
    color: #fff;
}

.linkedin-link i {
    font-size: 1.4rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .presentation-card {
        padding: 30px 20px;
    }
    
    .name-title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    /* Sur mobile, photo au-dessus du texte */
    .photo-float {
        float: none;
        display: flex;
        justify-content: center;
        margin: 0 0 25px 0;
    }
    
    .photo-container {
        width: 180px;
        height: 180px;
    }
    
    .bio-content {
        text-align: left;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .skill-item {
        padding: 15px 10px;
    }
    
    .skill-icon {
        font-size: 1.6rem;
    }
    
    .skill-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .linkedin-link {
        padding: 12px 25px;
        font-size: 1rem;
    }
}
