/* =========================================================
   TZL İNŞAAT — 2026 PREMIUM HERO SLIDER
========================================================= */

:root {
    --tzl-slider-navy: #071d34;
    --tzl-slider-navy-dark: #03111f;
    --tzl-slider-blue: #0a2c52;
    --tzl-slider-gold: #d8b36a;
    --tzl-slider-gold-light: #ecd296;
    --tzl-slider-white: #ffffff;
}

/* =========================================================
   ROOT
========================================================= */

.tzl-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--tzl-slider-navy-dark);
    isolation: isolate;
}

.tzl-hero-inner {
    position: relative;
    overflow: hidden;
}

.tzl-hero-inner,
.tzl-hero-inner .carousel-item {
    width: 100%;
}

/* Bootstrap'ın global transform müdahalesini sınırla */
.tzl-hero-slider .carousel-inner {
    transform: none !important;
}

/* =========================================================
   SLIDE
========================================================= */

.tzl-hero-slide {
    position: relative;
    width: 100%;
    min-height: 730px;
    height: calc(100vh - 146px);
    max-height: 940px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--tzl-slider-navy-dark);
}

/* =========================================================
   BACKGROUND MEDIA
========================================================= */

.tzl-hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.tzl-hero-image {
    position: absolute;
    inset: -3%;
    width: 106%;
    height: 106%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    filter:
        brightness(0.88)
        contrast(1.07)
        saturate(0.98);
    will-change: transform;
    transition:
        transform 9s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.5s ease;
}

.tzl-hero-slider .carousel-item.active .tzl-hero-image {
    transform: scale(1.105);
}

/* =========================================================
   BACKGROUND OVERLAYS
========================================================= */

.tzl-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(3, 14, 26, 0.93) 0%,
            rgba(4, 18, 32, 0.80) 29%,
            rgba(4, 18, 32, 0.43) 59%,
            rgba(4, 18, 32, 0.12) 82%,
            rgba(4, 18, 32, 0.08) 100%
        );
}

.tzl-hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(2, 10, 18, 0.16) 0%,
            transparent 25%,
            transparent 65%,
            rgba(2, 10, 18, 0.68) 100%
        ),
        radial-gradient(
            circle at center,
            transparent 42%,
            rgba(2, 10, 18, 0.30) 100%
        );
}

.tzl-hero-grid {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: 0.075;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.15) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.15) 1px,
            transparent 1px
        );
    background-size: 92px 92px;
    -webkit-mask-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 1),
            rgba(0, 0, 0, 0.25) 65%,
            transparent
        );
    mask-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 1),
            rgba(0, 0, 0, 0.25) 65%,
            transparent
        );
}

.tzl-hero-light {
    position: absolute;
    z-index: 3;
    top: -35%;
    left: 23%;
    width: 430px;
    height: 850px;
    opacity: 0.12;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(216, 179, 106, 0.75),
            transparent
        );
    filter: blur(80px);
    transform: rotate(24deg);
}

/* =========================================================
   CONTAINER
========================================================= */

.tzl-hero-container {
    position: relative;
    z-index: 8;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 70px 110px 130px;
}

/* =========================================================
   MAIN CONTENT
========================================================= */

.tzl-hero-content {
    position: relative;
    width: 100%;
    max-width: 850px;
    padding-left: 32px;
}

.tzl-hero-content-line {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 1px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.16);
}

.tzl-hero-content-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 105px;
    background:
        linear-gradient(
            180deg,
            var(--tzl-slider-gold),
            rgba(216, 179, 106, 0.12)
        );
}

/* =========================================================
   EYEBROW
========================================================= */

.tzl-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 23px;
    color: var(--tzl-slider-gold-light);
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 2.8px;
    text-transform: uppercase;
}

.tzl-hero-eyebrow-icon {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tzl-slider-gold);
    background: rgba(216, 179, 106, 0.10);
    border: 1px solid rgba(216, 179, 106, 0.30);
    border-radius: 50%;
    font-size: 10px;
}

/* =========================================================
   TITLE
========================================================= */

.tzl-hero-title {
    max-width: 850px;
    margin: 0;
    color: var(--tzl-slider-white);
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: clamp(48px, 5.3vw, 86px);
    font-weight: 500;
    line-height: 1.01;
    letter-spacing: -4px;
    text-wrap: balance;
    text-shadow:
        0 12px 38px rgba(0, 0, 0, 0.28);
}

.tzl-hero-description {
    max-width: 690px;
    margin: 29px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: 0.1px;
}

