/* Page de contact */

/* Hero section spécifique au contact */
.contact-hero .hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.4) 100%);
}

/* Section de contact principale */
.contact-section {
    padding: 6rem 0;
    background-color: #f9f9fa;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 2rem;
}

/* Informations de contact */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #D4A5A5;
    color: white;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.info-content h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.2rem;
}

.info-content p {
    color: #666;
    margin: 0.3rem 0;
    font-size: 0.95rem;
}

.social-media-links {
    margin-top: 1rem;
}

.social-media-links h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.2rem;
}

.social-media-links .social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-media-links .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #9E7777;
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-media-links .social-icon:hover {
    background-color: #D4A5A5;
    transform: translateY(-3px);
}

/* Formulaire de contact */
.contact-form-container {
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #D4A5A5;
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 165, 165, 0.2);
}

.checkbox-container {
    display: flex;
    align-items: center;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.submit-btn {
    grid-column: span 2;
    background-color: #9E7777;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background-color: #D4A5A5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Section carte */
.map-section {
    padding: 0;
    height: 450px;
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Section FAQ */
.faq-section {
    padding: 6rem 0;
    background-color: #fff;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background-color: #f9f9fa;
    transition: background-color 0.3s ease;
}

.faq-question h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #333;
    margin: 0;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #D4A5A5;
    color: white;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-question {
    background-color: #f0f0f0;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    background-color: #9E7777;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

/* Responsive design */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .submit-btn {
        grid-column: span 1;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .info-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .map-section {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .info-content h3 {
        font-size: 1.1rem;
    }
    
    .map-section {
        height: 250px;
    }
}
