
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}


.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}


.navbar {
    background: #2c3e50;
    color: #fff;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.logo span {
    color: #3498db;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}


.main-header {
    background: #34495e;
    color: #fff;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.main-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}


.header-buttons {
    display: flex;
    gap: 15px; /* Espace entre les deux boutons */
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Permet de passer à la ligne sur petit écran */
}

.cta-button {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.cta-button:hover {
    background: #2980b9;
}


.linkedin-btn {
    background: #0077b5; /* Couleur officielle de LinkedIn */
}

.linkedin-btn:hover {
    background: #005582; /* Bleu LinkedIn plus foncé au survol */
}


.intro, .portfolio-section, .cv-section {
    padding: 60px 0;
}

.bg-light {
    background-color: #eef2f5;
}

.section-title, .intro h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.intro p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}


.row {
    display: flex;
    justify-content: space-between;
    gap: 20px; 
    flex-wrap: wrap; 
}

.card {
    flex: 1; 
    min-width: 280px; 
    background: #fff;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
}

.card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.project-card {
    text-align: left;
    padding: 30px;
    border-left: 4px solid #3498db;
}

.project-card p {
    margin-bottom: 10px;
}


.card-img {
    width: 100%;           /* L'image prend toute la largeur de la carte */
    height: auto;          /* Garde les proportions de l'image */
    border-radius: 5px;    /* Arrondit légèrement les angles de l'image */
    margin-bottom: 15px;   /* Ajoute un espace entre l'image et le titre */
    border: 1px solid #eee; /* Petite bordure légère autour de l'image */
}


footer {
    background-color: #2c3e50; /* Même bleu foncé que ta barre de navigation */
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 3px solid #3498db; /* Petite ligne bleue claire pour le style */
}

footer p {
    margin-bottom: 5px;
}