/* Project Page Scoped Styles */
.project-page {
    --project-gray: #646464;
    --project-gray-rgb: 100, 100, 100;
    --project-white: #ffffff;
    --project-white-rgb: 255, 255, 255;
    --project-base: #c21f24;
    --project-base-rgb: 207, 31, 31;
    --project-black: #171a1d;
    --project-black-rgb: 23, 26, 29;
    --project-primary: #f7f7f9;
    --project-primary-rgb: 247, 247, 249;
    --project-bdr-radius: 8px;
}

.project-page dl, .project-page ol, .project-page ul {
    margin-top: 0;
    margin-bottom: 0;
}

/* Section Title */
.project-section-title {
    position: relative;
    display: block;
    margin-top: -6px;
    margin-bottom: 49px;
    z-index: 1;
}

.project-section-title-tagline {
    position: relative;
    display: inline-block;
    font-size: 16px;
    line-height: 16px;
    color: var(--project-base);
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
}

    .project-section-title-tagline:before {
        position: absolute;
        top: 6px;
        left: -56px;
        width: 40px;
        height: 2px;
        background-color: var(--project-base);
        content: "";
    }

    .project-section-title-tagline:after {
        position: absolute;
        top: 6px;
        right: -56px;
        width: 40px;
        height: 2px;
        background-color: var(--project-base);
        content: "";
    }

.project-section-title-title {
    margin: 0;
    color: var(--project-black);
    font-size: 42px;
    line-height: 52px;
    font-weight: 600;
    margin-top: 14px;
}

.project-section-title--two {
    margin-bottom: 57px;
}

.project-section-title-text {
    padding-top: 20px;
}

/* Header */
.project-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 450px;
    min-height: 450px;
    padding: 24px 0;
    background-color: var(--project-base);
    overflow: hidden;
    z-index: 1;
}

.project-header-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -1;
}

.project-header-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 0;
}

.project-header-inner {
    position: relative;
    display: block;
    text-align: center;
    z-index: 15;
}

    .project-header-inner h2 {
        font-size: 60px;
        color: var(--project-white);
        line-height: 60px;
        font-weight: 700;
    }

    .project-header-inner p {
        font-size: 20px;
        color: var(--project-white);
        font-weight: 600;
        line-height: 30px;
        padding-top: 24px;
    }

/* Section 1 */
.project-section-1 {
    position: relative;
    display: block;
    background-color: var(--project-primary);
    padding: 120px 0 0;
    z-index: 1;
}

.project-section-1-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: .25;
    z-index: -1;
}

/* Section 1 - Skill */
.project-section-1-skill .project-section-title {
    margin-bottom: 27px;
}

.project-section-1-skill .project-section-title-tagline:after {
    display: none;
}

.project-section-1-skill .project-section-title-tagline {
    margin-left: 58px;
}

.project-section-1-skill-left {
    position: relative;
    display: block;
}

.project-section-1-skill-text,
.project-section-1-skill-text-2 {
    line-height: 25px;
}

.project-section-1-skill-text-2 {
    padding-top: 16px;
}

.project-section-1-skill-progress {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 38px;
}

.project-section-1-skill-progress-single {
    position: relative;
    display: block;
}

.project-section-1-skill-progress-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 30px;
    color: var(--project-white);
    padding-left: 15px;
}

.project-section-1-skill-progress .bar {
    position: relative;
    width: 100%;
    height: 30px;
    background-color: var(--project-white);
    border-radius: 0px;
    margin-bottom: 20px;
}

.project-section-1-skill-progress .bar-inner {
    position: relative;
    display: block;
    width: 0px;
    height: 30px;
    border-radius: 0;
    background-color: var(--project-base);
    transition: all 1500ms ease;
}

.project-section-1-skill-progress .project-count-text {
    position: absolute;
    right: 15px;
    bottom: 1px;
    color: var(--project-white);
    line-height: 24px;
    font-size: 14px;
    text-align: center;
    font-weight: 600;
    opacity: 0;
    transition: all 500ms ease;
}

.project-section-1-skill-progress .bar-inner.counted .project-count-text {
    opacity: 1;
}

.project-section-1-skill-progress .bar.marb-0 {
    margin-bottom: 0;
}

