/* =========================================================
   TZL REFERANSLAR SAYFASI
========================================================= */

.tzl-reference-page {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}

.tzl-reference-page,
.tzl-reference-page * {
    box-sizing: border-box;
}


/* =========================================================
   HERO
========================================================= */

.tzl-reference-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #06111f;
}

.tzl-reference-hero-image {
    position: absolute;
    inset: 0;
}

.tzl-reference-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: tzlHeroZoom 14s ease-in-out infinite alternate;
}

@keyframes tzlHeroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

.tzl-reference-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(3, 12, 24, 0.96) 0%,
            rgba(3, 15, 29, 0.83) 38%,
            rgba(3, 15, 29, 0.40) 70%,
            rgba(3, 15, 29, 0.60) 100%
        );
}

.tzl-reference-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    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: 80px 80px;
    mask-image:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 1),
            rgba(0, 0, 0, 0)
        );
}

.tzl-reference-hero-content {
    position: relative;
    z-index: 3;
    max-width: 780px;
    padding: 130px 0 100px;
    color: #ffffff;
}

.tzl-reference-hero-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #66baff;
}

.tzl-reference-hero-label span {
    width: 55px;
    height: 2px;
    background: #168ce3;
}

.tzl-reference-hero-content h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(52px, 7vw, 102px);
    line-height: 0.96;
    font-weight: 300;
    letter-spacing: -4px;
    color: #ffffff;
}

.tzl-reference-hero-content h1 strong {
    display: block;
    margin-top: 10px;
    font-weight: 800;
    color: #168ce3;
}

.tzl-reference-hero-content > p {
    max-width: 620px;
    margin: 32px 0 30px;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.76);
}

.tzl-reference-breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
}

.tzl-reference-breadcrumb .breadcrumb-item,
.tzl-reference-breadcrumb .breadcrumb-item a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
}

.tzl-reference-breadcrumb .breadcrumb-item a {
    transition: 0.3s ease;
}

.tzl-reference-breadcrumb .breadcrumb-item a:hover {
    color: #ffffff;
}

.tzl-reference-breadcrumb .breadcrumb-item.active {
    color: #168ce3;
}

.tzl-reference-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.38);
}

.tzl-reference-scroll {
    position: absolute;
    right: 60px;
    bottom: 42px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    transform: rotate(-90deg);
    transform-origin: right center;
}

.tzl-reference-scroll i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    transform: rotate(90deg);
    transition: 0.3s ease;
}

.tzl-reference-scroll:hover {
    color: #168ce3;
}

.tzl-reference-scroll:hover i {
    color: #ffffff;
    border-color: #168ce3;
    background: #168ce3;
}


/* =========================================================
   INTRO
========================================================= */

.tzl-reference-intro {
    padding: 120px 0 80px;
    background: #ffffff;
}

.tzl-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 34px;
}

.tzl-section-number {
    min-width: 58px;
    padding-top: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #168ce3;
    border-top: 2px solid #168ce3;
}

.tzl-section-label {
    display: block;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #168ce3;
}

.tzl-section-heading h2,
.tzl-reference-projects-header h2 {
    margin: 0;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 300;
    letter-spacing: -2.5px;
    color: #0b1827;
}

.tzl-section-heading h2 strong,
.tzl-reference-projects-header h2 strong {
    font-weight: 800;
}

.tzl-reference-intro-text {
    padding-left: 35px;
    border-left: 1px solid #dce3ea;
}

.tzl-reference-intro-text p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.9;
    color: #66727f;
}

.tzl-reference-intro-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SAYAÇLAR
========================================================= */

.tzl-reference-stats {
    position: relative;
    padding: 0 0 110px;
    background: #ffffff;
}

.tzl-reference-stats-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #071523;
    box-shadow: 0 30px 70px rgba(8, 25, 42, 0.18);
}

.tzl-reference-stat-item {
    position: relative;
    min-height: 230px;
    padding: 46px 34px;
    display: flex;
    align-items: flex-start;
    gap: 22px;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    transition: 0.4s ease;
}

.tzl-reference-stat-item:last-child {
    border-right: 0;
}

.tzl-reference-stat-item::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: #168ce3;
    transform: scaleX(0);
    transform-origin: left center;
    transition: 0.4s ease;
}

.tzl-reference-stat-item:hover {
    background: #0c2033;
    transform: translateY(-8px);
}

.tzl-reference-stat-item:hover::before {
    transform: scaleX(1);
}

.tzl-reference-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    color: #64baff;
    font-size: 23px;
    border: 1px solid rgba(100, 186, 255, 0.26);
    border-radius: 50%;
}

.tzl-stat-number {
    display: flex;
    align-items: flex-start;
    line-height: 1;
}

.tzl-stat-number span {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -3px;
    color: #ffffff;
}

.tzl-stat-number sup {
    top: 0;
    margin-left: 5px;
    font-size: 22px;
    color: #168ce3;
}

.tzl-reference-stat-content p {
    margin: 18px 0 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.54);
}


