/* ===== CONTACT SECTION ===== */
.contact {
    margin: auto;
    background: rgb(39 39 39);
    height: auto;
    padding-bottom: 2rem;
}

.contact h2 {
    color: orange;
    text-align: center;
    padding-top: 1%;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.7rem;
}

/* Two columns: contact list + social icons */
.footerComponents {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: space-around;
    margin-top: 1%;
}

.component ul {
    color: #fff;
    font-family: 'Noto Sans', sans-serif;
}

.component li {
    margin-top: 10px;
}

/* Contact list (phone, email, CV, Malt) */
.pictFooter {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
}

.pictFooter ul {
    padding-inline-start: 30px;
}

.footerItem {
    font-family: 'Poppins', sans-serif;
    color: rgb(104, 104, 104);
    text-decoration: none;
}

/* Orange line animation on hover */
.spacerActive:hover .footerSpacer {
    background: orange;
    height: 3px;
    animation: spacing 500ms;
    max-width: 70px;
    border-radius: 5px;
}

@keyframes spacing {
    0% {
        width: 0px;
    }

    100% {
        width: 70px;
    }
}

/* Social icons */
.social div {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.social img {
    height: 80px;
    width: auto;
}


/* ===== FOOTER (copyright) ===== */
.footerCopy {
    background: rgb(27 27 27);
    color: white;
    text-align: center;
    font-family: 'Noto Sans', sans-serif;
    padding: 16px;
}


/* ===== RESPONSIVE ===== */

/* Tablets and phones (up to 1024px): one column, centered */
@media (max-width: 1024px) {
    .footerComponents {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .component li {
        margin-top: 14px;
        margin-bottom: 10px;
    }

    .social div {
        justify-content: center;
        gap: 1.5rem;
    }

    .social img {
        height: 60px;
    }
}

/* Phones & small tablets (up to 767px): smaller icons */
@media (max-width: 767px) {
    .contact h2 {
        padding-top: 1.5rem;
        padding-bottom: 10px;
    }

    .pictFooter ul {
        padding: 0 1.5rem;
    }

    .social div {
        flex-wrap: wrap;
        gap: 1.2rem;
        margin-top: 1rem;
    }

    .social img {
        height: 48px;
    }

    .footerCopy {
        font-size: 0.95rem;
    }

    /* Spacing in About section titles */
    .monProfil h2 {
        margin-top: 10px;
    }
}