/* ✅ Réinitialisation des styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* ✅ Style général */
body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* ✅ Navigation */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

/* ✅ Page active */
nav ul li a.active {
    background-color: transparent;
    border-bottom: 3px solid #ffcc00;
    color: #ffcc00;
    font-weight: bold;
}

/* ✅ Effet au survol */
nav ul li a:hover {
    color: #ffcc00;
}

/* ✅ Section Présentation */
.presentation {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    color: #333;
    max-width: 900px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.presentation h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #003366;
}

.presentation p {
    font-size: 18px;
    line-height: 1.6;
}

/* ✅ Section Hero (Image principale) */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: url('images/image_realisation_4.jpg') no-repeat center center/cover;
    color: white;
    position: relative;
}

.hero h2 {
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero button {
    padding: 15px 30px;
    background-color: #ffcc00;
    color: #003366;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

.hero button:hover {
    background-color: #ffa500;
}

/* ✅ Section Services */
.services {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 50px 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    width: 30%;
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.service-item:hover {
    transform: scale(1.05);
}

.service-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.service-item p {
    margin-top: 15px;
    font-size: 18px;
    color: #333;
}

/* ✅ Section Nos Réalisations */
.realisations-cta {
    text-align: center;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.realisations-cta p {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}

.cta-button:hover {
    background-color: #ffcc00;
    color: #003366;
}

/* ✅ Pied de page */
footer {
    text-align: center;
    background-color: #003366;
    color: white;
    padding: 15px;
    margin-top: 30px;
}

/* ✅ Responsive Design */
@media (max-width: 992px) {
    .services {
        flex-direction: column;
        align-items: center;
    }

    .service-item {
        width: 80%;
    }

    .hero h2 {
        font-size: 2em;
    }
}

@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .hero h2 {
        font-size: 1.8em;
    }

    .service-item {
        width: 100%;
    }
}

/* ✅ Uniformisation du Header */
header {
    padding: 10px 0 !important;
}
