/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #118499;
    color: white;
    line-height: 1.6;
    text-align: center; /* Centre tout le texte */
}

/* Header Styles */
header {
    background-color: #000000;
    padding: 10px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center; /* Centre le contenu de la div */
}

.logo {
    font-size: 1.5em;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 auto;
}

nav ul {
    list-style: none;
    display: inline-flex; /* Change de flex à inline-flex pour centrer le menu */
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2em;
}

nav a:hover {
    color: #7b51b9;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 400px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #7b51b9;
    padding: 10px 20px;
    border-radius: 5px;
}

.btn-devis {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}

/* Content Section */
.content {
    padding: 50px 0;
    text-align: center;
}

.column-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.column {
    width: 45%;
    margin: 0 auto;
    border: 2px solid black;
    padding: 20px;
    display: inline-block;
    text-align: center;
}

.column h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

/* Services Section */
.services {
    padding: 50px 0;
    text-align: center;
}

.services h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centre les éléments */
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    background-color: #000000;
    color: white;
    width: 30%;
    margin: 10px;
    padding: 20px;
    border-radius: 5px;
    text-align: center; /* Centre le texte */
}

.service-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #000000;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

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

    .service-item {
        width: 100%;
    }
}