/* 
 * STYLES POUR LA SECTION PRÉSENTATION
 * Layout en deux colonnes avec image et contenu textuel
 * Auteur: Manley.B
 */

/* ==================== SECTION PRÉSENTATION ==================== */
/* Configuration en flexbox pour layout image + texte */

#presentation {
    user-select: none;
    background: linear-gradient(to right, #00000000, #CFDBD5, #00000000);
    margin-left: auto;
    margin-right: auto;
    min-height: 40%;
    margin-bottom: 8.5em;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0 8vw;
    gap: 3em;
    text-align: center;
    box-sizing: border-box;
}

/* ==================== CONTENU TEXTUEL ==================== */
/* Styles pour le texte de présentation et le bouton CV */

.presentation-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: 300px;
}

#presentation h2 {
  user-select: none;
    font-size: 2.5em;
    color: #333533;
    margin-bottom: 0.5em;
    position: static;
}

#presentation p {
    font-size: 1.3em;
    color: #666b68;
    margin: 0 0 1.5em 0;
    text-align: center;
    max-width: 35em;
}

/* ==================== IMAGE DE PROFIL ==================== */
/* Styles pour la photo de profil avec effets */

#presentation img {
  user-select: none;
    flex: 0 0 auto;
    max-width: 320px;
    width: 10%;
    height: auto;
    border-radius: 50%;
    display: block;
}

/* ==================== BOUTON CV ==================== */
/* Style spécifique pour le bouton de téléchargement du CV */

.btn-CV {
    padding: 1em 2em;
    font-size: 1.1em;
    background: rgba(40, 40, 40, 0.9);
    color: #F5CB5C;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.btn-CV:hover {
    background: #F5CB5C;
    color: #1a1a1a;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(245, 203, 92, 0.4);
}

/* ==================== STYLES RESPONSIVES ==================== */
/* Adaptations pour tablettes et mobile avec réorganisation du layout */

@media (max-width: 57vh) {
  #presentation {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2em;
    padding: -2em 2vw;
    min-height: 50vh;
  }
  .presentation-content {
    align-items: center;
    text-align: center;
    min-height: 600px;
    height: 600px;
  }
  #presentation img {
    min-width: 0vh;
    width: 0px;
  }
  #presentation h2 {
    font-size: 5em;
  }

  #presentation p {
      font-size: 3em;

  }
  .btn-CV {
    font-size: 2.7em;
    padding: 0.5em 1em;
    margin-left: 0em;
  }
}
