﻿/* Extracted from index.Master */
.gallery-filter {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }

        .gallery-filter .btn-filter {
            border: 1px solid rgba(255, 255, 255, .2);
            background: transparent;
            color: #fff;
            padding: 10px 18px;
            border-radius: 6px;
            font-weight: 600;
        }

        .gallery-filter .btn-filter.active {
            background: var(--primary-color, #ffb400);
            color: #111;
            border-color: transparent;
        }

        .pinterest-gallery {
            column-count: 3;
            column-gap: 20px;
        }

        .pinterest-gallery .masonry-item {
            break-inside: avoid;
            margin-bottom: 20px;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

        .pinterest-gallery .masonry-item img {
            width: 100%;
            display: block;
        }

        .pinterest-gallery .masonry-caption {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            padding: 12px 14px;
            background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .75) 100%);
            font-weight: 600;
        }

        @media (max-width: 991px) {
            .pinterest-gallery {
                column-count: 2;
            }
        }

        @media (max-width: 575px) {
            .pinterest-gallery {
                column-count: 1;
            }
        }

        .follow-cta {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
        }

        .follow-cta img {
            height: 320px;
            object-fit: cover;
        }

        .follow-cta .follow-btn {
            position: absolute;
            left: 24px;
            bottom: 24px;
            padding: 10px 18px;
            border-radius: 6px;
            background: rgba(0, 0, 0, 0.55);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.3);
            font-weight: 700;
            letter-spacing: .3px;
        }

        /* YouTube Promo Card Styles */
        .youtube-card {
            position: relative;
            /* background-image removed for collage */
            /* background-image: url('images/misc/s5.webp'); */
            background-color: #000;
            border-radius: 10px;
            overflow: hidden;
            height: 100%;
            min-height: 400px;
            display: flex;
            align-items: flex-end;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            transition: transform 0.3s ease;
        }

        .youtube-card:hover {
            transform: translateY(-5px);
        }

        .youtube-bg-collage {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: repeat(2, 1fr);
            z-index: 0;
            filter: grayscale(30%);
            /* Optional: Make it look more cohesive */
        }

        .youtube-bg-collage img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.8;
            transition: opacity 0.5s ease;
        }

        .youtube-card:hover .youtube-bg-collage img {
            opacity: 1;
            filter: grayscale(0%);
        }

        .youtube-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.95));
            z-index: 1;
        }

        .youtube-content {
            position: relative;
            z-index: 2;
            padding: 40px;
            width: 100%;
        }

        .yt-icon-wrapper {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 2;
            width: 80px;
            height: 80px;
            background: rgba(255, 0, 0, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
            animation: pulse-red 2s infinite;
        }

        .yt-icon-wrapper i {
            color: white;
            font-size: 30px;
            margin-left: 5px;
            /* Visual centering adjustment for play icon */
        }

        @keyframes pulse-red {
            0% {
                transform: translate(-50%, -50%) scale(0.95);
                box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
            }

            70% {
                transform: translate(-50%, -50%) scale(1);
                box-shadow: 0 0 0 20px rgba(255, 0, 0, 0);
            }

            100% {
                transform: translate(-50%, -50%) scale(0.95);
                box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
            }
        }

        .youtube-card h3 {
            color: #fff;
            margin-bottom: 10px;
            font-size: 24px;
            font-weight: 700;
        }

        .youtube-card p {
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 20px;
            font-size: 16px;
        }

        .btn-youtube-subscribe {
            background: #FF0000;
            color: white;
            padding: 10px 25px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            display: inline-block;
            transition: all 0.3s;
            border: none;
        }

        .btn-youtube-subscribe:hover {
            background: #cc0000;
            color: white;
            transform: scale(1.05);
        }

        .gallery-strip-grid .strip-card {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
        }

        .gallery-strip-grid .strip-card img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            display: block;
        }

        .gallery-strip-grid .strip-label {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            padding: 10px 12px;
            background: rgba(0, 0, 0, 0.75);
            color: #fff;
            font-weight: 700;
            text-transform: uppercase;
            text-align: center;
            letter-spacing: 0.4px;
        }

        #section-why-attend [id^="service-"] img,
        #section-why-attend [id^="service-"]:hover img {
            transition: filter 0.8s ease-in-out, -webkit-filter 0.8s ease-in-out !important;
        }

        #section-why-attend [id^="service-"] img {
            -webkit-filter: blur(4px);
            filter: blur(4px);
            will-change: filter;
        }

        #section-why-attend [id^="service-"]:hover img {
            -webkit-filter: blur(0);
            filter: blur(0);
        }