.project-section-1-skill-right {
    position: relative;
    display: block;
    margin-left: 145px;
}

.project-section-1-skill-right-img-box {
    position: relative;
    display: block;
}

.project-section-1-skill-right-img {
    position: relative;
    display: block;
    border-radius: 7px;
    background-color: var(--project-base);
}

    .project-section-1-skill-right-img img {
        width: 100%;
        border-radius: 7px;
    }

.project-section-1-skill-video-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.project-section-1-skill-video-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    font-size: 24px;
    color: var(--project-base);
    background-color: rgba(var(--project-white-rgb), 0.30);
    border-radius: 50%;
    transition: all 0.5s ease;
    z-index: 1;
}

    .project-section-1-skill-video-icon:hover {
        color: var(--project-white);
    }

    .project-section-1-skill-video-icon::after {
        content: "";
        position: relative;
        z-index: 2;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 10px 0 10px 18px;
        border-color: transparent transparent transparent var(--project-base);
        margin-left: 4px;
        transition: all 0.5s ease;
    }

    .project-section-1-skill-video-icon:hover::after {
        border-color: transparent transparent transparent var(--project-white);
    }

    .project-section-1-skill-video-icon:before {
        position: absolute;
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        background-color: var(--project-white);
        border-radius: 50%;
        content: "";
        transition: all 0.5s ease;
        z-index: 1;
    }

    .project-section-1-skill-video-icon:hover::before {
        background-color: var(--project-base);
    }

.project-section-1-skill-video-content {
    position: absolute;
    top: 50%;
    left: -98px;
    max-width: 195px;
    background-color: var(--project-white);
    box-shadow: 0px 8px 29px 0px rgba(0, 0, 0, 0.1);
    padding: 52px 24px 52px;
    border-radius: 6px;
    transform: translateY(-50%);
    z-index: 2;
}

    .project-section-1-skill-video-content p {
        font-size: 20px;
        font-weight: 600;
        line-height: 30px;
        color: var(--project-black);
    }

/* Section 1 - Counter */
.project-section-1-counter {
    position: relative;
    display: block;
    padding: 60px 0 40px;
    z-index: 1;
}

.project-section-1-counter-list {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.project-section-1-counter-single {
    position: relative;
    flex: 0 0 25%;
    max-width: 25%;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

    .project-section-1-counter-single:before {
        position: absolute;
        top: 20px;
        bottom: -1px;
        right: 0;
        content: "";
        width: 1px;
        background-color: var(--project-black);
    }

    .project-section-1-counter-single:last-child:before {
        display: none;
    }

    .project-section-1-counter-single h3 {
        font-size: 60px;
        line-height: 60px !important;
        color: var(--project-base);
        font-weight: 600;
    }

.project-section-1-counter-plus {
    font-size: 60px;
    line-height: 70px !important;
    color: var(--project-base);
    position: relative;
    top: 16px;
    left: -5px;
    font-weight: 600;
}

.project-section-1-counter-text {
    font-size: 24px;
    font-weight: 600;
    line-height: 34px;
    color: var(--project-black);
    margin-top: 8px;
}

/* Section 4 */
.project-section-4 {
    position: relative;
    display: block;
    background-color: var(--project-primary);
    overflow: hidden;
    padding: 120px 0 90px;
    z-index: 1;
}

.project-section-4-bg {
    position: absolute;
    top: 0;
    bottom: -20px;
    left: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -1;
}

.project-section-4 .project-section-title-title {
    color: var(--project-black);
}

.project-section-4-single {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #272a2d;
    padding: 26px 25px 26px;
    border-radius: 6px;
    margin-bottom: 30px;
    transition: all 500ms ease;
    z-index: 1;
}

    .project-section-4-single:hover {
        transform: translateY(-10px);
    }

    .project-section-4-single:before {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        content: "";
        background-color: var(--project-base);
        border-radius: 6px;
        transform: scaleX(0.0);
        transform-origin: center;
        transform-style: preserve-3d;
        transition: all 0.4s linear;
        z-index: -1;
    }

    .project-section-4-single:hover:before {
        transform: scaleX(1.0);
    }

.project-section-4-icon {
    position: relative;
    display: block;
}

    .project-section-4-icon span {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        background-color: var(--project-base);
        border-radius: 50%;
        font-size: 30px;
        color: var(--project-white);
        transition: all 500ms linear;
        transition-delay: 0.1s;
        transform: scale(1);
    }

.project-section-4-single:hover .project-section-4-icon span {
    background-color: var(--project-white);
    color: var(--project-base);
    transform: scale(0.9);
}

.project-section-4-content {
    position: relative;
    display: block;
    margin-left: 20px;
}

.project-section-4-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 8px;
}

    .project-section-4-title a {
        color: var(--project-white);
        transition: all 500ms ease;
    }

        .project-section-4-title a:hover {
            color: var(--project-black);
        }

.project-section-4-text {
    color: var(--project-white);
}

/* Section 5 */
.project-section-5 {
    position: relative;
    display: block;
    padding: 120px 0 90px;
    z-index: 1;
}

.project-section-5-bg {
    position: absolute;
    top: 75px;
    bottom: 75px;
    left: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -1;
}

/* Section 2 */
.project-section-2 {
    position: relative;
    display: block;
    padding: 120px 0 120px;
}

    .project-section-2 .row,
    .project-section-5 .row {
        display: flex;
        flex-wrap: wrap;
    }

    .project-section-2 [class*="col-"],
    .project-section-5 [class*="col-"] {
        display: flex;
    }

/* Project Card (Ortak Kart Stili) */
.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 8px 29px 0px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    margin-bottom: 30px;
}

