/* =========================================================
   MOTO747 SERVICE CATEGORY SECTION
========================================================= */

:root {
    --m747-yellow: #f6c600;
    --m747-yellow-dark: #d5aa00;
    --m747-black: #070707;
    --m747-dark: #101010;
    --m747-dark-soft: #181818;
    --m747-white: #ffffff;
    --m747-text-soft: rgba(255, 255, 255, 0.66);
    --m747-border: rgba(255, 255, 255, 0.10);
}


/* =========================================================
   SERVICES SECTION
========================================================= */

.moto-services-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #050505 0%,
            #0b0b0c 52%,
            #141414 100%
        );
}

/* Endüstriyel kare desen */
.moto-services-section::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    opacity: 0.10;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.12) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.12) 1px,
            transparent 1px
        );
    background-size: 70px 70px;
}

/* Alt koyu geçiş */
.moto-services-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.10) 0%,
            rgba(0, 0, 0, 0.35) 55%,
            rgba(0, 0, 0, 0.85) 100%
        );
}

/* Sarı ışık efekti */
.moto-services-light {
    position: absolute;
    top: -260px;
    left: 50%;
    z-index: 1;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    pointer-events: none;
    transform: translateX(-50%);
    background: rgba(246, 198, 0, 0.13);
    filter: blur(150px);
}

.moto-services-section .container {
    position: relative;
    z-index: 3;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.moto-services-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    color: var(--m747-yellow);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.moto-services-subtitle::before,
.moto-services-subtitle::after {
    width: 38px;
    height: 2px;
    content: "";
    background: var(--m747-yellow);
    box-shadow: 0 0 14px rgba(246, 198, 0, 0.55);
}

.moto-services-title {
    max-width: 900px;
    margin: 0 auto;
    color: var(--m747-white);
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -2.5px;
    text-transform: uppercase;
}

.moto-services-title span {
    display: block;
    color: var(--m747-yellow);
}

.moto-services-line {
    position: relative;
    width: 95px;
    height: 3px;
    margin: 28px auto;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

.moto-services-line::before {
    position: absolute;
    inset: 0;
    width: 55%;
    content: "";
    background: var(--m747-yellow);
    box-shadow: 0 0 16px rgba(246, 198, 0, 0.70);
}

.moto-services-text {
    max-width: 760px;
    margin: 0 auto;
    color: var(--m747-text-soft);
    font-size: 17px;
    line-height: 1.85;
}

.moto-services-category-wrapper {
    position: relative;
    z-index: 4;
    margin-top: 65px;
}


/* =========================================================
   CATEGORY GRID
========================================================= */

.m747-category-grid {
    position: relative;
    width: 100%;
}


/* =========================================================
   CATEGORY CARD
========================================================= */

.m747-category-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: var(--m747-dark);
    border: 1px solid var(--m747-border);
    border-radius: 4px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.26);
    transition:
        transform 0.40s ease,
        border-color 0.40s ease,
        box-shadow 0.40s ease;
}

.m747-category-card:hover {
    border-color: rgba(246, 198, 0, 0.52);
    box-shadow:
        0 32px 75px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(246, 198, 0, 0.08);
    transform: translateY(-10px);
}

.m747-category-link {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   CATEGORY IMAGE
========================================================= */

.m747-category-image {
    position: relative;
    height: 285px;
    overflow: hidden;
    background: #090909;
}

.m747-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter:
        brightness(0.86)
        contrast(1.08)
        saturate(1.05);
    transform: scale(1.02);
    transition:
        transform 0.80s cubic-bezier(.16, 1, .3, 1),
        filter 0.50s ease;
}

.m747-category-card:hover .m747-category-image img {
    filter:
        brightness(0.65)
        contrast(1.15)
        saturate(1.08);
    transform: scale(1.10);
}

.m747-category-dark-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.02) 0%,
            rgba(0, 0, 0, 0.16) 48%,
            rgba(0, 0, 0, 0.88) 100%
        );
}


/* =========================================================
   HOVER OVERLAY
========================================================= */

.m747-category-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: opacity 0.40s ease;
}

.m747-category-card:hover .m747-category-overlay {
    opacity: 1;
}

.m747-category-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    color: var(--m747-white);
    transform: translateY(20px);
    transition: transform 0.40s ease;
}

.m747-category-card:hover .m747-category-view {
    transform: translateY(0);
}