/* Extracted from default.aspx */
body {
                --black-o: 0, 0, 0;
                --white-o: 255, 255, 255;
            }

            .left-nav {
                height: 100vh;
                position: fixed;
                left: 0;
                top: 0;
                z-index: 2000;
            }

            .left-nav .show {
                transition: var(--transition-4s-ease) .1s;
                background-color: rgba(var(--black-o), .3);
                z-index: 11;
                position: relative;
                height: 100%;
                width: 80px;
                border-right: 1px solid rgba(var(--white-o), .3);
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 30px 0;
                flex-direction: column;
            }

            .left-nav.open .show {
                background-color: var(--white-bg);
            }

            .left-nav .show .top {
                cursor: pointer;
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .left-nav .show .top .icon {
                font-size: 22px;
                position: relative;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 24px;
                height: 24px;
            }

            .left-nav .show .top .icon i {
                transition: var(--transition-2s-ease);
                position: absolute;
                opacity: 0;
            }

            .left-nav .show .top .icon .bar {
                display: flex;
                flex-direction: column;
            }

            .left-nav .show .top .icon .bar>span {
                display: inline-block;
                margin-bottom: 6.3px;
                width: 25px;
                min-height: 1.5px;
                max-height: 1.5px;
                border-radius: 3px;
                background-color: var(--white-txt);
            }

            .left-nav .show .top .icon .bar>span.short {
                margin-left: 0px;
                width: 17px;
                transition: var(--transition-2s-ease);
            }

            .left-nav .show .top:hover .icon .bar>span.short {
                margin-left: 8px;
            }

            .left-nav .show .top .icon .open {
                opacity: 1;
            }

            .left-nav.open .show .top .icon .open {
                opacity: 0;
            }

            .left-nav.open .show .top .icon .close {
                opacity: 1;
            }

            .left-nav .show .top .txt {
                font-size: var(--font-md);
                height: 52px;
                position: relative;
                writing-mode: vertical-lr;
                text-orientation: mixed;
                transform: rotate(180deg);
                display: flex;
                align-items: center;
            }

            .left-nav .show .top .txt>span {
                transition: var(--transition-2s-ease);
                opacity: 0;
                position: absolute;
                top: 0;
                letter-spacing: 1px;
            }

            .left-nav .show .top .txt>span.open {
                opacity: 1;
            }

            .left-nav.open .show .top .txt>span.open {
                opacity: 0;
            }

            .left-nav.open .show .top .txt>span.close {
                opacity: 1;
            }

            .left-nav .show .top .icon,
            .left-nav .show .top .txt {
                transition-delay: .25s;
                color: var(--white-txt);
            }

            .left-nav.open .show .top .icon,
            .left-nav.open .show .top .txt {
                user-select: none;
                color: var(--white-txt);
            }

            /* .left-nav .show .middle{} */
            .left-nav .show .middle .img-area {
                position: relative;
                width: 50px;
                height: 50px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .left-nav .show .middle .img-area>img {
                transition-delay: .25s;
                transition: var(--transition-2s-ease);
                opacity: 1;
                position: absolute;
                width: 100%;
            }

            /*.left-nav .show .middle .img-area > img.light{ opacity: 1;}
.left-nav.open .show .middle .img-area > img.light{ opacity: 0;}*/
            .left-nav .show .middle .img-area>img.dark {
                opacity: 0;
            }

            /* .left-nav .show .bottom{} */
            .left-nav .show .bottom .social {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 17px;
            }

            .left-nav .show .bottom .social>a {
                font-size: 17px;
                transition-delay: .25s;
                color: var(--white-txt);
            }

            .left-nav.open .show .bottom .social>a {
                color: var(--white-txt);
            }

            .left-nav .menu {
                transition: var(--transition-5s-ease);
                padding-left: 130px;
                display: flex;
                align-items: flex-start;
                flex-direction: column;
                z-index: 10;
                width: 430px;
                height: 100vh;
                background-color: rgba(15, 15, 15, 0.75);
                backdrop-filter: blur(15px);
                -webkit-backdrop-filter: blur(15px);
                position: fixed;
                top: 0;
                left: -500px;
            }

            .left-nav .menu .menu-brand {
                width: 100%;
                max-width: 280px;
                margin-top: 42px;
                margin-bottom: 26px;
            }

            .left-nav .menu .menu-brand img {
                width: 150px;
                height: auto;
                display: block;
            }

            .left-nav.open .menu {
                left: 0;
            }

            .left-nav .menu .links {
                display: flex;
                flex-direction: column;
                gap: 25px;
                width: 100%;
                max-width: 280px;
            }

            .left-nav .menu .links>div {
                transform: translate(-10px, -10px);
                opacity: 0;
                transition: padding .2s ease, color .2s ease, transform .6s ease, opacity .6s ease;
                overflow: hidden;
                width: 100%;
            }

            .left-nav .menu .links>div a {
                transition: all .2s ease;
                text-decoration: none;
                color: var(--white-txt);
            }

            .left-nav .menu .links>div span {
                cursor: pointer;
                position: relative;
                display: flex;
                width: 100%;
                align-items: center;
            }

            .left-nav .menu .links>div span.more::after {
                transition: all .2s ease;
                content: '\f107';
                display: inline-block;
                font-family: 'FONT AWESOME 5 FREE';
                font-weight: 900;
                font-size: 20px;
                margin-left: 20px;
                right: 0;
                top: 12px;
                transform: rotate(0);
                color: var(--white-txt);
            }

            .left-nav .menu .links .open>span.more:after {
                transform: rotate(-180deg);
            }

            .left-nav .menu .links>div span a {
                font-weight: 400;
                font-size: 28px;
                color: var(--white-txt);
            }

            .left-nav .menu .links>div>div {
                transition: all .2s ease;
                display: flex;
                flex-direction: column;
                padding-left: 20px;
            }

            .left-nav .menu .links>div>div>div>div {
                transition: all .2s ease;
                padding-left: 15px;
            }

            .left-nav .menu .links>div>div a {
                display: flex;
                font-weight: 400;
                font-size: 20px;
                padding: 3px 0;
            }

            .left-nav.open .menu .links>div {
                transform: translate(0, 0);
                opacity: 1;
            }

            .left-nav .menu .links>div:nth-child(1) {
                transition-delay: 0s, 0s, .2s, .2s;
            }

            .left-nav .menu .links>div:nth-child(2) {
                transition-delay: 0s, 0s, .4s, .4s;
            }

            .left-nav .menu .links>div:nth-child(3) {
                transition-delay: 0s, 0s, .6s, .6s;
            }

            .left-nav .menu .links>div:nth-child(4) {
                transition-delay: 0s, 0s, .8s, .8s;
            }

            .left-nav .menu .links>div:nth-child(5) {
                transition-delay: 0s, 0s, 1s, 1s;
            }

            .left-nav .menu .links a.active {
                color: var(--white-txt);
            }

            .left-nav .menu .links a:hover {
                padding-left: 10px;
                color: var(--white-txt);
            }

/* Shared page navigation */
.page-top-nav {
    background: #0f0f0f;
    border-bottom: 1px solid rgba(255,255,255,.08);
    position: sticky;
    top: 0;
    z-index: 1200;
}
.page-top-nav .nav-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 14px 0;
}
.page-top-nav .nav-wrap a {
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}
.page-top-nav .nav-wrap a:hover,
.page-top-nav .nav-wrap a.active {
    background: #fff;
    color: #111;
}

/* Gallery page */
.pinterest-gallery-custom {
    column-count: 4;
    column-gap: 18px;
}
.pinterest-gallery-custom .pin-item {
    break-inside: avoid;
    margin-bottom: 18px;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    position: relative;
}
.pinterest-gallery-custom .pin-item img {
    width: 100%;
    display: block;
    transition: transform .25s ease;
}
.pinterest-gallery-custom .pin-item:hover img {
    transform: scale(1.04);
}
.pinterest-gallery-custom .pin-item .pin-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.78));
    color: #fff;
    padding: 12px;
    font-weight: 600;
}
@media (max-width: 1199px) { .pinterest-gallery-custom { column-count: 3; } }
@media (max-width: 767px) { .pinterest-gallery-custom { column-count: 2; } }
@media (max-width: 480px) { .pinterest-gallery-custom { column-count: 1; } }

