/* ===== OPTIMISATION DE LA SECTION CONTACT ===== */
/* Fichier dédié pour améliorer la lisibilité de la section contact */

/* Optimisation de l'image de fond - UNIQUEMENT pour la section avec id="section_51" */
#section_51 {
    position: relative !important;
    background: none !important; /* Supprimer l'image de fond directe */
}

/* Créer un pseudo-élément pour l'image de fond avec filtre - SANS affecter le contenu */
#section_51::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: url('../bulldozer-2195329_1280.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    filter: brightness(0.3) contrast(1.2) !important;
    z-index: 0 !important;
}

/* Overlay TRÈS sombre UNIQUEMENT pour la section avec id="section_51" - Renforcé pour une excellente lisibilité */
#section_51::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.92) !important;
    z-index: 1 !important;
}

/* S'assurer que le contenu de la section avec id="section_51" est au-dessus de l'overlay */
#section_51 .container {
    position: relative !important;
    z-index: 2 !important;
}

/* ===== TITRE PRINCIPAL DE CONTACT ===== */
.contact-title {
    color: #FFFFFF !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
    font-weight: bold !important;
    background: rgba(0, 0, 0, 0.9) !important;
    padding: 25px 40px !important;
    border-radius: 20px !important;
    display: inline-block !important;
    border: 4px solid #D4AF37 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6) !important;
    margin-bottom: 30px !important;
}

/* ===== TITRE DES INFORMATIONS DE CONTACT ===== */
.contact-info-title {
    color: #FFFFFF !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9) !important;
    background: rgba(0, 0, 0, 0.9) !important;
    padding: 20px 25px !important;
    border-radius: 15px !important;
    border-left: 5px solid #D4AF37 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 25px !important;
}

/* ===== ÉLÉMENTS D'INFORMATION DE CONTACT ===== */
.contact-info-item {
    background: rgba(0, 0, 0, 0.9) !important;
    border: 2px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

.contact-info-item:hover {
    border-color: #D4AF37 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6) !important;
}

.contact-link {
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
}

.contact-link:hover {
    color: #D4AF37 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.contact-link i {
    color: #D4AF37 !important;
    font-size: 1.2rem !important;
    margin-right: 10px !important;
}

/* ===== BLOC DES HORAIRES ===== */
.contact-block {
    background: rgba(0, 0, 0, 0.9) !important;
    border: 3px solid #D4AF37 !important;
    border-radius: 15px !important;
    padding: 25px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5) !important;
    transition: all 0.3s ease !important;
}

.contact-block:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7) !important;
    border-color: #FFD700 !important;
}

.contact-hours-title {
    color: #FFFFFF !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9) !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.contact-hours-title i {
    color: #D4AF37 !important;
    font-size: 1.5rem !important;
}

.contact-hours-title strong {
    color: #FFFFFF !important;
    margin: 0 15px !important;
    font-size: 1.1rem !important;
}

.contact-hours-time {
    color: #D4AF37 !important;
    background: rgba(212, 175, 55, 0.2) !important;
    padding: 8px 15px !important;
    border-radius: 20px !important;
    border: 2px solid #D4AF37 !important;
    font-weight: 600 !important;
    margin-left: auto !important;
}

/* ===== ICÔNES SOCIALES ===== */
#section_51 .social-icon {
    margin-top: 20px !important;
}

#section_51 .social-icon-item {
    margin-right: 15px !important;
}

#section_51 .social-icon-link {
    background: rgba(0, 0, 0, 0.9) !important;
    border: 3px solid #D4AF37 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
}

#section_51 .social-icon-link:hover {
    background: #D4AF37 !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6) !important;
}

/* ===== CARTE GOOGLE MAPS ===== */
#section_51 .google-map {
    border: 4px solid #D4AF37 !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    margin-top: 30px !important;
}

/* ===== FOOTER - AMÉLIORATION DE LA LISIBILITÉ ===== */
/* Le footer hérite de l'image de fond de la section contact */
.site-footer {
    background-image: url('../bulldozer-2195329_1280.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    position: relative !important;
}

/* Overlay sombre pour le footer */
.site-footer::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 1 !important;
}

/* S'assurer que le contenu du footer est au-dessus de l'overlay */
.site-footer .container {
    position: relative !important;
    z-index: 2 !important;
}

/* Titre du footer */
.site-footer-title {
    color: #FFFFFF !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
    background: rgba(0, 0, 0, 0.9) !important;
    padding: 20px 30px !important;
    border-radius: 15px !important;
    display: inline-block !important;
    border: 3px solid #D4AF37 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
    margin-bottom: 30px !important;
}

/* Localisations dans le footer */
.footer-location {
    color: #D4AF37 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9) !important;
    background: rgba(0, 0, 0, 0.9) !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    display: inline-block !important;
    border: 2px solid rgba(212, 175, 55, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    margin-bottom: 10px !important;
}

.footer-location-desc {
    color: #FFFFFF !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9) !important;
    background: rgba(0, 0, 0, 0.8) !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    border-left: 3px solid #D4AF37 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    margin: 0 !important;
}

/* Section bottom du footer */
.site-footer-bottom {
    background: rgba(0, 0, 0, 0.95) !important;
    border-top: 3px solid #D4AF37 !important;
    padding: 25px 0 !important;
    margin-top: 30px !important;
}

.copyright-text {
    color: #FFFFFF !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    background: rgba(0, 0, 0, 0.8) !important;
    padding: 15px 25px !important;
    border-radius: 10px !important;
    border: 2px solid rgba(212, 175, 55, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

/* Bouton retour en haut */
.back-top-icon {
    background: rgba(0, 0, 0, 0.9) !important;
    border: 3px solid #D4AF37 !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #D4AF37 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

.back-top-icon:hover {
    background: #D4AF37 !important;
    color: #000000 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4) !important;
}

.back-top-icon i {
    font-size: 1.5rem !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .contact-title {
        padding: 20px 30px !important;
        font-size: 1.8rem !important;
    }
    
    .contact-info-title {
        padding: 15px 20px !important;
        font-size: 1.1rem !important;
    }
    
    .contact-info-item {
        padding: 12px 18px !important;
    }
    
    .contact-link {
        font-size: 1rem !important;
    }
    
    .contact-block {
        padding: 20px !important;
    }
    
    .contact-hours-title {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .contact-hours-time {
        margin: 10px 0 0 0 !important;
    }
    
    #section_51 .social-icon-link {
        width: 45px !important;
        height: 45px !important;
    }
    
    /* Footer responsive */
    .site-footer-title {
        padding: 15px 25px !important;
        font-size: 1.3rem !important;
    }
    
    .footer-location {
        padding: 10px 18px !important;
        font-size: 1rem !important;
    }
    
    .footer-location-desc {
        padding: 8px 15px !important;
        font-size: 0.9rem !important;
    }
    
    .copyright-text {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }
    
    .back-top-icon {
        width: 45px !important;
        height: 45px !important;
    }
} 