@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* =====================================================
   BUYERS PAGE — buyers.css
   All styles scoped with "buyers-" prefix so they
   never bleed into other pages on the site.
   Place this file in: public/front/css/buyers.css
   ===================================================== */

/* -------------------------------------------------------
   1. HERO BANNER — full-width video background
-------------------------------------------------------- */

/* Outer section: sized, clips the video, stacks children */
.buyers-hero {
    position: relative;
    width: 100%;
    min-height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video fills the section like a background image */
.buyers-hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Overlay sits above the video, below the card */
.buyers-hero__overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

/* White card centred over the video */
.buyers-hero__card {
    background: #ffffff;
    padding: 45px 70px;
    text-align: center;
    max-width: 580px;
    width: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.buyers-hero__title {
    font-family: "Playfair Display", serif;
    font-size: 54px;
    font-weight: 700;
    color: #23b8bb;
    margin: 0 0 14px 0;
    line-height: 1.1;
}

.buyers-hero__subtitle {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    color: #888888;
    margin: 0;
    letter-spacing: 0.3px;
    line-height: 1.5;
}

/* -------------------------------------------------------
   2. THREE-COLUMN CARDS SECTION
-------------------------------------------------------- */
.buyers-cards-sec {
    padding: 65px 0 50px;
    background: #ffffff;
}

.buyers-cards-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.buyers-cards-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.buyers-card {
    flex: 1 1 280px;
    min-width: 220px;
}

.buyers-card__img-wrap {
    width: 100%;
    margin-bottom: 16px;
    overflow: hidden;
}

.buyers-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.buyers-card__heading {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #23b8bb;
    margin: 0 0 10px 0;
    text-transform: none;
}

.buyers-card__link {
    color: inherit;
    text-decoration: none;
}

.buyers-card__link:hover {
    text-decoration: underline;
}

.buyers-card__text {
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    color: #555555;
    line-height: 1.7;
    margin: 0 0 10px 0;
}

/* -------------------------------------------------------
   3. CONTACT US HEADING
-------------------------------------------------------- */
.buyers-contact-heading {
    text-align: center;
    padding: 30px 20px 20px;
    background: #ffffff;
}

.buyers-contact-heading__title {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #23b8bb;
    margin: 0;
    text-transform: none;
}

/* -------------------------------------------------------
   4. BEACH DIVIDER
-------------------------------------------------------- */
.buyers-beach-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.buyers-beach-divider__img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 220px;
}

/* -------------------------------------------------------
   5. RESPONSIVE
-------------------------------------------------------- */
@media (max-width: 992px) {
    .buyers-cards-row {
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .buyers-hero {
        min-height: 360px;
    }

    .buyers-hero__title {
        font-size: 38px;
    }

    .buyers-hero__card {
        padding: 32px 28px;
        max-width: 90%;
    }

    /* Keep video covering on mobile */
    .buyers-hero__video {
        width: 100%;
        height: 100%;
        min-width: unset;
        min-height: unset;
    }

    .buyers-cards-row {
        flex-direction: column;
        gap: 36px;
    }

    .buyers-card__img {
        height: 180px;
    }

    .buyers-cards-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .buyers-hero__title {
        font-size: 30px;
    }

    .buyers-hero__subtitle {
        font-size: 13px;
    }

    .buyers-hero__card {
        padding: 24px 18px;
    }
}