/* Styles pour la page Contact */

/* Hero section */
.contact-page .hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/assets/images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    height: 60vh;
    margin-top: calc(-1 * var(--header-height));
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.contact-page .hero-section .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.contact-page .hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
}

.contact-page .subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    letter-spacing: 1px;
}

/* Section contact */
.contact-container {
    padding: 80px 0;
    background-color: var(--cream);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* Informations de contact */
.contact-info h2,
.contact-form h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--brown);
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2::after,
.contact-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--beige);
}

.info-block {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--beige);
    margin-right: 15px;
    margin-top: 5px;
    width: 25px;
    text-align: center;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--brown);
}

.info-item p {
    line-height: 1.6;
    color: #555;
}

.map-container h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--brown);
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Formulaire de contact */
.form-intro {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--brown);
}

.form-group .required {
    color: #d9534f;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--beige);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.submit-btn {
    background-color: var(--beige);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--brown);
}

/* Animation au chargement */
.contact-info, .contact-form {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.contact-info {
    animation-delay: 0.2s;
}

.contact-form {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-page .hero-section {
        height: 60vh;
    }
    
    .contact-page .hero-section h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 60px 0;
    }
    
    .contact-page .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .info-item {
        margin-bottom: 20px;
    }
    
    .info-item i {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .contact-page .hero-section {
        height: 50vh;
    }
    
    .contact-page .hero-section h1 {
        font-size: 2rem;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.8rem;
    }
    
    .submit-btn {
        width: 100%;
    }
}
