/* ============================
   BUILD 3 – MATCH VISUAL FEEL OF BUILD 1 & 2
   ============================ */

:root {
    /* MAIN IMAGE CONTROL */
    --main-img-height: 450px;
    --main-img-position-x: center;
    --main-img-position-y: 62%;
    --main-img-fit: cover;

    /* DEFAULT GALLERY CONTROL */
    --gallery-default-height: 280px;
    --gallery-default-fit: cover;
}

/* -----------------------------
   FIX SPACING UNDER FIXED HEADER
-------------------------------- */
.service-hero {
    padding-top: 7rem;
    padding-bottom: 2rem;

    min-height: 260px;
    height: auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 55%;
    text-align: center;
}

.service-content {
    padding-top: 2rem;
}

/* -----------------------------
   TITLE + DESCRIPTION
-------------------------------- */
.build-title {
    color: #ea0188;
    text-align: center;
}

.build-description {
    color: #afa0a4;
    text-align: center;
    margin-bottom: 2rem;
}

/* -----------------------------
   MAIN IMAGE – FULL CONTROL
-------------------------------- */
.build-main-image {
    width: 100%;
    height: var(--main-img-height);
    object-fit: var(--main-img-fit);
    object-position: var(--main-img-position-x) var(--main-img-position-y);
    border-radius: 12px;
    margin: 0 auto 2rem;
    display: block;
}

/* -----------------------------
   GALLERY SYSTEM (FULL CONTROL)
-------------------------------- */

.build-gallery img {
    width: 100%;
    height: var(--gallery-height, var(--gallery-default-height));
    object-fit: var(--gallery-fit, var(--gallery-default-fit));
    object-position: var(--gallery-x, 50%) var(--gallery-y, 50%);
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* -----------------------------
   INDIVIDUAL IMAGE CONTROLS
-------------------------------- */

.img-1 {
    --gallery-height: 280px;
    --gallery-fit: cover;
    --gallery-x: 50%;
    --gallery-y: 65%;
}

.img-2 {
    --gallery-height: 280px;
    --gallery-fit: cover;
    --gallery-x: 50%;
    --gallery-y: 62%;
}

.img-3 {
    --gallery-height: 280px;
    --gallery-fit: cover;
    --gallery-x: 50%;
    --gallery-y: 68%;
}

/* -----------------------------
   CTA BUTTON – CONSISTENT
-------------------------------- */
.cta-btn {
    display: block !important;
    background-color: #ea0188;
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    margin: 2.5rem auto 3rem !important;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.cta-btn:hover {
    background-color: #b8006a;
    transform: translateY(-2px);
}



/* ============================
   MOBILE RESPONSIVE – FIX SPACING / PUSH IMAGES UP
   ============================ */

@media (max-width: 768px) {

    /* Keep hero tighter */
    .service-hero {
        padding-top: 4.5rem;
    }

    /* Pull main content up */
    .service-content {
        padding-top: 0.5rem !important;
    }

    /* MAIN IMAGE – big upward crop shift */
    .build-main-image {
        height: auto;
        max-height: 330px;
        object-position: center 60% !important;   /* MOVED UP SIGNIFICANTLY */
        margin-top: 0.25rem;
        margin-bottom: 1rem;
    }

    /* GALLERY – shift crops UP as well */
    .build-gallery {
        grid-template-columns: 1fr;
        padding: 0 0.8rem;
        margin-top: -0.3rem;
        gap: 0.6rem;
    }

    .build-gallery img {
        height: auto;
        max-height: 220px;

        object-position: center 65% !important;  /* SAME UPWARD SHIFT */
    }

    /* Description spacing */
    .build-description {
        margin-top: 0.3rem;
        padding: 0 1rem;
    }

    /* Button spacing */
    .cta-btn {
        margin-top: 1.8rem;
    }
}

