/* Général */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
}

header {
    position: relative;
    width: 100%;
    height: 300px;
    background-image: url('images/header.jpg');
    background-size: cover;
    background-position: center;
}

.header-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

header h1 {
    color: white;
    font-size: 36px;
    text-align: center;
    z-index: 2;
}

.phone-number {
    color: white;
    font-size: 24px;
    margin-top: 10px;
    text-align: center;
}

nav {
    background-color: #004d40;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

section.content {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.text-box {
    width: 60%;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.text-box h2 {
    margin-bottom: 10px;
}

.text-box p {
    line-height: 1.6;
}

.image-box {
    width: 30%;
    padding: 10px;
}

.image-box img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        height: 250px;
    }

    .header-image .overlay {
        background: rgba(0, 0, 0, 0.5);
    }

    header h1 {
        font-size: 28px;
    }

    .phone-number {
        font-size: 18px;
    }

    section.content {
        flex-direction: column;
        align-items: center;
    }

    .text-box {
        width: 90%;
        margin-bottom: 20px;
    }

    .image-box {
        width: 90%;
        padding: 0;
    }

    .image-box img {
        width: 100%;
        height: 100%; /* Force les images à être carrées en mode responsive */
        object-fit: cover; /* Ajuste l'image pour qu'elle couvre l'espace */
        border-radius: 10px; /* Donne un léger arrondi */
    }
}