.project-card-img {
    position: relative;
    display: block;
    border-radius: 0;
    overflow: hidden;
    z-index: 1;
}

    .project-card-img:before {
        position: absolute;
        content: '';
        left: 0px;
        bottom: 0px;
        width: 50%;
        height: 100%;
        background-color: rgba(var(--project-base-rgb), .70);
        border-radius: 0;
        visibility: hidden;
        opacity: 0;
        transform-style: preserve-3d;
        transform: perspective(370px) translateY(100%);
        transform-origin: left;
        transition: all 900ms ease;
        z-index: 1;
    }

.project-card:hover .project-card-img:before {
    visibility: visible;
    opacity: 1;
    transform: perspective(370px) translateY(0%);
}

.project-card-img:after {
    position: absolute;
    content: '';
    top: 0px;
    right: 0px;
    width: 50%;
    height: 100%;
    background-color: rgba(var(--project-base-rgb), .70);
    border-radius: 0;
    visibility: hidden;
    opacity: 0;
    transform-style: preserve-3d;
    transform: perspective(370px) translateY(-100%);
    transform-origin: top;
    transition: all 900ms ease;
    z-index: 1;
}

.project-card:hover .project-card-img:after {
    visibility: visible;
    opacity: 1;
    transform: perspective(370px) translateY(0%);
}

/* Overlay kartlarda varsayılan koyu katman + hover efekti */
.project-card--overlay .project-card-img:before {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .68) 0%,
        rgba(0, 0, 0, .32) 50%,
        rgba(0, 0, 0, .20) 100%
    );
    border-radius: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: background .4s ease;
    z-index: 1;
}

.project-card--overlay:hover .project-card-img:before {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .82) 0%,
        rgba(0, 0, 0, .48) 50%,
        rgba(0, 0, 0, .32) 100%
    );
}

.project-card--overlay .project-card-img:after {
    display: none;
}

.project-card--overlay .project-card-plus {
    display: none;
}

.project-card-img img {
    width: 100%;
    border-radius: 0;
    transform: scale(1);
    transition: transform .4s ease;
}

.project-card:hover .project-card-img img {
    transform: scale(1.05);
}

.project-card--overlay:hover .project-card-img img {
    transform: scale(1.04);
}

.project-card-plus {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-45deg) scale(0);
    transition: all 600ms ease;
    z-index: 3;
}

.project-card:hover .project-card-plus {
    transform: rotate(0deg) scale(1);
    transition-delay: 700ms;
}

.project-card-plus a {
    height: 50px;
    width: 50px;
    line-height: 50px;
    background-color: var(--project-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--project-base);
    transition: all 500ms ease;
}

    .project-card-plus a:hover {
        color: var(--project-white);
        background-color: var(--project-black);
    }

.project-card-content {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 47px 20px 27px;
}