.custom-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 24px;
}
.custom-lightbox.open { display: flex; }
.custom-lightbox img {
    max-width: min(1100px, 95vw);
    max-height: 82vh;
    border-radius: 10px;
}
.custom-lightbox .lightbox-close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    background: rgba(0,0,0,.4);
    font-size: 26px;
    line-height: 1;
}
.custom-lightbox .lightbox-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    text-align: center;
    color: #fff;
    font-weight: 600;
}
.custom-lightbox .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.custom-lightbox .lightbox-prev { left: 18px; }
.custom-lightbox .lightbox-next { right: 18px; }

/* Home slider overlay logo */
#section-hero .hero-floating-logo {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1205;
}
#section-hero .hero-floating-logo img {
    width: 170px;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45));
}
@media (max-width: 767px) {
    #section-hero .hero-floating-logo {
        top: 18px;
    }
    #section-hero .hero-floating-logo img {
        width: 130px;
    }
}

/* Shared footer */
.shared-footer .tursab-logo {
    width: 150px;
    max-width: 100%;
    height: auto;
    display: inline-block;
}
.shared-footer .tursab-logo-link {
    display: inline-block;
}

/* References page */
.reference-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}
.reference-logo-box {
    background: #fff;
    aspect-ratio: 1/1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}
.reference-logo-box.is-dark {
    background: var(--bg-dark-2);
}
.reference-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
@media (max-width: 1200px) { .reference-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 768px) { .reference-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 520px) { .reference-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Anasayfa kayan referans logoları — referanslar sayfasındaki çerçeveli kutu, tek satır */
.marquee-logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 90px;
    margin: 0 10px;
    padding: 14px;
    background: #fff;
    border-radius: 10px;
    vertical-align: middle;
    box-sizing: border-box;
}
.marquee-logo-box.is-dark {
    background: var(--bg-dark-2);
}
.marquee-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter .3s ease;
}
.marquee-logo-box:hover img {
    filter: grayscale(0);
}

