/* Styles de base */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #ffffff;
}



/* Navigation */
/* header{
    position: fixed;

} */

nav {
    background: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff6347;
}

/* Section Accueil */
#accueil p {
    max-width: 950px;       /* Limite la largeur du paragraphe */
    margin: 0 auto;         /* Centre le paragraphe horizontalement */
    text-align: justify;    /* Justifie le texte */
    padding: 0 15px;        /* Ajoute un espacement interne pour éviter que le texte ne touche les bords */
}
.highlight {
    color: rgb(238, 32, 221);
    font-weight: bold;
}

/* Section Hero */
.hero-section {
    background: url('images/hero-background.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay sombre pour améliorer la lisibilité */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #ff6347;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background 0.3s ease;
    animation: fadeInUp 1.5s ease-out;
}

.cta-button:hover {
    background: #e5533d;
}
/* Sections */



section {
    padding: 60px 20px;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    width: 50px;
    height: 5px;
    background: #ff6347;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Section Services */
#services {
    padding: 60px 20px;
    background-color: #000000;
    text-align: center;
}

#services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

#services h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #ff6347;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

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

.service {
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 300px;
    text-align: left;
}

.service img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service h3 {
    font-size: 1.5rem;
    margin: 15px;
    color: #000000;
}

.service p {
    padding: 0 15px 15px;
    color: #666;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#services h1, h2, h3, h4, h5, h6 {
    text-align: center;
}

#services p {
    text-align: justify;
}



/* Section Avantages */
#avantages {
    padding: 60px 20px;
    background-color: #000000;
    text-align: center;
}

#avantages h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

#avantages h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #ff6347;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}


#avantages ul li {
    background: #fff;
    color : #000000 ; 
    margin: 10px 0;
    padding: 15px;
    border-left: 5px solid #ff6347;
    text-align: left;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#avantages ul {
    list-style: none;
    padding: 0;
}


.highlight-number {
    font-size: 2rem;
    font-weight: bold;
    color: #ff6347;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

#avantages ul li:hover .highlight-number {
    transform: scale(1.2);
}





/* Formulaire de contact */


textarea {
    resize: none;           /* Empêche le redimensionnement manuel */
    overflow: hidden;       /* Masque les barres de défilement */
    width: 50%;             /* Largeur de la zone de texte, ajustez selon vos besoins */
    min-height: 100px;      /* Hauteur minimale de la zone de texte */
    box-sizing: border-box; /* Inclut le padding et la bordure dans les dimensions */
}

input {
    resize: none;           /* Empêche le redimensionnement manuel */
    overflow: hidden;       /* Masque les barres de défilement */
    width: 50%;             /* Largeur de la zone de texte, ajustez selon vos besoins */
    box-sizing: border-box; /* Inclut le padding et la bordure dans les dimensions */
}

form {
    max-width: 500px;
    margin: auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

textarea {
    resize: none;
}


form button {
    background: #ff6347;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background: #e5533d;
}

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

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
