/* Polices et couleurs */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f4f4f4;
    margin: 0;
}

header h1, .intro h2, .pricing h2, .avis h2 {
    font-family: 'Lora', serif;
    color: #0d3c55;
}

/* En-tête */
header {
    background-color: #0d3c55;
    color: #fff;
    padding: 20px;
    text-align: center;
}

header h1 {
    font-family: 'Lora', serif;
    color: #fff;
    font-weight: 700;
    margin: 0;
}

.menu-btn {
    margin-bottom: 10px; /* Espace sous le bouton de menu */
    font-size: 1.2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.header-content {
    display: flex;
    flex-direction: column; /* Arrange les éléments verticalement */
    align-items: center;
    text-align: center;
}

.logo-icon {
    width: 75px; /* Ajustez la taille si nécessaire */
    height: 75px;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 10px; /* Espace entre le logo et le texte */
}

/* Menu latéral */
.side-menu {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #0d3c55;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.side-menu a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    display: block;
    transition: 0.3s;
}

.side-menu a:hover {
    background-color: #036d8f;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
}

/* Section Accueil */
.intro {
    background-color: #eef7fa;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap; /* Empêche l'image de passer en dessous du texte */
    padding: 60px 20px;
    gap: 40px;
}

.intro-content {
    display: flex;
    align-items: center;
    max-width: 1200px; /* Limite la largeur maximale pour un meilleur centrage */
    margin: 0 auto;
    gap: 40px;
}

.intro-text {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

.intro h2 {
    font-family: 'Lora', serif;
    color: #0d3c55;
    font-size: 4rem;
}

.intro p {
    font-size: 1.8rem; /* Augmente la taille du texte pour la description et le numéro */
    color: #333;
    margin-top: 10px;
}

.contact-number {
    font-size: 1.5rem;
    color: #0d3c55;
    font-weight: bold;
    margin-top: 20px;
}

.doctolib-logo {
    display: block;
    width: 350px; /* Agrandit la taille du logo */
    margin-top: 20px;
    cursor: pointer;
}

.intro-image-container {
    flex: 1;
    max-width: 100%; /* Augmente la largeur maximale pour agrandir l'image */
    text-align: right;
}

.intro-image {
    width: 120%;
    border-radius: 12px;
    object-fit: cover;
}

/* Sections générales */
section {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
}

.services h2 {
    color: #036d8f;
}

.service {
    padding: 20px;
}

.service img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Section Contact */
.contact {
    background-color: #0d3c55;
    color: #fff;
}

.contact p {
    font-size: 18px;
}

/* Pied de page */
footer {
    background-color: #0d3c55;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}


/* Section Introduction */
.intro-osteo {
    background-color: #eef7fa;
    padding: 40px;
    text-align: center;
}

.intro-osteo h2 {
    font-family: 'Lora', serif;
    color: #0d3c55;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.intro-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.intro-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre le contenu horizontalement */
    text-align: center; /* Centre le texte dans chaque élément */
    gap: 10px;
}

.icon {
    font-size: 1.5rem;
    color: #0d3c55;
}

.intro-item h3 {
    font-weight: bold;
    color: #0d3c55;
    margin: 0;
}

.intro-item p {
    color: #333;
    margin: 0;
}


/* Section Tarifs & Horaires */
.pricing {
    background-color: #eef7fa;
    padding: 60px 20px;
    text-align: center;
}

.pricing h2 {
    font-family: 'Lora', serif;
    color: #0d3c55;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 12px;
}

.pricing-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center; /* Centre verticalement les éléments */
    justify-content: space-between;
    font-size: 1.2rem;
    color: #333;
}

.pricing-item h3 {
    font-weight: bold;
    color: #0d3c55;
    margin: 0;
    flex: 1;
    text-align: center; /* Centre le texte horizontalement */
}

.pricing-item p {
    margin: 0;
    flex: 1;
    text-align: center; /* Centre le texte horizontalement */
}

.icon {
    font-size: 1.5rem;
    color: #0d3c55;
    margin-right: 10px;
}



/* Section Localisation */
.location {
    background-color: #eef7fa;
    padding: 60px 0;
    text-align: center;
}

.location h2 {
    font-family: 'Lora', serif;
    color: #0d3c55;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.location-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%; /* Prend toute la largeur */
    max-width: none; /* Supprime la limite de largeur */
    margin: 0; /* Enlève la marge pour étendre la section */
}

.location iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 8px;
}


/* Mobile Styles */
@media (max-width: 768px) {
    /* Adjust header for mobile */
    header .header-content {
        flex-direction: column; /* Stack menu and title vertically */
    }

    header h1 {
        font-size: 1.8rem; /* Smaller font for header title */
    }

    /* Adjust intro section for mobile */
    .intro {
        flex-direction: column; /* Stack text and image vertically */
        padding: 20px;
    }

    .intro-content {
        gap: 20px; /* Reduce gap between text and image */
    }

    .intro h2 {
        font-size: 2rem; /* Smaller font for name */
    }

    .intro p {
        font-size: 1.2rem; /* Smaller font for contact */
    }

    .doctolib-logo {
        width: 200px; /* Scale down logo for mobile */
    }

    /* Adjust other sections for mobile */
    .intro-card, .pricing-card, .location-card {
        max-width: 100%;
        padding: 20px;
    }

    .pricing-item, .intro-item {
        flex-direction: column;
        text-align: center;
    }

    .pricing-item h3, .intro-item h3 {
        font-size: 1.5rem;
    }

    .pricing-item p, .intro-item p {
        font-size: 1rem;
    }

    /* Adjust map in location section */
    .location iframe {
        height: 300px;
    }
}