/* =========================================================
   PROJELER
========================================================= */
.tzl-reference-projects {
    position: relative;
    padding: 120px 0;
    background:
        linear-gradient(
            rgba(242, 245, 248, 0.94),
            rgba(242, 245, 248, 0.94)
        ),
        url('/Sistem/duvar2.png') center center / cover no-repeat;
    background-attachment: fixed;
}
.tzl-reference-projects::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background:
        linear-gradient(
            135deg,
            rgba(22, 140, 227, 0.04),
            transparent
        );
}

.tzl-reference-projects-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 60px;
}

.tzl-reference-projects-description {
    max-width: 400px;
    padding-bottom: 8px;
}

.tzl-reference-projects-description p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #687582;
}

.tzl-reference-component-wrapper {
    position: relative;
    z-index: 2;
}


/* Component içerisindeki kartları güzelleştirir */

.tzl-reference-component-wrapper .card {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(9, 27, 45, 0.09);
    transition: 0.45s ease;
}

.tzl-reference-component-wrapper .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(9, 27, 45, 0.16);
}

.tzl-reference-component-wrapper .card img {
    width: 100%;
    transition: 0.7s ease;
}

.tzl-reference-component-wrapper .card:hover img {
    transform: scale(1.07);
}

.tzl-reference-component-wrapper .card-body {
    padding: 28px;
}

.tzl-reference-component-wrapper .card-title {
    font-size: 22px;
    font-weight: 700;
    color: #0b1827;
}

.tzl-reference-component-wrapper .card-text {
    line-height: 1.75;
    color: #687582;
}


/* =========================================================
   DEĞERLER
========================================================= */

.tzl-reference-values {
    padding: 115px 0;
    background: #ffffff;
}

.tzl-reference-value-card {
    position: relative;
    min-height: 340px;
    padding: 40px 32px;
    overflow: hidden;
    border: 1px solid #dfe6ec;
    background: #ffffff;
    transition: 0.4s ease;
}

.tzl-reference-value-card::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background: #071523;
    transition: 0.45s ease;
}

.tzl-reference-value-card:hover::before {
    height: 100%;
}

.tzl-reference-value-card > * {
    position: relative;
    z-index: 2;
}

.tzl-reference-value-card:hover {
    border-color: #071523;
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(8, 25, 42, 0.16);
}

.tzl-reference-value-number {
    position: absolute;
    top: 25px;
    right: 26px;
    z-index: 2;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #9ba7b2;
}

.tzl-reference-value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    margin-bottom: 38px;
    color: #168ce3;
    font-size: 25px;
    border: 1px solid #cfd9e2;
    transition: 0.4s ease;
}

.tzl-reference-value-card h3 {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 750;
    color: #0b1827;
    transition: 0.4s ease;
}

.tzl-reference-value-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #6b7783;
    transition: 0.4s ease;
}

.tzl-reference-value-card:hover .tzl-reference-value-icon {
    border-color: rgba(255, 255, 255, 0.22);
    background: #168ce3;
    color: #ffffff;
}

.tzl-reference-value-card:hover h3 {
    color: #ffffff;
}

.tzl-reference-value-card:hover p {
    color: rgba(255, 255, 255, 0.64);
}

.tzl-reference-value-card:hover .tzl-reference-value-number {
    color: #168ce3;
}


/* =========================================================
   CTA
========================================================= */

.tzl-reference-cta {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    background: #168ce3;
}

.tzl-reference-cta-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(255, 255, 255, 0.20),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            #168ce3 0%,
            #0767ad 100%
        );
}

.tzl-reference-cta::before {
    position: absolute;
    content: "";
    top: -170px;
    right: -80px;
    width: 450px;
    height: 450px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.tzl-reference-cta::after {
    position: absolute;
    content: "";
    right: 80px;
    bottom: -280px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.tzl-reference-cta-wrapper {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.tzl-reference-cta-content span {
    display: block;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.72);
}

.tzl-reference-cta-content h2 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: -2.5px;
    color: #ffffff;
}

.tzl-reference-cta-content h2 strong {
    display: block;
    font-weight: 800;
}

.tzl-reference-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    min-width: 275px;
    padding: 22px 26px 22px 30px;
    justify-content: space-between;
    color: #0b1827;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    background: #ffffff;
    transition: 0.35s ease;
}

.tzl-reference-cta-button i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #ffffff;
    background: #071523;
    transition: 0.35s ease;
}

.tzl-reference-cta-button:hover {
    color: #ffffff;
    background: #071523;
    transform: translateY(-5px);
}

