/* Buttons */
.btn-primary-nav {
    background-color: #fff;
    color: #2196f3;
    border: 2px solid #2196f3;
    padding: 8px 18px;
    font-size: 0.9em;
}

.btn-primary-nav:hover {
    background-color: #e3f2fd;
    color: #1a237e;
    transform: translateY(-1px);
}

/* Header & Navigation */
.main-header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px; /* Adjust as needed */
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #1a237e; /* Dark Blue */
    font-weight: 600;
    font-size: 1.05em;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #2196f3; /* Primary Blue on hover */
}

/* Responsive Design (Basic Example) - relevant to menu */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
    }

    .main-nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav ul li {
        margin: 0 15px 10px;
    }
}

/* Existing CSS for main-header, logo, main-nav, etc. go here */

/* --- Hamburger Button Styles --- */
.hamburger-menu {
    display: none; /* Hidden by default on large screens */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001; /* Ensure it's above the nav */
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #1a237e; /* Dark blue for the bars */
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* --- Responsive Navigation (for smaller screens) --- */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: row; /* Keep logo and hamburger on the same row */
        justify-content: space-between; /* Space them out */
        align-items: center;
    }

    .hamburger-menu {
        display: block; /* Show hamburger on small screens */
    }

    .main-nav {
        display: none; /* Hide navigation by default on small screens */
        flex-direction: column;
        width: 100%;
        position: absolute; /* Position it below the header */
        top: 90px; /* Adjust based on your header height */
        left: 0;
        background-color: #ffffff; /* White background for the dropdown menu */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        border-top: 1px solid #eee;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        align-items: center; /* Center menu items */
    }

    .main-nav ul li {
        margin: 10px 0; /* Add vertical spacing */
    }

    .main-nav ul li a {
        padding: 10px 20px; /* Make clickable area larger */
        width: 100%;
        text-align: center;
    }

    .main-nav ul li a.btn-primary-nav {
        margin-top: 10px; /* Add space above the button */
    }

    /* JavaScript Toggle Class (example) */
    .main-nav.nav-active {
        display: flex; /* Show the menu when this class is active */
    }

    /* Animation for hamburger bars (optional, typically done with JS toggle) */
    .hamburger-menu.is-active .bar:nth-child(2) {
        opacity: 0; /* Hide middle bar */
    }

    .hamburger-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg); /* Top bar to X */
    }

    .hamburger-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg); /* Bottom bar to X */
    }
}

/* Section de bienvenue */
.welcome-section {
    min-height: 80vh;
    /* La hauteur minimale est 80% de la hauteur de l'écran */
    background-image: url('image/114.jpg');
    /* REMPLACEZ PAR LE CHEMIN DE VOTRE IMAGE */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    /* Couleur du texte blanc */
    padding: 2rem;
}

/* Surcouche sombre pour améliorer la lisibilité du texte */
.welcome-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Surcouche noire à 60% de transparence */
    z-index: 1;
}

/* Conteneur du contenu */
.welcome-container {
    position: relative;
    z-index: 2;
    /* Place le contenu au-dessus de la surcouche */
    max-width: 800px;
    padding: 2rem;
}

/* Titre principal */
.welcome-container h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

