/* mon-site/styles_contact.css */
.contact-page {
    margin-top: 100px;
    padding: 40px 0;
    background-color: #F5F5F5;
    color: #333333;
    font-family: 'Roboto', sans-serif;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-page h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1F286BFF;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.contact-page h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #1F286BFF;
    margin: 10px auto 0;
}

.contact-section {
    margin-bottom: 30px;
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1F286BFF;
    margin-bottom: 15px;
    border-left: 4px solid #1F286BFF;
    padding-left: 10px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    font-size: 24px;
    color: #1F286BFF;
}

.contact-item p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.contact-item strong {
    color: #1F286BFF;
}

.contact-item .phone-number {
    white-space: nowrap;
}

.contact-item a {
    color: #1F286BFF;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #CCCCCC;
}

.contact-address {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-address i {
    font-size: 24px;
    color: #1F286BFF;
}

.contact-address p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.map {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 300px;
    position: relative; /* Contexte de positionnement */
    z-index: 1; /* Inférieur au header */
}

/* Assure que les contrôles Leaflet restent dans le conteneur */
.leaflet-control {
    z-index: 2; /* Toujours au-dessus de la carte, mais sous le header */
}

/* Responsive */
@media (max-width: 768px) {
    .contact-page {
        padding: 20px 0;
    }

    .contact-page h1 {
        font-size: 28px;
    }

    .contact-section h2 {
        font-size: 20px;
    }

    .contact-item,
    .contact-address {
        flex-direction: column;
        text-align: center;
    }

    .contact-item i,
    .contact-address i {
        margin-bottom: 10px;
    }

    .contact-item p,
    .contact-address p,
    .contact-item a {
        font-size: 14px;
    }

    .contact-item .phone-number {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .contact-page h1 {
        font-size: 24px;
    }

    .contact-section {
        padding: 15px;
    }

    .contact-section h2 {
        font-size: 18px;
    }
}