.tzl-reference-cta-button:hover i {
    color: #071523;
    background: #ffffff;
    transform: translateX(4px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {

    .tzl-reference-stats-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .tzl-reference-stat-item:nth-child(2) {
        border-right: 0;
    }

    .tzl-reference-stat-item:nth-child(1),
    .tzl-reference-stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

}

@media (max-width: 991px) {

    .tzl-reference-hero {
        min-height: 620px;
    }

    .tzl-reference-hero-content {
        padding: 130px 0 90px;
    }

    .tzl-reference-hero-content h1 {
        letter-spacing: -2.5px;
    }

    .tzl-reference-scroll {
        display: none;
    }

    .tzl-reference-intro {
        padding: 90px 0 65px;
    }

    .tzl-reference-intro-text {
        padding: 30px 0 0;
        border-left: 0;
        border-top: 1px solid #dce3ea;
    }

    .tzl-reference-projects {
        padding: 90px 0;
    }

    .tzl-reference-projects-header {
        display: block;
    }

    .tzl-reference-projects-description {
        max-width: 600px;
        margin-top: 25px;
    }

    .tzl-reference-cta-wrapper {
        display: block;
    }

    .tzl-reference-cta-action {
        margin-top: 40px;
    }

}

@media (max-width: 767px) {

    .tzl-reference-hero {
        min-height: 570px;
    }

    .tzl-reference-hero-content {
        padding: 115px 0 75px;
    }

    .tzl-reference-hero-overlay {
        background: rgba(3, 14, 27, 0.82);
    }

    .tzl-reference-hero-content h1 {
        font-size: 50px;
        letter-spacing: -2px;
    }

    .tzl-reference-hero-content > p {
        margin-top: 24px;
        font-size: 16px;
        line-height: 1.7;
    }

    .tzl-reference-hero-pattern {
        background-size: 50px 50px;
    }

    .tzl-section-heading {
        display: block;
    }

    .tzl-section-number {
        width: 50px;
        margin-bottom: 24px;
    }

    .tzl-section-heading h2,
    .tzl-reference-projects-header h2,
    .tzl-reference-cta-content h2 {
        font-size: 39px;
        letter-spacing: -1.5px;
    }

    .tzl-reference-stats-wrapper {
        grid-template-columns: 1fr;
    }

    .tzl-reference-stat-item {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

    .tzl-reference-stat-item:last-child {
        border-bottom: 0;
    }

    .tzl-reference-values {
        padding: 80px 0;
    }

    .tzl-reference-cta {
        padding: 85px 0;
    }

    .tzl-reference-cta-button {
        width: 100%;
        min-width: auto;
    }

}

@media (max-width: 480px) {

    .tzl-reference-hero-content h1 {
        font-size: 42px;
    }

    .tzl-reference-hero-label {
        font-size: 11px;
        letter-spacing: 3px;
    }

    .tzl-reference-stat-item {
        padding: 35px 25px;
    }

    .tzl-stat-number span {
        font-size: 48px;
    }

    .reference-card{
    overflow:hidden;
    border-radius:12px;
}

.reference-card img{
    transition:all .6s ease;
}

.reference-card:hover img{
    transform:scale(1.12) rotate(.5deg);
}

.reference-card a{
    display:block;
    overflow:hidden;
    position:relative;
}

.reference-card a::after{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.25);
    opacity:0;
    transition:.4s;
}

.reference-card:hover a::after{
    opacity:1;
}

.reference-card{
    transition:.35s;
}

.reference-card:hover{
    transform:translateY(-8px);
}






}

/* =========================================================
   REFERANS KART HOVER EFEKTİ
   MEDIA QUERY DIŞINDA OLMALI
========================================================= */

.tzl-ref-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #071523;
    box-shadow: 0 12px 30px rgba(7, 21, 35, 0.16);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tzl-ref-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 24px 50px rgba(7, 21, 35, 0.28);
}

.tzl-ref-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.tzl-ref-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.tzl-ref-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.5s ease;
}

.tzl-ref-card:hover .tzl-ref-image img {
    transform: scale(1.13);
    filter: brightness(0.7);
}

.tzl-ref-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(7, 21, 35, 0.25),
        rgba(22, 140, 227, 0.72)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tzl-ref-card:hover .tzl-ref-overlay {
    opacity: 1;
}

.tzl-ref-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transform: scale(0.5);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.tzl-ref-card:hover .tzl-ref-icon {
    transform: scale(1);
    opacity: 1;
}

.tzl-ref-shine {
    position: absolute;
    top: -40%;
    left: -90%;
    width: 45%;
    height: 180%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.28),
        transparent
    );
    transform: rotate(22deg);
    transition: left 0.8s ease;
    pointer-events: none;
}

.tzl-ref-card:hover .tzl-ref-shine {
    left: 140%;
}

.tzl-ref-title-area {
    position: relative;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    overflow: hidden;
    background: #071523;
}

.tzl-ref-title-area::after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: #168ce3;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.tzl-ref-card:hover .tzl-ref-title-area::after {
    transform: scaleX(1);
}

.tzl-ref-title {
    width: 100%;
    margin: 0;
    overflow: hidden;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color 0.35s ease;
}

.tzl-ref-card:hover .tzl-ref-title {
    color: #70c2ff;
}

@media (max-width: 767px) {

    .tzl-ref-image {
        height: 230px;
    }

}