/* Slogan */
.welcome-container .tagline {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Bouton d'appel à l'action */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #2c3e50;
    /* Couleur de fond du bouton */
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Effet au survol du bouton */
.cta-button:hover {
    background-color: #34495e;
    transform: scale(1.05);
}

/* --- Couleurs et polices --- */
:root {
    --bleu-principal: #3498db;
    --bleu-fonce: #010844;
    --bleu-clair: #ecf0f1;
    --blanc: #ffffff;
    --gris-fonce: #2c3e50;
}

/* --- Section Chaine Horeb --- */
.chaine-horeb-section {
    padding: 4rem 2rem;
    text-align: center;
}

.chaine-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.chaine-text-content {
    flex: 1;
    text-align: left;
}

.chaine-text-content h2 {
    font-size: 2.5rem;
    color: var(--gris-fonce);
    margin-bottom: 1rem;
}

.chaine-text-content .tagline {
    font-size: 1.2rem;
    color: var(--bleu-principal);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.chaine-text-content p {
    font-size: 1rem;
    color: var(--gris-fonce);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* --- Espace réservé pour l'image --- */
.chaine-image-placeholder {
    flex: 1;
    position: relative;
    text-align: center;
}

.chaine-image-placeholder img {
    width: 100%;
    height: auto;
    max-width: 600px;
    /* Ajustez la taille maximale si nécessaire */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* --- Bouton d'appel à l'action --- */
.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--bleu-principal);
    color: var(--blanc);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--bleu-fonce);
    transform: scale(1.05);
}

/* --- Responsive pour les petits écrans --- */
@media (max-width: 768px) {
    .chaine-container {
        flex-direction: column;
        gap: 2rem;
    }

    .chaine-text-content {
        text-align: center;
    }
}

/* --- Section Université Horeb --- */
.universite-section {
    background-color: var(--blanc);
    padding: 4rem 2rem;
    text-align: center;
}

.universite-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Espace réservé pour l'image --- */
.universite-image-placeholder {
    flex: 1;
    text-align: center;
}

.universite-image-placeholder img {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.universite-text-content {
    flex: 1;
    text-align: left;
}

.universite-text-content h2 {
    font-size: 2.5rem;
    color: var(--gris-fonce);
    margin-bottom: 1rem;
}

.universite-text-content .tagline {
    font-size: 1.2rem;
    color: var(--bleu-principal);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.universite-text-content p {
    font-size: 1rem;
    color: var(--gris-fonce);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* --- Liste à puces des points forts --- */
.universite-points {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.universite-points li {
    font-size: 1rem;
    color: var(--gris-fonce);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.universite-points li i {
    color: var(--bleu-principal);
    font-size: 1.2rem;
    margin-right: 1rem;
}

/* --- Bouton d'appel à l'action --- */
.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--bleu-principal);
    color: var(--blanc);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--bleu-fonce);
    transform: scale(1.05);
}

/* --- Responsive pour les petits écrans --- */
@media (max-width: 768px) {
    .universite-container {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .universite-text-content {
        text-align: center;
    }

    .universite-points {
        text-align: left;
    }
}

/* --- Section École Horeb --- */
.ecole-section {
    background-color: var(--bleu-clair);
    padding: 4rem 2rem;
    text-align: center;
}

.ecole-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Espace réservé pour l'image --- */
.ecole-image-placeholder {
    flex: 1;
    text-align: center;
}

.ecole-image-placeholder img {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.ecole-text-content {
    flex: 1;
    text-align: left;
}

.ecole-text-content h2 {
    font-size: 2.5rem;
    color: var(--gris-fonce);
    margin-bottom: 1rem;
}

.ecole-text-content .tagline {
    font-size: 1.2rem;
    color: var(--bleu-principal);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.ecole-text-content p {
    font-size: 1rem;
    color: var(--gris-fonce);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* --- Liste à puces des points forts --- */
.ecole-points {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.ecole-points li {
    font-size: 1rem;
    color: var(--gris-fonce);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.ecole-points li i {
    color: var(--bleu-principal);
    font-size: 1.2rem;
    margin-right: 1rem;
}

/* --- Bouton d'appel à l'action --- */
.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--bleu-principal);
    color: var(--blanc);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--bleu-fonce);
    transform: scale(1.05);
}

/* --- Responsive pour les petits écrans --- */
@media (max-width: 768px) {
    .ecole-container {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .ecole-text-content {
        text-align: center;
    }

    .ecole-points {
        text-align: left;
    }
}

/* --- Section Clinique Horeb --- */
.clinique-section {
    background-color: var(--blanc);
    padding: 4rem 2rem;
    text-align: center;
}

.clinique-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.clinique-text-content {
    flex: 1;
    text-align: left;
}

.clinique-text-content h2 {
    font-size: 2.5rem;
    color: var(--gris-fonce);
    margin-bottom: 1rem;
}

.clinique-text-content .tagline {
    font-size: 1.2rem;
    color: var(--bleu-principal);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.clinique-text-content p {
    font-size: 1rem;
    color: var(--gris-fonce);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* --- Liste des services --- */
.clinique-services {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.clinique-services li {
    font-size: 1rem;
    color: var(--gris-fonce);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.clinique-services li i {
    color: var(--bleu-principal);
    font-size: 1.2rem;
    margin-right: 1rem;
}

/* --- Espace réservé pour l'image --- */
.clinique-image-placeholder {
    flex: 1;
    text-align: center;
}

.clinique-image-placeholder img {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* --- Bouton d'appel à l'action --- */
.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--bleu-principal);
    color: var(--blanc);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--bleu-fonce);
    transform: scale(1.05);
}

/* --- Responsive pour les petits écrans --- */
@media (max-width: 768px) {
    .clinique-container {
        flex-direction: column;
        gap: 2rem;
    }

    .clinique-text-content {
        text-align: center;
    }

    .clinique-services {
        text-align: left;
    }
}

/* --- Section Église FAH --- */
.eglise-section {
    background-color: var(--bleu-clair);
    padding: 4rem 2rem;
    text-align: center;
}

.eglise-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.eglise-text-content {
    flex: 1;
    text-align: left;
}

.eglise-text-content h2 {
    font-size: 2.5rem;
    color: var(--gris-fonce);
    margin-bottom: 1rem;
}

.eglise-text-content .tagline {
    font-size: 1.2rem;
    color: var(--bleu-principal);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.eglise-text-content p {
    font-size: 1rem;
    color: var(--gris-fonce);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* --- Liste des points forts --- */
.eglise-points {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.eglise-points li {
    font-size: 1rem;
    color: var(--gris-fonce);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.eglise-points li i {
    color: var(--bleu-principal);
    font-size: 1.2rem;
    margin-right: 1rem;
}

/* --- Espace réservé pour l'image --- */
.eglise-image-placeholder {
    flex: 1;
    text-align: center;
}

.eglise-image-placeholder img {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* --- Bouton d'appel à l'action --- */
.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--bleu-principal);
    color: var(--blanc);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--bleu-fonce);
    transform: scale(1.05);
}

/* --- Responsive pour les petits écrans --- */
@media (max-width: 768px) {
    .eglise-container {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .eglise-text-content {
        text-align: center;
    }

    .eglise-points {
        text-align: left;
    }
}

/* --- Couleurs et polices --- */
:root {
    --bleu-principal: #3498db;
    --bleu-fonce: #2980b9;
    --bleu-clair: #ecf0f1;
    --blanc: #ffffff;
    --gris-fonce: #2c3e50;
}

/* --- Section de contact --- */
.contact-section {
    background-color: var(--blanc);
    padding: 4rem 2rem;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--gris-fonce);
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1rem;
    color: var(--gris-fonce);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    font-size: 1rem;
    color: var(--gris-fonce);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-list li i {
    color: var(--bleu-principal);
    font-size: 1.5rem;
    width: 40px; /* Assure un alignement parfait du texte */
    text-align: center;
}

/* --- Carte Google Maps responsive --- */
.contact-map {
    flex: 1;
    position: relative;
    width: 100%;
    /* Pour un ratio 16:9 */
    padding-bottom: 56.25%;
    height: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.contact-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Responsive pour les petits écrans --- */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        order: 2; /* Place la carte avant les informations de contact */
    }

    .contact-map {
        order: 1;
    }

    .contact-list {
        text-align: left;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* --- Couleurs et polices --- */
:root {
    --bleu-principal: #3498db;
    --bleu-fonce: #2980b9;
    --bleu-clair: #ecf0f1;
    --blanc: #ffffff;
    --gris-fonce: #2c3e50;
}

/* --- Section Album --- */
.album-section {
    background-color: var(--blanc);
    padding: 4rem 2rem;
    text-align: center;
}

.album-header {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.album-header h2 {
    font-size: 2.5rem;
    color: var(--gris-fonce);
    margin-bottom: 1rem;
}

.album-header p {
    font-size: 1rem;
    color: var(--gris-fonce);
    line-height: 1.6;
}

/* --- Grille de la galerie --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Redimensionne l'image pour remplir le conteneur sans la déformer */
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- Pied de page --- */
footer {
    background-color: var(--gris-fonce);
    color: var(--blanc);
    padding: 3rem 2rem;
    font-size: 0.9rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.footer-column h3 {
    font-size: 1.2rem;
    color: var(--bleu-principal);
    margin-bottom: 1.5rem;
}

.footer-column p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* --- Liens de navigation --- */
.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--blanc);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--bleu-principal);
}

/* --- Liens sociaux --- */
.social-links a {
    color: var(--blanc);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--bleu-principal);
}

/* --- Infos de contact --- */
.contact-info-footer ul li {
    display: flex;
    align-items: flex-start;
}

.contact-info-footer ul li i {
    color: var(--bleu-principal);
    margin-right: 10px;
    font-size: 1rem;
    line-height: 1.5;
}

/* --- Section de copyright et crédit --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    color: var(--bleu-clair);
}

.footer-bottom p {
    margin: 0;
}

.credit-link {
    color: var(--bleu-clair);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.credit-link:hover {
    color: var(--bleu-principal);
}

.zeta-logo {
    height: 20px; /* Ajustez la taille du logo au besoin */
    margin-right: 8px;
    vertical-align: middle;
}


/* --- Responsive pour les petits écrans --- */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}