/* Reset des marges et paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Styles pour le body */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Header */
header {
    background: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    font-size: 2.5em;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    transition: background 0.3s;
}

nav ul li a:hover {
    background-color: rgba(255, 203, 5, 0.7);
    border-radius: 5px;
}

/* Section Héros */
#hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    color: #fff;
    text-align: center;
    z-index: 2;
    padding: 20px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.5);
}

.cta-button {
    background-color: #ffcb05;
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e6b800;
}

.call-now {
    background-color: #ff5722;
}

.call-now:hover {
    background-color: #e64a19;
}

/* Section Services */
#services {
    padding: 60px 20px;
    background: #fff;
}

.service-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-item {
    background: #fffcf8;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 15px;
    flex: 1 1 calc(30% - 20px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.learn-more {
    color: #ff5722;
    text-decoration: none;
    font-weight: bold;
}

.learn-more:hover {
    text-decoration: underline;
}
#testimonials {
    position: relative;
    padding: 60px 20px;
    color: #fff; /* Texte blanc pour toute la section */
    text-align: center;
    overflow: hidden;
    min-height: 400px; /* Hauteur minimale pour que l'image soit visible */
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://i.imgur.com/JBuwhGW.png'); /* Lien de l'image */
    background-size: cover; /* Couvre toute la section */
    background-position: center; /* Centre l'image */
    filter: brightness(0.7); /* Assombrit l'image pour améliorer la lisibilité du texte */
    z-index: -1; /* Place l'image en arrière-plan */
}

.testimonials-content {
    position: relative;
    z-index: 2; /* Assure que le contenu est au-dessus de l'image */
}

.testimonial-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.testimonial-item {
    background: rgba(211,211,211); /* Fond noir semi-transparent */
    border-radius: 8px;
    padding: 20px;
    margin: 10px;
    flex: 1 1 calc(30% - 20px);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    color: #000000; /* Texte noir pour contraster avec le fond sombre */
}

.testimonial-item i {
    color: #ffcb05; /* Couleur des icônes (jaune) */
    font-size: 24px;
}
/* Section FAQ */
#faq {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin: 15px 0;
    text-align: left;
    display: inline-block;
    width: 100%;
}

/* Section Contact */
#contact {
    padding: 60px 20px;
    background: #f4f4f4;
}

.form-group {
    position: relative;
    margin: 15px 0;
}

.form-group i {
    position: absolute;
    top: 15px;
    left: 10px;
    color: #888;
}

form input, form textarea {
    width: calc(100% - 40px);
    padding: 10px 10px 10px 40px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 5px;
}

form input:focus, form textarea:focus {
    border-color: #ffcb05;
    box-shadow: 0 0 5px rgba(255, 203, 5, 0.5);
}

button {
    background-color: #333;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s, transform 0.3s;
}

button:hover {
    background-color: #555;
    transform: translateY(-2px);
}

.map-container {
    margin-top: 20px;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.social-links a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.2em;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #ffcb05;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    .service-item, .testimonial-item {
        flex: 1 1 100%;
    }

    .hero-content {
        padding: 10px;
    }
}