/* =========================================================
   ACTIONS
========================================================= */

.tzl-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 37px;
}

.tzl-hero-primary-button {
    min-height: 54px;
    padding: 0 7px 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: var(--tzl-slider-navy-dark);
    background: var(--tzl-slider-gold);
    border: 1px solid var(--tzl-slider-gold);
    border-radius: 5px;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 11.5px;
    font-weight: 650;
    letter-spacing: 0.25px;
    text-decoration: none;
    text-transform: lowercase;
    box-shadow:
        0 14px 35px rgba(216, 179, 106, 0.20);
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.tzl-button-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tzl-slider-white);
    background: var(--tzl-slider-blue);
    border-radius: 4px;
    font-size: 10px;
    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.tzl-hero-primary-button:hover {
    color: var(--tzl-slider-navy-dark);
    background: var(--tzl-slider-gold-light);
    border-color: var(--tzl-slider-gold-light);
    box-shadow:
        0 18px 42px rgba(216, 179, 106, 0.28);
    transform: translateY(-3px);
}

.tzl-hero-primary-button:hover .tzl-button-icon {
    background: var(--tzl-slider-navy-dark);
    transform: translateX(3px);
}

.tzl-hero-secondary-button {
    min-height: 54px;
    padding: 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: rgba(255, 255, 255, 0.90);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 5px;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 11.5px;
    font-weight: 550;
    letter-spacing: 0.2px;
    text-decoration: none;
    text-transform: lowercase;
    -webkit-backdrop-filter: blur(11px);
    backdrop-filter: blur(11px);
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.tzl-secondary-icon {
    color: var(--tzl-slider-gold);
    font-size: 12px;
}

.tzl-hero-secondary-button:hover {
    color: var(--tzl-slider-navy-dark);
    background: var(--tzl-slider-white);
    border-color: var(--tzl-slider-white);
    transform: translateY(-3px);
}

/* =========================================================
   VALUES
========================================================= */

.tzl-hero-values {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 33px;
    margin-top: 42px;
}

.tzl-hero-value {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.tzl-value-icon {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tzl-slider-gold);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    font-size: 11px;
}

.tzl-value-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tzl-value-text small {
    color: rgba(255, 255, 255, 0.42);
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 8.5px;
    font-weight: 500;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.tzl-value-text strong {
    color: rgba(255, 255, 255, 0.91);
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 550;
    text-transform: lowercase;
}

/* =========================================================
   DECORATIVE NUMBER
========================================================= */

.tzl-hero-background-number {
    position: absolute;
    z-index: 4;
    top: 50%;
    right: 10%;
    color: rgba(255, 255, 255, 0.035);
    font-family: "Manrope", sans-serif;
    font-size: clamp(210px, 26vw, 450px);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -30px;
    pointer-events: none;
    transform: translateY(-50%);
    -webkit-text-stroke:
        1px rgba(255, 255, 255, 0.045);
}

/* =========================================================
   SIDE LABEL
========================================================= */

.tzl-hero-side-label {
    position: absolute;
    z-index: 8;
    top: 50%;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.34);
    font-family: "Manrope", sans-serif;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
}

.tzl-hero-side-label span:first-child {
    color: var(--tzl-slider-gold);
    font-weight: 700;
}

/* =========================================================
   COUNTER
========================================================= */

.tzl-slider-counter {
    position: absolute;
    z-index: 12;
    left: 39px;
    bottom: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--tzl-slider-white);
    font-family: "Manrope", sans-serif;
}

.tzl-current-slide {
    color: var(--tzl-slider-gold);
    font-size: 18px;
    font-weight: 650;
}

.tzl-counter-line {
    width: 38px;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
}

.tzl-total-slides {
    color: rgba(255, 255, 255, 0.46);
    font-size: 10px;
    font-weight: 550;
}

/* =========================================================
   INDICATORS
========================================================= */

.tzl-hero-indicators {
    position: absolute;
    z-index: 12;
    top: 50%;
    right: 64px;
    bottom: auto;
    left: auto;
    width: 76px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    transform: translateY(-50%);
}

.tzl-hero-indicators [data-bs-target] {
    width: 76px;
    height: 18px;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    opacity: 1;
    text-indent: 0;
    background: transparent;
    border: 0;
}

.tzl-indicator-number {
    width: 20px;
    color: rgba(255, 255, 255, 0.38);
    font-family: "Manrope", sans-serif;
    font-size: 8px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.tzl-indicator-track {
    position: relative;
    width: 46px;
    height: 1px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.22);
    transition: width 0.3s ease;
}

