/* contact.css */

/* Réinitialisation de base (cohérent avec styles.css) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Style général de la page */
.page-contact {
    background-color: #1e1e1e;
    color: #fff;
    min-height: 100vh;
    line-height: 1.6;
}

/* Header (réutilisation des styles existants) */
header {
    background-color: #ffffff;
    color: #2b2b2b;
    padding: 1rem;
    text-align: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-image {
    width: 100px;
    height: auto;
    margin-left: 20px;
    margin-right: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #2b2b2b;
    text-decoration: none;
}

nav a:hover {
    color: #ff6200;
}

.contact-btn {
    background-color: #01aa09;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 20px;
    font-weight: bold;
}

.contact-btn:hover {
    background-color: #018507;
}

/* Bannière Contact */
.contact-banner {
    position: relative;
    height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('images/contact-banner.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 3rem;
    overflow: hidden;
}

.contact-banner .banner-content {
    max-width: 800px;
    padding: 0 1.5rem;
}

.contact-banner h1 {
    font-size: 2.8rem;
    color: #01aa09;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.contact-banner p {
    font-size: 1.2rem;
    color: #e0e0e0;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Conteneur principal */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Section Carte Google Maps */
.contact-map {
    flex: 1;
    max-width: 500px;
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    border: 2px solid #01aa09;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.contact-map iframe:hover {
    transform: scale(1.02);
}

/* Section Informations de Contact */
.contact-info {
    flex: 1;
    background: #2b2b2b;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
}

.contact-info h2 {
    color: #01aa09;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.contact-info li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: #ccc;
    font-size: 1.1rem;
}

.contact-info li i {
    color: #01aa09;
    font-size: 1.2rem;
    width: 24px;
}

/* Réseaux sociaux */
.contact-info .social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.contact-info .social-links a {
    width: 40px;
    height: 40px;
    background: #3a3a3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info .social-links a:hover {
    background: #01aa09;
    transform: scale(1.1);
}

/* Footer (réutilisation des styles existants avec ajustements) */
footer {
    background-color: #222;
    color: white;
    padding: 4rem;
    text-align: center;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-left {
    text-align: left;
    max-width: 50%;
}

.footer-left h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-left p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-right {
    text-align: left;
    flex: 1;
    margin-left: 40px;
}

.footer-right h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-right .contact-info {
    margin: 1rem 0;
    text-align: left;
    background: none;
    padding: 0;
    box-shadow: none;
}

.footer-right .social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-right .social-links a {
    color: #ff6200;
    font-size: 2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-right .social-links a:hover {
    color: #e55a00;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-banner {
        height: 250px;
    }

    .contact-banner h1 {
        font-size: 2.2rem;
    }

    .contact-banner p {
        font-size: 1.1rem;
    }

    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-map, .contact-info {
        max-width: 100%;
        width: 100%;
    }

    .contact-map iframe {
        height: 250px;
    }

    .contact-info {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-left, .footer-right {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .contact-banner h1 {
        font-size: 1.8rem;
    }

    .contact-banner p {
        font-size: 1rem;
    }

    .contact-info h2 {
        font-size: 1.6rem;
    }

    .contact-info li {
        font-size: 1rem;
    }

    .contact-info .social-links a {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .contact-map iframe {
        height: 200px;
    }
}