/* ====================================
   PAGE DE CONTACT - CONTACT.CSS
   Styles spécifiques à la page contact
   ==================================== */

/* En-tête de page */
.major {
    text-align: center;
    margin-bottom: 3rem;
}

.major h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.major p {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

/* Wrapper principal */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

/* Cartes de contact */
.contact-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(246, 117, 94, 0.1);
}

.contact-card h3 {
    color: #1e3b8f;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.contact-card h3 i {
    margin-right: 10px;
    color: #1e3b8f;
}

/* Formulaire de contact */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group label i {
    color: #1e3b8f;
    margin-right: 8px;
    width: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3b8f;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(246, 117, 94, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Bouton d'envoi */
.btn-submit {
    background: linear-gradient(135deg, #1e3b8f 0%, #e64a3a 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(246, 117, 94, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #e85a45 0%, #d13a2a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 117, 94, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit i {
    font-size: 1.1rem;
}

/* Éléments d'information */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #fafafa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background-color: #fff5f2;
    transform: translateX(5px);
}

.info-item i {
    font-size: 1.5rem;
    color: #1e3b8f;
    min-width: 30px;
    text-align: center;
}

.info-item div {
    flex: 1;
}

.info-item strong {
    color: #333;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #1e3b8f;
}

/* Carte */
.map-card .mappa {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .major h2 {
        font-size: 2rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .info-item {
        padding: 0.8rem;
    }
    
    .map-card .mappa {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .major h2 {
        font-size: 1.8rem;
    }
    
    .contact-card h3 {
        font-size: 1.3rem;
    }
    
    .btn-submit {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Animation d'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-card:nth-child(2) {
    animation-delay: 0.2s;
}