﻿
/* =====================================================
   HEADER SECTION
===================================================== */

.static-header {
    background: url(../img/StaticPage_header.webp) center / cover no-repeat;
}

.navbar-custom {
    background: linear-gradient( to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.75) 70%, rgba(0, 0, 0, 1) 100% ), var(--primary-bg) !important;
}

.partners-section,
.footer-section {
    background: var(--primary-bg) !important;
}


/* =====================================================
   BUYER / SELLER SECTIONS
===================================================== */

.buyer-seller-section,
.seller-section,
.buyer-section {
    position: relative;
    background: var(--primary-bg);
    padding: 100px 85px 0;
    color: #fff;
    overflow: hidden;
}

    .buyer-seller-section p {
        font-size: 20px;
        line-height: 2;
        color: var(--muted);
    }


/* =====================================================
   SELLER / BUYER CONTENT
===================================================== */

.seller-content,
.buyer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 70px;
}

.seller-faq {
    flex: 1;
}

.fac-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 420px;
    flex-shrink: 0;
}

    .fac-image img {
        position: relative;
        z-index: 2;
        display: block;
        width: 100%;
        max-width: 360px;
        height: 445px;
        object-fit: cover;
    }

    .fac-image .frame {
        position: absolute;
        z-index: 1;
        top: 40px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 430px;
        height: 375px;
        border: 2px solid rgba(255, 255, 255, .8);
        box-sizing: border-box;
    }


/* =====================================================
   FAQ
===================================================== */

.faq-item {
    border-top: 2px solid rgba(255, 255, 255, 0.5);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
    padding: 18px 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
}

    .faq-question:focus {
        outline: none;
    }

    .faq-question span:first-child {
        flex: 1;
    }

.faq-icon {
    flex-shrink: 0;
    font-size: 40px;
    line-height: 1;
}

    .faq-icon::before {
        content: "+";
    }

.faq-question:not(.collapsed) .faq-icon::before {
    content: "−";
}

.faq-answer {
    padding: 0 0 25px;
    color: #fff;
    font-size: 20px;
    line-height: 1.8;
}


/* =====================================================
   HELPFUL TERMS SECTION
===================================================== */

.terms-card-container {
    width: 100%;
    padding: 0 85px;
    margin-bottom: 100px;
    box-sizing: border-box;
}

.terms-card {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 35px;
    color: #fff;
}

.terms-card-img {
    display: block;
    width: 46%;
    height: 280px;
    object-fit: cover;
}

/* Content */
.terms-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Titre */
.terms-card-title {
    margin: 0;
    padding-left: 25px;
    font-size: 2rem;
    line-height: .95;
    letter-spacing: 4px;
    text-transform: uppercase;
    padding-top:10px;
}

.terms-card-desc {
    margin-top: 40px;
    border: 2px solid #fff;
    border-left: none;
    padding: 15px 1px 15px 25px;
    font-size: 18px;
    line-height: 1.6;
}
    /* =====================================================
   SINGLE CARD
===================================================== */

    @media (max-width: 1000px) {
        .single-card-img {
            height: 240px;
        }

        .single-card-title {
            font-size: 44px;
        }
    }

    /* =====================================================
   TABLET - 992px
===================================================== */

    @media (max-width: 992px) {
        /* Buyer / Seller */

        .buyer-seller-section,
        .seller-section,
        .buyer-section {
            padding: 0 30px;
        }

        .seller-content,
        .buyer-content {
            flex-direction: column;
            align-items: center;
            gap: 50px;
        }

        .buyer-content {
            flex-direction: column-reverse;
        }

        .seller-faq {
            width: 100%;
        }

        .fac-image {
            width: 100%;
            max-width: 420px;
        }

            .fac-image img {
                max-width: 320px;
            }

            .fac-image .frame {
                max-width: 360px;
                height: 330px;
            }
        /* Helpful Terms */

        .terms-card-container {
            padding: 0 40px;
            margin-bottom: 70px;
        }

        .terms-card {
            flex-direction: column;
            margin-bottom: 40px;
        }

        .terms-card-img {
            width: 100%;
            height: 280px;
        }

        .terms-card-content {
            width: 100%;
        }

        .terms-card-title {
            padding: 25px 20px 0;
            font-size: 1.8rem;
            line-height: 1.2;
            letter-spacing: 2px;
        }

        .terms-card-desc {
            margin-top: 18px;
            padding: 20px;
            border: 2px solid #fff;
            line-height: 1.7;
        }
    }
    /* =====================================================
   MOBILE - 768px
===================================================== */

@media (max-width: 768px) {

    .buyer-seller-section,
    .seller-section,
    .buyer-section {
        padding: 0 20px;
    }

    .seller-content,
    .buyer-content {
        gap: 40px;
    }

    .section-title {
        font-size: 2rem;
    }

    .fac-image {
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }

        .fac-image img {
            width: 100%;
            max-width: 220px;
            height: auto;
            object-fit: cover;
        }

        .fac-image .frame {
            width: 100%;
            max-width: 265px;
            height: 265px;
            top: 18px;
            left: 50%;
            transform: translateX(-50%);
        }

    .faq-question {
        gap: 12px;
        padding: 16px 0;
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .faq-icon {
        font-size: 28px;
    }

    .faq-answer {
        padding-bottom: 18px;
        line-height: 1.6;
    }
    /* Helpful Terms */

    .terms-card-container {
        padding: 0 20px;
    }

    .terms-card-img {
        height: 240px;
    }

    .terms-card-title {
        padding: 25px 0 0;
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .terms-card-desc {
        padding: 20px;
        line-height: 1.7;
    }
    /* Single Card */

    .single-card {
        flex-direction: column;
    }

    .single-card-img {
        width: 100%;
        height: 260px;
    }

    .single-card-title {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .single-card-desc {
        margin-top: 16px;
        padding: 18px;
        border-left: 2px solid #fff;
    }

    .single-card-container {
        padding: 0 20px;
    }
}
     
    /* =====================================================
   SMALL MOBILE - 480px
===================================================== */

    @media (max-width: 480px) {
        /* Buyer / Seller */

        .seller-section,
        .buyer-section {
            padding: 40px 30px;
        }

        .fac-image {
            max-width: 260px;
        }

            .fac-image img {
                max-width: 220px;
            }
        /* Helpful Terms */

        .terms-card-container {
            padding: 0 15px;
            margin-bottom: 50px;
        }

        .terms-card {
            margin-bottom: 35px;
        }

        .terms-card-img {
            height: auto;
        }

        .terms-card-desc {
            margin-top: 20px;
            padding: 15px;
            font-size: 1.5rem;
            line-height: 1.6;
        }
    }
