/* Global styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #2c3e50; /* Dark background */
    color: #ecf0f1; /* Light text color */
}

header {
    background-color: #2980b9; /* Blue header */
    color: white;
    text-align: center;
    padding: 30px 0;
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 1px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Section Styles */
section {
    background-color: #34495e; /* Darker section background */
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 28px;
    color: #ecf0f1;
    font-weight: bold;
    margin-bottom: 20px;
}

/* About Section */
.about-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    margin-right: 20px;
}

.about-photo img {
    flex: 1;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #ecf0f1;
}

/* CV Section */
.cv-section {
    margin-top: 40px;
}

.cv-section h3 {
    font-size: 24px;
    color: #2980b9;
    font-weight: bold;
    margin-bottom: 15px;
}

.cv-section .experience, .cv-section .skills, .cv-section .education, .cv-section .languages {
    background-color: #1c2833; /* Darker background for CV section */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.cv-section h4 {
    font-size: 20px;
    color: #ecf0f1;
    font-weight: bold;
}

.cv-section ul {
    list-style-type: none;
    padding: 0;
}

.cv-section li {
    margin: 8px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #ecf0f1;
}

/* Services Section */
.services ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.services li {
    background-color: #2980b9; /* Blue color for service items */
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.services li:hover {
    background-color: #3498db; /* Lighter blue on hover */
}

/* Camionnette Section */
.camionnette {
    text-align: center;
    margin-top: 20px;
}

.camionnette img {
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.camionnette p {
    font-size: 18px;
    margin-top: 10px;
}

/* Contact Form */
.contact form {
    display: grid;
    gap: 15px;
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
}

.contact input, .contact textarea {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
    color: #333;
}

.contact button {
    background-color: #3498db;
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
}

.contact button:hover {
    background-color: #1abc9c;
}

.contact p {
    font-size: 16px;
    margin: 10px 0;
}

.contact a {
    color: #3498db;
    text-decoration: none;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-photo {
        margin-top: 20px;
    }

    .services ul {
        grid-template-columns: 1fr 1fr;
    }

    .contact form {
        width: 90%;
    }
}