.project-card-title {
    font-size: 22px;
    font-weight: 500;
    line-height: 32px;
    min-height: 64px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

    .project-card-title a {
        color: var(--project-black);
        transition: all 500ms ease;
    }

        .project-card-title a:hover {
            color: var(--project-base);
        }

.project-card-text {
    padding-top: 15px;
    padding-bottom: 21px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-read-more {
    font-size: 16px;
    color: var(--project-base);
    font-weight: 400;
    transition: all 500ms ease;
    margin-top: auto;
}

    .project-card-read-more:hover {
        color: #394348;
    }

    .project-card-read-more:after {
        content: "\f105";
        font-family: 'FontAwesome';
        color: var(--project-base);
        padding-left: 5px;
    }

.project-card-title-muted {
    font-weight: 400;
}

/* Overlay Kart Stili (Bölüm 2 & 5) */
.project-card--overlay .project-card-img {
    position: relative;
}

.project-card-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 20px 26px;
    background: transparent;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Logo */
.project-card-logo {
    display: block;
    margin-bottom: 12px;
}

    .project-card-logo img {
        display: block;
        max-height: 58px;
        width: auto;
        max-width: 70%;
        object-fit: contain;
    }

    .project-card-overlay-content .project-card-title {
        min-height: auto;
        margin: 0 0 4px;
        font-size: 19px;
        line-height: 27px;
    }

        .project-card-overlay-content .project-card-title a {
            color: var(--project-white);
            font-weight: 700;
            text-shadow: 0 1px 3px rgba(0,0,0,.4);
        }

        .project-card-overlay-content .project-card-title-muted {
            color: var(--project-white);
            font-weight: 400;
        }

            .project-card-overlay-content .project-card-title a:hover {
                color: var(--project-white);
                opacity: .85;
            }

    .project-card-overlay-content .project-card-read-more {
        display: inline-block;
        color: var(--project-white);
        font-size: 13px;
        font-weight: 600;
        background-color: var(--project-base);
        padding: 5px 16px;
        border-radius: 2px;
        margin-top: 8px;
        transition: background-color .3s ease, opacity .3s ease;
    }

        .project-card-overlay-content .project-card-read-more:after {
            color: var(--project-white);
        }

        .project-card-overlay-content .project-card-read-more:hover {
            background-color: var(--project-white);
            color: var(--project-black);
            opacity: 1;
        }

        .project-card-overlay-content .project-card-read-more:hover:after {
            color: var(--project-black);
        }

.project-card--overlay .project-card-content {
    display: none;
}

/* Kırmızı Şerit */
.project-card-stripe {
    height: 3px;
    background-color: var(--project-base);
    width: 100%;
}

/* Bölüm 5 — Küçük Font */
.project-card--sm .project-card-overlay-content .project-card-title {
    font-size: 15px;
    line-height: 22px;
    -webkit-line-clamp: 2;
}

.project-card--sm .project-card-overlay-content .project-card-read-more {
    font-size: 12px;
    padding: 4px 12px;
    margin-top: 6px;
}

.project-card--sm .project-card-logo {
    margin-bottom: 8px;
}

    .project-card--sm .project-card-logo img {
        max-height: 42px;
        max-width: 60%;
    }

.project-card--sm .project-card-overlay-content {
    padding: 16px 16px 22px;
}


/* Section 3 */
.project-section-3 {
    position: relative;
    display: block;
    background-color: var(--project-base);
    overflow: hidden;
    padding: 120px 0 40px;
    z-index: 1;
}

.project-section-3-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -1;
}

.project-section-3-inner {
    position: relative;
    display: block;
}

    .project-section-3-inner .project-section-title--two {
        margin-bottom: 30px;
    }

    .project-section-3-inner .project-section-title-tagline {
        color: var(--project-white);
    }

        .project-section-3-inner .project-section-title-tagline:before,
        .project-section-3-inner .project-section-title-tagline:after {
            background-color: var(--project-white);
        }

    .project-section-3-inner .project-section-title-title {
        color: var(--project-white);
    }

    .project-section-3-inner .project-section-title-text {
        color: var(--project-white);
    }

.project-section-3-details-box {
    position: relative;
    display: block;
    margin-top: 100px;
}

.project-section-3-details {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 30px;
}

    .project-section-3-details li {
        position: relative;
        display: flex;
        align-items: center;
        background-color: var(--project-white);
        border-radius: var(--project-bdr-radius);
        padding: 20px 20px 20px;
        max-width: 325px;
        width: 100%;
        align-self: stretch;
    }

        .project-section-3-details li .icon {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 55px;
            width: 55px;
            border-radius: 50%;
            background-color: var(--project-base);
            transition: all 500ms ease;
        }

        .project-section-3-details li:hover .icon {
            background-color: var(--project-black);
        }

        .project-section-3-details li .icon span {
            position: relative;
            display: inline-block;
            font-size: 25px;
            color: var(--project-white);
            transition: all 500ms linear;
            transition-delay: 0.1s;
            transform: scale(1);
        }

        .project-section-3-details li:hover .icon span {
            transform: scale(.9);
        }

        .project-section-3-details li .content {
            margin-left: 15px;
            flex: 1;
        }

            .project-section-3-details li .content span {
                position: relative;
                display: block;
                font-size: 22px;
                color: var(--project-black);
                font-weight: 700;
                line-height: 24px;
                margin-bottom: 10px;
            }

            .project-section-3-details li .content p {
                font-size: 16px;
                line-height: 30px;
            }

                .project-section-3-details li .content p a {
                    color: var(--project-gray);
                    transition: all 500ms ease;
                }

                    .project-section-3-details li .content p a:hover {
                        color: var(--project-base);
                    }

/* Float Bob Animation */
.project-float-bob-y {
    animation-name: project-float-bob-y;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes project-float-bob-y {
    0% {
        transform: translateY(-20px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(-20px);
    }
}

/* Responsive */
@media only screen and (max-width: 1199px) {
    .project-section-1-skill-right {
        margin-left: 0;
        margin-top: 50px;
    }

    .project-section-1-skill-video-content {
        left: 20px;
    }

    .project-section-1-counter-single {
        flex: 0 0 50%;
        max-width: 50%;
    }

        .project-section-1-counter-single:nth-child(2):before {
            display: none;
        }
}

@media only screen and (max-width: 991px) {
    .project-header {
        height: 450px;
        min-height: 450px;
        padding: 24px 0;
    }

    .project-header-inner h2 {
        font-size: 40px;
        line-height: 50px;
    }

    .project-section-title-title {
        font-size: 32px;
        line-height: 42px;
    }

    .project-section-3-details {
        flex-direction: column;
        align-items: center;
    }

        .project-section-3-details li {
            max-width: 100%;
        }

    .project-section-3-details-box {
        margin-top: 50px;
    }

    .project-section-1,
    .project-section-2,
    .project-section-4,
    .project-section-5 {
        padding-top: 60px;
        padding-bottom: 45px;
    }

    .project-section-3 {
        padding-top: 60px;
        padding-bottom: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .project-section-1-counter-single {
        flex: 0 0 100%;
        max-width: 100%;
    }

        .project-section-1-counter-single:before {
            display: none;
        }

    .project-header-inner h2 {
        font-size: 30px;
        line-height: 40px;
    }

    .project-section-title-title {
        font-size: 26px;
        line-height: 36px;
    }

    .project-section-1-counter-single h3,
    .project-section-1-counter-plus {
        font-size: 40px;
        line-height: 40px !important;
    }

    .project-section-1-skill-video-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        max-width: 100%;
        margin-top: 20px;
    }

    .project-section-title {
        margin-bottom: 30px;
    }

    .project-section-title--two {
        margin-bottom: 30px;
    }

    .project-section-4-title {
        font-size: 17px;
        line-height: 24px;
    }

    .project-section-4-single {
        padding: 18px 15px;
    }

    .project-section-1-counter-text {
        font-size: 18px;
        line-height: 26px;
    }
}

@media only screen and (max-width: 549px) {
    .project-section-1-skill-progress-title {
        font-size: 11px;
        line-height: 26px;
        padding-left: 8px;
    }

    .project-section-1-skill-progress .bar,
    .project-section-1-skill-progress .bar-inner {
        height: 26px;
    }

    .project-section-1-skill-progress .project-count-text {
        font-size: 11px;
        line-height: 22px;
        right: 8px;
    }
}