.tzl-indicator-progress {
    position: absolute;
    inset: 0;
    background: var(--tzl-slider-gold);
    transform: scaleX(0);
    transform-origin: left center;
}

.tzl-hero-indicators button.active
.tzl-indicator-number {
    color: var(--tzl-slider-gold);
}

.tzl-hero-indicators button.active
.tzl-indicator-track {
    width: 55px;
}

.tzl-hero-indicators button.active
.tzl-indicator-progress {
    animation: tzlIndicatorProgress 7s linear forwards;
}

/* =========================================================
   CONTROLS
========================================================= */

.tzl-hero-controls {
    position: absolute;
    z-index: 13;
    right: 39px;
    bottom: 37px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tzl-hero-control {
    position: relative;
    inset: auto;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tzl-slider-white);
    background: rgba(5, 17, 29, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 50%;
    opacity: 1;
    font-size: 11px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.tzl-hero-control:hover {
    color: var(--tzl-slider-navy-dark);
    background: var(--tzl-slider-gold);
    border-color: var(--tzl-slider-gold);
    transform: translateY(-2px);
}

/* =========================================================
   BOTTOM PROGRESS
========================================================= */

.tzl-slider-progress {
    position: absolute;
    z-index: 14;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.09);
}

.tzl-slider-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(
            90deg,
            var(--tzl-slider-gold),
            var(--tzl-slider-gold-light)
        );
    transform: scaleX(0);
    transform-origin: left center;
}

.tzl-slider-progress span.tzl-progress-active {
    animation: tzlSliderProgress 7s linear forwards;
}

/* =========================================================
   SCROLL INDICATOR
========================================================= */

.tzl-scroll-indicator {
    position: absolute;
    z-index: 13;
    bottom: 33px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.48);
    font-family: "Manrope", sans-serif;
    font-size: 8px;
    font-weight: 550;
    letter-spacing: 1.8px;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateX(-50%);
    transition: color 0.3s ease;
}

.tzl-scroll-indicator:hover {
    color: var(--tzl-slider-gold);
}

.tzl-scroll-mouse {
    position: relative;
    width: 17px;
    height: 28px;
    display: inline-flex;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 20px;
}

.tzl-scroll-mouse span {
    position: absolute;
    top: 6px;
    width: 2px;
    height: 5px;
    background: var(--tzl-slider-gold);
    border-radius: 10px;
    animation: tzlScrollMouse 1.8s ease infinite;
}

/* =========================================================
   CONTENT ANIMATIONS
========================================================= */

.tzl-hero-eyebrow,
.tzl-hero-title,
.tzl-hero-description,
.tzl-hero-actions,
.tzl-hero-values {
    opacity: 0;
    transform: translateY(28px);
}

.tzl-hero-slider .carousel-item.active
.tzl-hero-eyebrow {
    animation:
        tzlHeroReveal 0.75s ease 0.15s forwards;
}

.tzl-hero-slider .carousel-item.active
.tzl-hero-title {
    animation:
        tzlHeroReveal 0.9s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.28s forwards;
}

.tzl-hero-slider .carousel-item.active
.tzl-hero-description {
    animation:
        tzlHeroReveal 0.8s ease 0.48s forwards;
}

.tzl-hero-slider .carousel-item.active
.tzl-hero-actions {
    animation:
        tzlHeroReveal 0.8s ease 0.65s forwards;
}

.tzl-hero-slider .carousel-item.active
.tzl-hero-values {
    animation:
        tzlHeroReveal 0.8s ease 0.82s forwards;
}

/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes tzlHeroReveal {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tzlSliderProgress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes tzlIndicatorProgress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes tzlScrollMouse {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(9px);
    }
}

/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (max-width: 1399.98px) {

    .tzl-hero-container {
        padding-right: 95px;
        padding-left: 80px;
    }

    .tzl-hero-content {
        max-width: 770px;
    }

    .tzl-hero-title {
        font-size: clamp(46px, 5vw, 75px);
    }

    .tzl-hero-indicators {
        right: 40px;
    }
}

/* =========================================================
   MEDIUM DESKTOP
========================================================= */