.m747-category-view-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    color: var(--m747-black);
    background: rgba(246, 198, 0, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.40);
    border-radius: 50%;
    font-size: 23px;
    box-shadow: 0 0 30px rgba(246, 198, 0, 0.30);
}

.m747-category-view-text {
    color: var(--m747-white);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* =========================================================
   SHINE EFFECT
========================================================= */

.m747-category-shine {
    position: absolute;
    top: 0;
    left: -130%;
    z-index: 4;
    width: 60%;
    height: 100%;
    content: "";
    pointer-events: none;
    transform: skewX(-22deg);
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.17),
            transparent
        );
    transition: left 0.85s ease;
}

.m747-category-card:hover .m747-category-shine {
    left: 150%;
}


/* =========================================================
   CORNER LABEL
========================================================= */

.m747-category-corner {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 5;
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding: 0 12px;
    color: var(--m747-black);
    background: var(--m747-yellow);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
    box-shadow: 0 10px 25px rgba(246, 198, 0, 0.24);
}


/* =========================================================
   CATEGORY CONTENT
========================================================= */

.m747-category-content {
    position: relative;
    display: flex;
    min-height: 145px;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 25px 24px 27px;
    background:
        linear-gradient(
            145deg,
            #141416 0%,
            #090909 100%
        );
}

.m747-category-content::before {
    position: absolute;
    top: 0;
    left: 24px;
    width: 48px;
    height: 3px;
    content: "";
    background: var(--m747-yellow);
    box-shadow: 0 0 15px rgba(246, 198, 0, 0.55);
}

.m747-category-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px;
}

.m747-category-label {
    color: var(--m747-yellow);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.m747-category-number {
    color: rgba(255, 255, 255, 0.27);
    font-size: 12px;
    font-weight: 800;
}

.m747-category-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.m747-category-bottom h3 {
    margin: 0;
    color: var(--m747-white);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    transition: color 0.30s ease;
}

.m747-category-card:hover .m747-category-bottom h3 {
    color: var(--m747-yellow);
}


/* =========================================================
   CATEGORY ARROW
========================================================= */

.m747-category-arrow {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    color: var(--m747-white);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition:
        color 0.30s ease,
        background 0.30s ease,
        border-color 0.30s ease,
        transform 0.30s ease;
}

.m747-category-card:hover .m747-category-arrow {
    color: var(--m747-black);
    background: var(--m747-yellow);
    border-color: var(--m747-yellow);
    transform: translateX(4px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199.98px) {

    .moto-services-section {
        padding: 105px 0;
    }

    .m747-category-image {
        height: 265px;
    }

}

@media (max-width: 991.98px) {

    .moto-services-section {
        padding: 90px 0;
    }

    .moto-services-title {
        font-size: 52px;
    }

    .moto-services-category-wrapper {
        margin-top: 50px;
    }

    .m747-category-image {
        height: 300px;
    }

}

@media (max-width: 767.98px) {

    .moto-services-section {
        padding: 75px 0;
    }

    .moto-services-subtitle {
        gap: 10px;
        font-size: 10px;
        letter-spacing: 2.5px;
    }

    .moto-services-subtitle::before,
    .moto-services-subtitle::after {
        width: 24px;
    }

    .moto-services-title {
        font-size: 37px;
        letter-spacing: -1.4px;
    }

    .moto-services-text {
        padding: 0 12px;
        font-size: 15px;
        line-height: 1.75;
    }

    .moto-services-category-wrapper {
        margin-top: 42px;
    }

    .m747-category-image {
        height: 280px;
    }

    .m747-category-content {
        min-height: 135px;
        padding: 22px;
    }

    .m747-category-content::before {
        left: 22px;
    }

    .m747-category-bottom h3 {
        font-size: 18px;
    }

}

@media (max-width: 480px) {

    .moto-services-section {
        padding: 65px 0;
    }

    .moto-services-title {
        font-size: 31px;
    }

    .moto-services-title span {
        margin-top: 5px;
    }

    .moto-services-text {
        font-size: 14px;
    }

    .m747-category-image {
        height: 245px;
    }

    .m747-category-view-icon {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }

    .m747-category-content {
        min-height: 125px;
        padding: 20px;
    }

    .m747-category-content::before {
        left: 20px;
    }

    .m747-category-bottom h3 {
        font-size: 17px;
    }

    .m747-category-arrow {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

}