/* =========================================================
   Ana Sayfa Hero
========================================================= */

.home-hero {
    position: relative;
    width: 100%;
    color: #ffffff;
    background: #191512;
    overflow: hidden;
}

.home-hero--screen {
    height: calc(
        100svh
        - var(--announcement-height)
        - var(--header-height)
    );
    min-height: 520px;
}

.home-hero--custom {
    height: var(--hero-desktop-height);
}

.home-hero--auto {
    aspect-ratio: 1920 / 900;
    min-height: 420px;
    max-height: 900px;
}

.home-hero__viewport,
.home-hero__slides,
.home-hero__slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.home-hero__slides {
    overflow: hidden;
}

.home-hero__slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.home-hero__slide.is-active {
    z-index: 2;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.home-hero--transition-fade .home-hero__slide {
    transition:
        opacity 700ms ease,
        visibility 700ms ease;
}

.home-hero__picture,
.home-hero__picture img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero__picture img {
    object-fit: cover;
    object-position: center;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* =========================================================
   İçerik konumları
========================================================= */

.home-hero__content-position {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(calc(100% - 80px), var(--container-width));
    height: 100%;
    margin-inline: auto;
    padding-block: clamp(55px, 7vw, 115px);
    pointer-events: none;
}

.home-hero__content-position--top-left {
    align-items: flex-start;
    justify-content: flex-start;
}

.home-hero__content-position--top-center {
    align-items: flex-start;
    justify-content: center;
}

.home-hero__content-position--top-right {
    align-items: flex-start;
    justify-content: flex-end;
}

.home-hero__content-position--center-left {
    align-items: center;
    justify-content: flex-start;
}

.home-hero__content-position--center {
    align-items: center;
    justify-content: center;
}

.home-hero__content-position--center-right {
    align-items: center;
    justify-content: flex-end;
}

.home-hero__content-position--bottom-left {
    align-items: flex-end;
    justify-content: flex-start;
}

.home-hero__content-position--bottom-center {
    align-items: flex-end;
    justify-content: center;
}

.home-hero__content-position--bottom-right {
    align-items: flex-end;
    justify-content: flex-end;
}

.home-hero__content {
    width: min(100%, 720px);
    color: var(--hero-content-color, #ffffff);
    pointer-events: auto;
}

.home-hero__content--left {
    text-align: left;
}

.home-hero__content--center {
    text-align: center;
}

.home-hero__content--right {
    text-align: right;
}

.home-hero__eyebrow {
    display: block;
    margin-bottom: 14px;
    color: inherit;
    font-size: clamp(11px, 0.85vw, 14px);
    font-weight: 750;
    letter-spacing: 0.13em;
    line-height: 1.3;
    text-transform: uppercase;
}

.home-hero__content h1,
.home-hero__content h2 {
    margin: 0;
    color: inherit;
    font-size: clamp(38px, 5.2vw, 84px);
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 0.98;
    text-wrap: balance;
}

.home-hero__content p {
    max-width: 620px;
    margin: 23px 0 0;
    color: inherit;
    font-size: clamp(14px, 1.15vw, 19px);
    font-weight: 450;
    line-height: 1.65;
    opacity: 0.9;
    text-wrap: balance;
}

.home-hero__content--center p {
    margin-inline: auto;
}

.home-hero__content--right p {
    margin-left: auto;
}

/* =========================================================
   Butonlar
========================================================= */

.home-hero__actions {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 29px;
}

.home-hero__content--center .home-hero__actions {
    justify-content: center;
}

.home-hero__content--right .home-hero__actions {
    justify-content: flex-end;
}

.home-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 49px;
    padding: 11px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.home-hero__button:hover {
    transform: translateY(-2px);
}

.home-hero__button--primary {
    color: #ffffff;
    background: var(--color-primary);
    box-shadow: 0 12px 30px rgb(0 0 0 / 16%);
}

.home-hero__button--primary:hover {
    background: var(--color-secondary);
}

.home-hero__button--secondary {
    color: inherit;
    background: rgb(255 255 255 / 10%);
    border-color: rgb(255 255 255 / 55%);
    backdrop-filter: blur(8px);
}

.home-hero__button--secondary:hover {
    color: #17120f;
    background: #ffffff;
    border-color: #ffffff;
}

/* =========================================================
   Oklar ve noktalar
========================================================= */

.home-hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: #ffffff;
    background: rgb(20 16 13 / 24%);
    border: 1px solid rgb(255 255 255 / 26%);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.home-hero__arrow:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.home-hero__arrow--previous {
    left: 25px;
}

.home-hero__arrow--next {
    right: 25px;
}

.home-hero__arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-hero__dots {
    position: absolute;
    right: 0;
    bottom: 25px;
    left: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 7px;
}

.home-hero__dot {
    width: 28px;
    height: 18px;
    padding: 7px 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.home-hero__dot span {
    display: block;
    width: 100%;
    height: 3px;
    background: rgb(255 255 255 / 43%);
    border-radius: 999px;
    transition:
        background var(--transition),
        transform var(--transition);
}

.home-hero__dot.is-active span {
    background: var(--color-primary);
}

/* =========================================================
   Kayarak geçiş
========================================================= */

.home-hero--transition-slide .home-hero__slide {
    visibility: visible;
    opacity: 1;
    transform: translateX(100%);
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hero--transition-slide .home-hero__slide.is-active {
    transform: translateX(0);
}

.home-hero--transition-slide .home-hero__slide.is-before {
    transform: translateX(-100%);
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 900px) {
    .home-hero--custom {
        height: var(--hero-mobile-height);
    }

    .home-hero__content-position {
        width: calc(100% - 45px);
    }

    .home-hero__arrow {
        width: 40px;
        height: 40px;
    }

    .home-hero__arrow--previous {
        left: 14px;
    }

    .home-hero__arrow--next {
        right: 14px;
    }
}

@media (max-width: 700px) {
    .home-hero--screen {
        height: calc(
            100svh
            - var(--announcement-height)
            - var(--header-height)
        );
        min-height: 520px;
    }

    .home-hero--auto {
        min-height: 0;
        max-height: none;
        aspect-ratio: 3 / 4;
    }

    .home-hero__content-position {
        width: calc(100% - 38px);
        padding-top: 55px;
        padding-bottom: 75px;
    }

    .home-hero__content {
        width: 100%;
    }

    .home-hero__content h1,
    .home-hero__content h2 {
        font-size: clamp(34px, 11vw, 55px);
    }

    .home-hero__content p {
        margin-top: 17px;
        font-size: 14px;
        line-height: 1.55;
    }

    .home-hero__actions {
        flex-wrap: wrap;
        margin-top: 22px;
    }

    .home-hero__button {
        min-height: 45px;
        padding-inline: 20px;
        font-size: 12px;
    }

    .home-hero__arrow {
        display: none;
    }

    .home-hero__dots {
        bottom: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__slide {
        transition: none !important;
    }
}

/* =========================================================
   Kayan Yazı Bandı
========================================================= */

.home-marquee {
    position: relative;
    z-index: 4;
    width: 100%;
    height: var(--marquee-height);
    color: var(--marquee-text);
    background: var(--marquee-background);
    overflow: hidden;
}

.home-marquee__viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.home-marquee__track {
    display: flex;
    align-items: center;
    width: max-content;
    min-width: 100%;
    height: 100%;
    will-change: transform;
}

.home-marquee__track.is-ready {
    animation:
        home-marquee-scroll
        var(--marquee-duration)
        linear
        infinite;
}

.home-marquee[data-direction="right"] .home-marquee__track {
    animation-direction: reverse;
}

.home-marquee--pause:hover .home-marquee__track {
    animation-play-state: paused;
}

.home-marquee__unit {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: var(--marquee-gap);
    padding-right: var(--marquee-gap);
}

.home-marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex: 0 0 auto;
    color: inherit;
    font-size: clamp(17px, 1.55vw, 20px);
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
}

a.home-marquee__item {
    transition: opacity var(--transition);
}

a.home-marquee__item:hover {
    opacity: 0.72;
}

.home-marquee__icon {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    color: var(--marquee-icon);
}

.home-marquee__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes home-marquee-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(
            var(--marquee-translate),
            0,
            0
        );
    }
}

@media (max-width: 700px) {
    .home-marquee {
        height: var(--marquee-mobile-height);
    }

    .home-marquee__item {
        gap: 9px;
        font-size: 16px;
    }

    .home-marquee__icon {
        width: 23px;
        height: 23px;
        flex-basis: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-marquee__track {
        animation-play-state: paused !important;
    }
}