/* Section Contact Info & Map */
.contact-info-section {
    padding: 6rem 0;
    background-color: #000000;
    color: #fff;
}

/* Style pour les cartes de contact */
.contact-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.contact-info {
    height: 100%;
}

.contact-info-item {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    background: rgba(255, 255, 255, 0.1) !important; /* Fond blanc légèrement transparent */
    border: 2px solid #ffffff; /* Bordure blanche */
    color: #ffffff !important; /* Icône blanche */
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    display: flex !important; /* S'assurer que c'est bien un flex */
    align-items: center !important;
    justify-content: center !important;
    margin-right: 1.5rem;
    flex-shrink: 0;
    font-size: 1rem;
    position: relative;
    top: 2px;
    text-align: center;
    line-height: 40px !important; /* Centrage vertical */
    padding: 0 !important; /* Supprimer tout padding */
}

/* S'assurer que l'icône est bien centrée */
.contact-icon i {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
}

.contact-text h4 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-text p,
.contact-text a {
    color: #bbbbbb;
    margin: 0;
    line-height: 1.6;
    transition: color 0.3s ease;
    text-decoration: none;
}

.contact-text a {
    color: #ffc107;
}

.contact-text a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* Style pour la carte Google Maps */
.map-wrapper {
    max-width: 1200px; /* Largeur maximale identique au container Bootstrap */
    margin: 2rem auto 0;
    padding: 0 15px;
}

.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    height: 450px;
    background: #000;
    margin: 0 auto;
    max-width: 100%;
}

.map-container iframe {
    filter: grayscale(30%) invert(90%) hue-rotate(180deg) contrast(90%);
    width: 100%;
    display: block;
}

/* Style pour les horaires d'ouverture */
.opening-hours {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1.5rem;
    margin: 1.5rem 0;
}

.opening-hours .day {
    font-weight: 500;
    color: #ffffff;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.opening-hours .hours {
    text-align: right;
    color: #bbbbbb;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.opening-hours .day:last-child,
.opening-hours .hours:last-child {
    border-bottom: none;
}

/* Style pour le bouton de rendez-vous */
.contact-card .btn-primary {
    background-color: #54C37E;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.contact-card .btn-primary:hover {
    background-color: #3da866;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(84, 195, 126, 0.3);
}

/* Ajustements pour les écrans mobiles */
@media (max-width: 991.98px) {
    .contact-card {
        margin-bottom: 2rem;
    }
    
    .opening-hours {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .opening-hours .hours {
        text-align: left;
        padding-bottom: 0.5rem;
    }
    
    .opening-hours .day:last-child,
    .opening-hours .hours:last-child {
        border-bottom: none;
    }
}

/* Style pour la carte de contact unique avec deux colonnes */
.contact-info {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    margin-bottom: 2rem;
}

/* Ajustement des marges pour les éléments de contact */
.contact-info-item {
    margin-bottom: 1.5rem;
}

/* Ajustement pour les colonnes */
.contact-info .row {
    margin-left: -15px;
    margin-right: -15px;
}

.contact-info .col-md-6 {
    padding-left: 15px;
    padding-right: 15px;
}

/* Style pour les horaires */
.opening-hours {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1.5rem;
    margin-top: 0.5rem;
}

.opening-hours .day {
    font-weight: 500;
    color: #ffffff;
}

.opening-hours .hours {
    text-align: right;
    color: #bbbbbb;
}

/* Ajustement pour les écrans mobiles */
@media (max-width: 767.98px) {
    .col-md-6:not(:last-child) {
        margin-bottom: 2rem;
    }
    
    .opening-hours {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    
    .opening-hours .hours {
        text-align: left;
        margin-bottom: 0.75rem;
    }
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.map-overlay .btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.map-overlay .btn i {
    margin-right: 8px;
}

.map-overlay .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Contact Form Section */
.contact-form-section {
    padding: 6rem 0;
    background-color: #000000;
}

.contact-form-container {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-align: center;
}

.contact-form-container p {
    color: #bbbbbb;
    text-align: center;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .contact-info,
    .map-container {
        margin-bottom: 2rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
}

@media (max-width: 575.98px) {
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info-item,
.map-container {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.contact-info-item:nth-child(1) { animation-delay: 0.1s; }
.contact-info-item:nth-child(2) { animation-delay: 0.2s; }
.contact-info-item:nth-child(3) { animation-delay: 0.3s; }
.contact-info-item:nth-child(4) { animation-delay: 0.4s; }
.map-container { animation-delay: 0.5s; }
