/* Style général de la page */
body {
    font-family: Arial, sans-serif; /* Police simple et lisible */
    margin: 0;
    padding: 0;
    color: #4B3F31; /* Texte marron foncé */
    background-color: #f9f6eb; /* Fond beige doux */
    text-align: center; /* Centrer le contenu */
}

/* Conteneur principal */
.container {
    max-width: 1200px;
    margin: auto; /* Centrer le contenu */
    padding: 10px; /* Un peu de padding autour */
}

/* Portfolio */
.portfolio-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Espacement entre les sections */
    gap: 20px;
}

/* Section de gauche */
.portfolio-left {
    width: 48%; /* Largeur réduite pour un effet de deux colonnes */
    text-align: left; /* Aligner le texte à gauche */
}

/* Section de droite */
.portfolio-right {
    width: 48%; /* Largeur réduite pour une disposition en deux colonnes */
    text-align: left; /* Aligner le texte à gauche */
}

/* Réorganisation des colonnes sur petits écrans */
@media (max-width: 768px) {
    .portfolio-left, .portfolio-right {
        width: 100%; /* Les colonnes prennent toute la largeur sur les petits écrans */
    }
}

/* Header */
header {
    background: linear-gradient(135deg, #6E4C3B, #D1B49A, #E1C6A6); /* Dégradé chaud */
    color: white; /* Texte en blanc */
    padding: 5px;
}

/* Conteneur du header */
.container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrer le contenu */
}

/* Image de profil */
.profile-pic {
    width: 168px;
    height: 149px;
    border-radius: 50%; /* Image ronde */
    margin-right: 20px;
    border: 5px solid #D1B49A; /* Bordure dorée */
    box-shadow: 0 4px 12px rgba(139, 104, 56, 0.3); /* Ombre légère */
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease; /* Transition fluide */
}

.profile-pic:hover {
    transform: rotate(10deg) scale(1.1); /* Animation au survol */
    box-shadow: 0 10px 25px rgba(139, 104, 56, 0.6); /* Ombre plus marquée */
    filter: brightness(1.1); /* Luminosité augmentée */
}

/* Titre du header */
header h1 {
    font-size: 2.5em; /* Titre grand et visible */
}

/* Navigation */
nav ul {
    display: flex;
    justify-content: center; /* Centrer les éléments du menu */
    padding: 0;
    margin: 20px 0;
    list-style: none; /* Enlever les puces */
}

nav ul li {
    margin: 0 15px; /* Espacement entre les liens */
}

nav ul li a {
    color: white;
    text-decoration: none; /* Pas de soulignement */
    font-weight: bold; /* Texte en gras */
    padding: 12px 25px;
    background-color: #9A7B5B; /* Fond doré-beige */
    border-radius: 12px; /* Coins arrondis */
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre légère */
}

nav ul li a:hover {
    background-color: #6E4C3B; /* Fond marron au survol */
    transform: scale(1.1); /* Agrandissement au survol */
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.15); /* Ombre plus forte */
}

nav ul li a:active {
    transform: translateY(2px); /* Effet au clic */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre légère */
}

/* Sections */
section {
    text-align: center;
    margin: 20px auto;
    padding: 15px;
    background-color: white; /* Fond blanc pour bien séparer les sections */
    border-radius: 5px; /* Coins arrondis */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Ombre discrète */
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

/* Formulaire */
form {
    max-width: 500px;
    margin: 30px auto;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Champs de saisie */
form input, form textarea {
    width: 90%;
    padding: 18px;
    margin-bottom: 15px; /* Espacement entre les champs */
    border: 1px solid #D1B49A;
    border-radius: 5px;
    font-size: 1em;
}

/* Focus sur les champs */
form input:focus, form textarea:focus {
    border-color: #6E4C3B; /* Bordure marron au focus */
    outline: none;
}

/* Bouton de soumission */
form input[type="submit"] {
    background-color: #6E4C3B; /* Fond marron */
    color: white;
    padding: 15px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

/* Survol du bouton */
form input[type="submit"]:hover {
    background-color: #9A7B5B; /* Fond beige doré */
}

/* Effet au survol des sections */
section:hover {
    transform: scale(1.02); /* Agrandissement léger */
    transition: transform 0.3s ease;
}

/* Titres dans les sections */
section h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

/* Liste dans les sections */
section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

section ul li {
    margin: 8px 0;
}

/* Compétences */
section .skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centrer les icônes */
}

section .skills-list img {
    width: 40px;
    height: 40px;
    margin: 10px; /* Espacement entre les icônes */
}

/* Page de réponse */
.response-container {
    background: #fff;
    border-radius: 8px;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.response-container h2, .comment h3 {
    color: #6E4C3B; /* Titre en marron */
}

.response-container p, .comment .opinion {
    color: #4B3F31; /* Texte marron foncé */
    line-height: 1.6; /* Espacement entre les lignes */
}

.comment {
    margin-top: 20px;
    background: #F9F9F9; /* Fond clair pour la section de commentaire */
    padding: 15px;
    border-radius: 5px;
}

/* Bouton de retour */
.back-button {
    background: #6E4C3B;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.back-button:hover {
    background: #9A7B5B;
}

/* Footer */
footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #bc8e76; /* Fond marron du footer */
    color: white;
    font-size: 1rem;
    padding: 15px 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

footer p {
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Alignement des sections principales */
.main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Colonne gauche */
.left-column {
    width: 27%;
    text-align: left;
}

/* Colonne centrale */
.center-column {
    width: 65%;
    text-align: left;
}