@media (max-width: 1199.98px) {

    .tzl-hero-slide {
        min-height: 680px;
    }

    .tzl-hero-container {
        padding-right: 85px;
        padding-left: 65px;
    }

    .tzl-hero-content {
        max-width: 700px;
    }

    .tzl-hero-title {
        letter-spacing: -3px;
    }

    .tzl-hero-side-label {
        display: none;
    }

    .tzl-hero-indicators {
        right: 26px;
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .tzl-hero-slide {
        min-height: 700px;
        height: calc(100vh - 119px);
        max-height: 850px;
    }

    .tzl-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(3, 14, 26, 0.91) 0%,
                rgba(3, 14, 26, 0.71) 58%,
                rgba(3, 14, 26, 0.30) 100%
            );
    }

    .tzl-hero-container {
        padding:
            75px 70px 115px 45px;
    }

    .tzl-hero-content {
        max-width: 660px;
    }

    .tzl-hero-title {
        font-size: clamp(43px, 7vw, 65px);
    }

    .tzl-hero-description {
        font-size: 15px;
    }

    .tzl-hero-indicators {
        display: none;
    }

    .tzl-hero-background-number {
        right: 4%;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .tzl-hero-slide {
        min-height: 670px;
        height: calc(100svh - 114px);
        max-height: none;
        align-items: flex-start;
    }

    .tzl-hero-image {
        inset: 0;
        width: 100%;
        height: 100%;
        object-position: center;
        filter:
            brightness(0.74)
            contrast(1.04)
            saturate(0.92);
    }

    .tzl-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(3, 14, 26, 0.91) 0%,
                rgba(3, 14, 26, 0.70) 100%
            ),
            linear-gradient(
                180deg,
                rgba(3, 14, 26, 0.20),
                rgba(3, 14, 26, 0.72)
            );
    }

    .tzl-hero-grid {
        background-size: 65px 65px;
    }

    .tzl-hero-container {
        padding:
            78px 22px 105px;
    }

    .tzl-hero-content {
        max-width: 100%;
        padding-left: 19px;
    }

    .tzl-hero-content-line::after {
        height: 80px;
    }

    .tzl-hero-eyebrow {
        margin-bottom: 18px;
        font-size: 9px;
        letter-spacing: 1.8px;
    }

    .tzl-hero-eyebrow-icon {
        width: 27px;
        height: 27px;
    }

    .tzl-hero-title {
        max-width: 100%;
        font-size: clamp(37px, 11vw, 55px);
        line-height: 1.04;
        letter-spacing: -2.2px;
    }

    .tzl-hero-description {
        margin-top: 21px;
        font-size: 14px;
        line-height: 1.72;
    }

    .tzl-hero-actions {
        align-items: stretch;
        flex-direction: column;
        margin-top: 29px;
    }

    .tzl-hero-primary-button,
    .tzl-hero-secondary-button {
        width: 100%;
    }

    .tzl-hero-primary-button {
        justify-content: space-between;
    }

    .tzl-hero-values {
        gap: 17px;
        margin-top: 29px;
    }

    .tzl-hero-value:nth-child(3) {
        display: none;
    }

    .tzl-value-text small {
        display: none;
    }

    .tzl-hero-background-number {
        top: 38%;
        right: -5%;
        font-size: 180px;
        letter-spacing: -15px;
    }

    .tzl-slider-counter {
        left: 21px;
        bottom: 24px;
    }

    .tzl-hero-controls {
        right: 20px;
        bottom: 17px;
    }

    .tzl-hero-control {
        width: 42px;
        height: 42px;
    }

    .tzl-scroll-indicator {
        display: none;
    }
}

/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 430px) {

    .tzl-hero-slide {
        min-height: 650px;
    }

    .tzl-hero-container {
        padding:
            61px 15px 95px;
    }

    .tzl-hero-content {
        padding-left: 15px;
    }

    .tzl-hero-title {
        font-size: clamp(34px, 10.5vw, 45px);
    }

    .tzl-hero-description {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
    }

    .tzl-hero-values {
        display: none;
    }

    .tzl-hero-actions {
        margin-top: 24px;
    }

    .tzl-hero-primary-button,
    .tzl-hero-secondary-button {
        min-height: 51px;
        font-size: 10.5px;
    }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .tzl-hero-image,
    .tzl-hero-eyebrow,
    .tzl-hero-title,
    .tzl-hero-description,
    .tzl-hero-actions,
    .tzl-hero-values,
    .tzl-slider-progress span,
    .tzl-indicator-progress,
    .tzl-scroll-mouse span {
        animation: none !important;
        transition: none !important;
    }

    .tzl-hero-eyebrow,
    .tzl-hero-title,
    .tzl-hero-description,
    .tzl-hero-actions,
    .tzl-hero-values {
        opacity: 1;
        transform: none;
    }
}