/* =======================================
   MECHANIC PAGE — MATCHES ALL OTHER PAGES
   WITH INDIVIDUAL IMAGE CROP CONTROLS
========================================== */

/* ROOT VARIABLES FOR MAIN IMAGE CONTROL */
:root {
    --mech-main-height: 600px;
    --mech-main-fit: cover;
    --mech-main-x: 50%;
    --mech-main-y: 55%;
}

/* HERO */
.service-hero {
    padding-top: 7rem;
    padding-bottom: 2rem;
    min-height: 260px;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center 60%;
    text-align: center;
}

.service-hero h1 {
    color: #ea0188;
    font-size: 2.5rem;
    font-weight: 700;
}

/* MAIN IMAGE */
.mechanic-main-img {
    width: 100%;
    height: var(--mech-main-height);
    object-fit: var(--mech-main-fit);
    object-position: var(--mech-main-x) var(--mech-main-y);
    border-radius: 12px;
    margin-bottom: 2rem;
}

/* DESCRIPTION */
.desc-title {
    text-align: center;
    color: #ea0188;
    margin-bottom: 0.6rem;
}

.service-description p {
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #c7c7c7;
    line-height: 1.6;
    font-size: 1.05rem;
    padding: 0 1rem;
}

/* ADDITIONAL IMAGES GRID */
.additional-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* BASE TEMPLATE FOR INDIVIDUAL CROPS */
.mech-img-base {
    width: 100%;
    height: var(--h, 340px);
    object-fit: var(--fit, cover);
    object-position: var(--x, 50%) var(--y, 50%);
    border-radius: 10px;
}

/* INDIVIDUAL IMAGE CONTROLS */

/* Image 1 */
.mechanic-img-1 {
    --h: 360px;
    --fit: cover;
    --x: 50%;
    --y: 90%;   /* adjust vertical crop here */
}

/* Image 2 */
.mechanic-img-2 {
    --h: 360px;
    --fit: cover;
    --x: 50%;
    --y: 52%;
}

/* Image 3 */
.mechanic-img-3 {
    --h: 360px;
    --fit: cover;
    --x: 50%;
    --y: 80%;
}

/* CTA BUTTON */
.cta-btn {
    display: block;
    background: #ea0188;
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    margin: 2.5rem auto 3rem;
    max-width: 300px;
    text-align: center;
    font-weight: 600;
    transition: 0.25s;
}

.cta-btn:hover {
    background-color: #b8006a;
    transform: translateY(-2px);
}

/* MOBILE FIXES */
@media (max-width: 768px) {

    .mechanic-main-img {
        height: 280px;
        object-position: var(--mech-main-x) var(--mech-main-y);
    }

    .additional-images {
        grid-template-columns: 1fr;
    }

    .mech-img-base {
        height: 230px !important;
        object-position: var(--x) var(--y);
    }

    .service-description p {
        padding: 0 1.2rem;
        font-size: 1rem;
    }
}

/* FIX HERO SPACING */
.service-hero {
    padding-bottom: 0.3rem !important;
}
.service-content {
    padding-top: 0 !important;
}
