/* =========================================================
   MOTO747 VIDEO SHOWCASE
   ========================================================= */

.m747-video-showcase {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #050505;
}

.m747-background-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter:
        brightness(0.72)
        contrast(1.12)
        saturate(1.05);
}

.m747-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.94) 0%,
            rgba(0, 0, 0, 0.80) 32%,
            rgba(0, 0, 0, 0.42) 62%,
            rgba(0, 0, 0, 0.15) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.90) 0%,
            transparent 50%,
            rgba(0, 0, 0, 0.30) 100%
        );
}

.m747-video-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.07;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.20) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.20) 1px,
            transparent 1px
        );
    background-size: 80px 80px;
    -webkit-mask-image:
        linear-gradient(
            90deg,
            #000 0%,
            transparent 70%
        );
    mask-image:
        linear-gradient(
            90deg,
            #000 0%,
            transparent 70%
        );
}

.m747-video-red-light {
    position: absolute;
    top: -180px;
    left: -160px;
    z-index: 2;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    pointer-events: none;
    background: rgba(225, 6, 0, 0.23);
    filter: blur(150px);
}

.m747-video-showcase .container {
    z-index: 4;
    padding-top: 100px;
    padding-bottom: 150px;
}

.m747-video-content {
    position: relative;
    max-width: 820px;
    padding-left: 48px;
}

.m747-video-content::before {
    content: "";
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 3px;
    background:
        linear-gradient(
            180deg,
            #e10600 0%,
            #e10600 40%,
            rgba(255, 255, 255, 0.18) 40%,
            rgba(255, 255, 255, 0.18) 100%
        );
}

.m747-video-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    color: #e10600;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.m747-video-label > span {
    width: 42px;
    height: 2px;
    background: #e10600;
    box-shadow: 0 0 15px rgba(225, 6, 0, 0.70);
}

.m747-video-content h2 {
    max-width: 900px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(50px, 6vw, 88px);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -3.5px;
    text-transform: uppercase;
    text-shadow: 0 20px 55px rgba(0, 0, 0, 0.50);
}

.m747-video-content h2 strong {
    display: block;
    color: #e10600;
    font-weight: 900;
}

.m747-video-content > p {
    max-width: 670px;
    margin: 30px 0 0;
    color: rgba(255, 255, 255, 0.67);
    font-size: 17px;
    line-height: 1.85;
}

.m747-video-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.m747-video-play-button {
    min-height: 66px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    color: #ffffff;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.m747-video-play-icon {
    position: relative;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 15px;
    border-radius: 50%;
    background: #e10600;
    box-shadow:
        0 0 0 10px rgba(225, 6, 0, 0.12),
        0 15px 35px rgba(225, 6, 0, 0.30);
    transition: 0.35s ease;
}

.m747-video-play-icon::before {
    content: "";
    position: absolute;
    inset: -12px;
    border: 1px solid rgba(225, 6, 0, 0.36);
    border-radius: 50%;
    animation: m747VideoPulse 2s ease-out infinite;
}

.m747-video-play-button:hover .m747-video-play-icon {
    color: #111111;
    background: #ffffff;
    transform: scale(1.08);
}

.m747-video-play-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.m747-video-play-text strong {
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.m747-video-play-text small {
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
}

.m747-video-services-button {
    min-height: 60px;
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 0 28px;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(10px);
    transition: 0.35s ease;
}

.m747-video-services-button span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.m747-video-services-button i {
    color: #e10600;
    transition: 0.35s ease;
}

.m747-video-services-button:hover {
    color: #ffffff;
    border-color: #e10600;
    background: #e10600;
    transform: translateY(-4px);
}

.m747-video-services-button:hover i {
    color: #ffffff;
    transform: translateX(4px);
}


/* ALT İSTATİSTİKLER */

.m747-video-info {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(5, 5, 5, 0.78);
    backdrop-filter: blur(15px);
}

.m747-video-info > div {
    min-height: 110px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 35px;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.m747-video-info > div:last-child {
    border-right: 0;
}

.m747-video-info strong {
    color: #e10600;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}

.m747-video-info span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.m747-video-scroll-line {
    position: absolute;
    right: 40px;
    bottom: 135px;
    z-index: 6;
    width: 2px;
    height: 70px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.18);
}

.m747-video-scroll-line::before {
    content: "";
    position: absolute;
    top: -60%;
    left: 0;
    width: 100%;
    height: 45%;
    background: #e10600;
    animation: m747VideoScroll 2s ease-in-out infinite;
}


/* =========================================================
   VIDEO MODAL
   ========================================================= */

.m747-video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.m747-video-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.m747-video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
}

.m747-video-modal-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    transform: translateY(25px) scale(0.97);
    transition: transform 0.35s ease;
}

.m747-video-modal.is-active .m747-video-modal-dialog {
    transform: translateY(0) scale(1);
}

.m747-video-modal-close {
    position: absolute;
    top: -55px;
    right: 0;
    width: 44px;
    height: 44px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 19px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: 0.3s ease;
}

.m747-video-modal-close:hover {
    border-color: #e10600;
    background: #e10600;
    transform: rotate(90deg);
}

.m747-video-modal-video {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.65);
}

.m747-video-modal-video video {
    display: block;
    width: 100%;
    max-height: 78vh;
    background: #000000;
}


/* ANİMASYONLAR */

@keyframes m747VideoPulse {

    0% {
        opacity: 0.8;
        transform: scale(0.82);
    }

    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

@keyframes m747VideoScroll {

    0% {
        top: -60%;
    }

    60% {
        top: 110%;
    }

    100% {
        top: 110%;
    }
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .m747-video-showcase {
        min-height: 760px;
    }

    .m747-video-showcase .container {
        padding-top: 100px;
        padding-bottom: 150px;
    }

    .m747-video-content {
        max-width: 720px;
    }

    .m747-video-content h2 {
        font-size: 64px;
    }

    .m747-video-info > div {
        padding: 20px;
    }
}

@media (max-width: 767px) {

    .m747-video-showcase {
        min-height: 760px;
    }

    .m747-background-video {
        object-position: 60% center;
    }

    .m747-video-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.86),
                rgba(0, 0, 0, 0.50)
            ),
            linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.94),
                rgba(0, 0, 0, 0.20) 65%
            );
    }

    .m747-video-showcase .container {
        padding: 90px 20px 90px;
    }

    .m747-video-content {
        padding-left: 22px;
    }

    .m747-video-content::before {
        width: 2px;
    }

    .m747-video-label {
        font-size: 9px;
        letter-spacing: 2.3px;
    }

    .m747-video-label > span {
        width: 26px;
    }

    .m747-video-content h2 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .m747-video-content > p {
        margin-top: 22px;
        font-size: 15px;
        line-height: 1.75;
    }

    .m747-video-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .m747-video-services-button {
        width: 100%;
        max-width: 310px;
        justify-content: space-between;
    }

    .m747-video-info,
    .m747-video-scroll-line {
        display: none;
    }

    .m747-video-modal {
        padding: 15px;
    }

    .m747-video-modal-close {
        top: -50px;
    }
}

@media (max-width: 480px) {

    .m747-video-showcase {
        min-height: 700px;
    }

    .m747-video-content h2 {
        font-size: 35px;
    }

    .m747-video-content > p {
        font-size: 14px;
    }

    .m747-video-play-icon {
        width: 55px;
        height: 55px;
        flex-basis: 55px;
    }
}