/* Basında 4Team — YouTube video bölümü */
.press-video-main {
    max-width: 860px;
    margin: 0 auto 40px;
}
.press-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.press-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.press-video-main-title {
    margin-top: 18px;
    text-align: center;
}
.press-swiper-wrap {
    position: relative;
    padding: 0 8px;
}
.press-swiper {
    position: relative;
    overflow: hidden;
}
.press-video-item {
    display: block;
    height: auto;
    color: inherit;
    text-decoration: none;
    background: var(--bg-dark-2);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .25s ease;
}
.press-video-item:hover {
    box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}
.press-video-item.active {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}
.press-video-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.press-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.press-video-item:hover .press-video-thumb img {
    transform: scale(1.06);
}
.press-video-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 12px 10px;
    font-size: 13px;
    line-height: 1.35;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, 0) 100%);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* carousel okları */
.press-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;
}
.press-nav:hover { transform: translateY(-50%) scale(1.08); }
.press-nav-prev { left: -6px; }
.press-nav-next { right: -6px; }
.press-nav.swiper-button-disabled { opacity: .3; cursor: default; }
.press-nav.swiper-button-disabled:hover { transform: translateY(-50%); }

/* Service detail page */
.service-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}
.service-detail-layout img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    min-height: 360px;
}
@media (max-width: 991px) {
    .service-detail-layout { grid-template-columns: 1fr; }
}

/* Team section */
.team-featured {
    display: grid;
    grid-template-columns: minmax(160px, 220px);
    justify-content: center;
}
.team-secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 220px));
    gap: 24px;
    justify-content: center;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 220px));
    gap: 24px;
    justify-content: center;
}
.team-card {
    background: #171717;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    overflow: hidden;
    width: 220px;
    max-width: 220px;
    margin: 0 auto;
}
.team-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: top center;
    display: block;
    filter: grayscale(100%);
}
.team-card-body {
    padding: 14px 16px;
    text-align: center;
}
.team-card-body h4 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}
.team-card-body p {
    margin: 6px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
    min-height: 34px;
}
@media (max-width: 991px) {
    .team-secondary,
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-card img {
        height: 210px;
    }
}
