/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Header styles */
header {
    background-color: #3498db;
    color: #fff;
    text-align: center;
    padding: 20px;
}

header h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
}

/* Navigation styles */
nav {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.2em;
}

/* Main content styles */
main {
    padding: 20px;
}

/* Footer styles */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Form styles (example) */
form {
    max-width: 600px;
    margin: 0 auto;
}

label {
    display: block;
    margin-bottom: 5px;
}

input,
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}

/* Gallery styles (example) */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.gallery img {
    width: 100%;
    height: auto;
}

/* Testimonials styles (example) */
.testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.testimonial {
    flex: 1;
    max-width: 400px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Responsive styles (example) */
@media screen and (max-width: 600px) {
    header h1 {
        font-size: 1.5em;
    }
    
    header p {
        font-size: 1em;
    }
    
    nav a {
        font-size: 1em;
    }
    
    footer {
        font-size: 0.8em;
    }
}

/* ... (autres styles) */

/* Navigation styles */
nav {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
}

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

nav li {
    display: inline;
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2em;
}

/* ... (autres styles) */

/* Dropdown styles */
.dropdown {
    display: inline-block;
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    display: block;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #555;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* ... (autres styles) */

/* Styles pour le contenu de la page d'accueil */
main {
    max-width: 800px;
    margin: 20px auto;
}

section {
    margin-bottom: 40px;
}

h2 {
    color: #333;
}

p {
    line-height: 1.6;
    color: #555;
}

ul {
    list-style-type: disc;
    margin-left: 20px;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ... (autres styles) */

/* Styles pour la galerie défilante */
.slick-gallery {
    width: 80%;
    margin: auto;
}

.slick-slide {
    margin: 0 10px;
    position: relative;
}

.slick-prev, .slick-next {
    font-size: 24px;
    color: #333;
}

.slick-dots {
    bottom: 20px;
}

.slick-dots li button {
    font-size: 12px;
    color: #333;
}

.slick-dots li.slick-active button {
    color: #3498db;
}

/* Set a maximum width for images to ensure responsiveness */
img {
    max-width: 100%;
/*    height: 55vh; */
    display: block; /* Remove extra space below inline images */
    margin: 0 auto; /* Center the images within their container */
}

/* ... (autres styles) */

/* Styles pour la galerie défilante avec descriptions */
.image-description {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fond semi-transparent noir pour la lisibilité */
    color: #fff;
    padding: 10px;
    text-align: center;
}

/* Ajouter une image de fond à la galerie */
.slick-gallery::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('http://www.dadwin.com/images/gallery/image1.jpg'); /* Remplacez par le chemin de votre image de fond */
    background-size: cover;
    background-position: center;
    filter: brightness(0.5); /* Assombrit légèrement l'image de fond pour améliorer la lisibilité du texte */
}

/* ... (autres styles) */

/* Styles pour les témoignages */
.testimonial {
    display: flex;
    margin-bottom: 20px;
}

.testimonial img {
    width: 100px; /* Ajustez la largeur de l'image du témoignage */
    border-radius: 50%; /* Pour une image de profil ronde */
    margin-right: 20px;
}

.testimonial-content {
    flex-grow: 1;
}

.testimonial p {
    font-style: italic;
}

.testimonial-date, .testimonial-author {
    display: block;
    margin-top: 10px;
    font-size: 0.8em;
    color: #888;
}

/* ... (autres styles) */


/* Style pour le bouton "Ajouter un témoignage" */
#addTestimonialBtn {
    background-color: #3498db;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 20px;
}

/* Style pour le formulaire */
#testimonialForm {
    display: none;
    max-width: 500px;
    margin: 0 auto;
}

#testimonialForm form {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#testimonialForm label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

#testimonialForm textarea,
#testimonialForm input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

#testimonialForm button {
    background-color: #3498db;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#testimonialForm button:hover {
    background-color: #2980b9;
}

/* ... (autres styles) */

/* Styles pour le formulaire de contact */
form {
    max-width: 500px;
    margin: 0 auto;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

form textarea {
    resize: vertical; /* Permet la redimension verticale de la zone de texte */
}

form button {
    background-color: #3498db;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

form button:hover {
    background-color: #2980b9;
}

/* ... (autres styles) */

