/**
 * ==============================================================================
 * RÉSIDENCE TOUVALEM - STYLES DE LA PAGE CONTACT (contact.css)
 * ==============================================================================
 * Styles de la page contact (/contact) :
 * 1. Bannière d'en-tête (Contact Hero).
 * 2. Grille de contact (Formulaire de message + Image de la réception).
 * 3. Cartes d'informations (Adresse, Téléphones officiels, Email).
 * 4. Intégration de la carte interactive Google Maps.
 * ==============================================================================
 */

/* ------------------------------------------------------------------------------
 * 1. BANNIÈRE HERO CONTACT
 * ------------------------------------------------------------------------------
 */
.contact-hero {
    height: 25vh;
    min-height: 180px;
    background-image: url('/images/WhatsApp Image 2026-06-14 at 12.14.22.jpeg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.contact-hero .hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.contact-hero .hero-title {
    font-size: 3.5rem;
    font-family: var(--font-heading, 'Playfair Display', serif);
    margin-bottom: 8px;
}

.contact-hero .hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

/* ------------------------------------------------------------------------------
 * 2. GRILLE & FORMULAIRE DE CONTACT
 * ------------------------------------------------------------------------------
 */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 60px;
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.contact-form label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.95rem;
    color: #444444;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #244C4A;
}

.contact-form .btn-submit-contact {
    background-color: #244C4A;
    color: #ffffff;
    padding: 14px 35px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form .btn-submit-contact:hover {
    background-color: #16302f;
    transform: translateY(-2px);
}

/* Image de la réception */
.contact-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 380px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.contact-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ------------------------------------------------------------------------------
 * 3. CARTES D'INFORMATIONS DE CONTACT
 * ------------------------------------------------------------------------------
 */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.contact-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card .card-icon {
    width: 55px;
    height: 55px;
    background: #244C4A;
    color: #EFA836;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 15px auto;
}

.contact-card h4 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.25rem;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contact-card p {
    color: #666666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* ------------------------------------------------------------------------------
 * 4. MEDIA QUERIES (RESPONSIVE)
 * ------------------------------------------------------------------------------
 */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact-hero .hero-title {
        font-size: 2.3rem;
    }
    .contact-form-wrapper {
        padding: 25px 20px;
    }
}
