/* Ortak hareketli hero: metin solda, urun kompozisyonu sagda */
header {
    position: relative;
    min-height: 640px;
    margin-top: 0;
    padding: 122px 0 58px;
    overflow: hidden;
    isolation: isolate;
    color: #4f2919;
    text-align: left;
    background:
        linear-gradient(90deg, rgba(255, 249, 241, .2), rgba(255, 249, 241, .05)),
        url("images/hero-dalgali-arka-plan.webp?v=2") center center / cover no-repeat;
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 72% 48%, rgba(255, 255, 255, .36), transparent 36%);
}

header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 2;
    height: 108px;
    background: url("images/hero-wave.svg") center bottom / 100% 100% no-repeat;
    pointer-events: none;
}

header .hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
    align-items: center;
    gap: clamp(28px, 4vw, 64px);
}

.hero-slider {
    position: relative;
    display: grid;
}

.hero-slider > .hero-slide {
    grid-area: 1 / 1;
    width: 100%;
    padding-right: 72px;
    padding-left: 72px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(52px, 0, 0);
    transition: opacity .7s ease, transform .85s cubic-bezier(.22, 1, .36, 1), visibility .7s ease;
}

.hero-slider > .hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}

.hero-slide h1,
.hero-slide .intro,
.hero-slide .hero-actions,
.hero-slide .hero-visual {
    animation: none;
    opacity: 0;
    transition: opacity .65s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}

.hero-slide h1,
.hero-slide .intro,
.hero-slide .hero-actions {
    transform: translate3d(-44px, 0, 0);
}

.hero-slide .hero-visual {
    transform: translate3d(70px, 0, 0) scale(.94);
}

.hero-slide.is-active h1,
.hero-slide.is-active .intro,
.hero-slide.is-active .hero-actions,
.hero-slide.is-active .hero-visual {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.hero-slide.is-active .intro { transition-delay: .1s; }
.hero-slide.is-active .hero-actions { transition-delay: .2s; }
.hero-slide.is-active .hero-visual { transition-delay: .08s; }

.hero-direction-arrow {
    position: absolute;
    top: 43%;
    left: 52%;
    z-index: 4;
    width: clamp(118px, 11vw, 164px);
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 7px 9px rgba(86, 39, 14, .2));
    transform-origin: center;
    animation: heroArrowPointer 2.6s ease-in-out infinite;
}

.hero-controls {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    display: inline-flex;
    width: 58px;
    height: 58px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 41, 75, .16);
    color: #1f294b;
    font: 500 1.45rem/1 Arial, sans-serif;
    cursor: pointer;
    pointer-events: auto;
    transform: translateY(-50%);
    transition: color .25s ease, background-color .25s ease, transform .25s ease;
}

.hero-arrow[data-hero-prev] { left: var(--hero-prev-offset, 0); }
.hero-arrow[data-hero-next] { right: var(--hero-next-offset, 0); }

.hero-arrow:hover,
.hero-arrow:focus-visible {
    color: #fff;
    background: #ff7526;
    transform: translateY(-50%) scale(1.06);
}

.hero-dots {
    position: absolute;
    bottom: -38px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
    transform: translateX(-50%);
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(91, 49, 27, .32);
    cursor: pointer;
    transition: width .25s ease, border-radius .25s ease, background-color .25s ease;
}

.hero-dot.is-active {
    width: 28px;
    border-radius: 999px;
    background: #d66a20;
}

.hero-arrow:focus-visible,
.hero-dot:focus-visible {
    outline: 3px solid rgba(214, 106, 32, .35);
    outline-offset: 3px;
}

.hero-copy {
    min-width: 0;
    text-align: left;
}

header h1 {
    max-width: 760px;
    margin: 0 0 24px;
    color: #512817;
    font-size: clamp(2.7rem, 4.4vw, 4.9rem);
    line-height: 1.07;
    letter-spacing: -.035em;
    text-align: left;
    text-shadow: none;
    animation: heroTextIn .85s cubic-bezier(.22, 1, .36, 1) .08s both;
}

header .intro {
    max-width: 700px;
    margin: 0;
    color: #654838;
    font-size: clamp(1.05rem, 1.45vw, 1.3rem);
    font-weight: 500;
    line-height: 1.75;
    text-align: left;
    text-shadow: none;
    animation: heroTextIn .85s cubic-bezier(.22, 1, .36, 1) .22s both;
}

header .hero-actions {
    justify-content: flex-start;
    animation: heroTextIn .85s cubic-bezier(.22, 1, .36, 1) .36s both;
}

header .hero-button--faq {
    color: #fff;
    background: #71391c;
    border-color: #71391c;
}

header .hero-button--faq:hover,
header .hero-button--faq:focus-visible {
    color: #fff;
    background: #542712;
    border-color: #542712;
}

header .hero-button--cta {
    color: #fff;
    background: #d66a20;
    border-color: #d66a20;
}

header .hero-button--cta:hover,
header .hero-button--cta:focus-visible {
    color: #fff;
    background: #b95212;
    border-color: #b95212;
}

.hero-visual {
    position: relative;
    isolation: isolate;
    display: flex;
    height: 580px;
    min-width: 0;
    align-items: center;
    justify-content: center;
    animation: heroImageIn 1s cubic-bezier(.22, 1, .36, 1) .16s both;
}

.hero-visual::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 57%;
    z-index: 0;
    width: min(145%, 780px);
    aspect-ratio: 723 / 606;
    background: url("images/hero-shape-1-1.svg") center / contain no-repeat;
    opacity: .82;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.hero-visual > img:not(.hero-direction-arrow) {
    position: relative;
    z-index: 1;
    display: block;
    width: min(115.7%, 640px);
    height: auto;
    margin-right: -52px;
    filter: drop-shadow(0 28px 28px rgba(76, 35, 14, .24));
    animation: heroFloat 5.6s ease-in-out 1.2s infinite;
}

/* Kenarlara kadar dolu PNG/WebP'leri, bosluklu urun kompozisyonlariyla ayni gorunen boyuta getirir. */
.hero-visual > img.hero-product--compact {
    width: min(100.9%, 560px);
}

@keyframes heroArrowPointer {
    0%, 100% { transform: translate(-50%, -50%) rotate(70deg); }
    50% { transform: translate(-58%, -54%) rotate(66deg); }
}

@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translate3d(-54px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes heroImageIn {
    from {
        opacity: 0;
        transform: translate3d(90px, 0, 0) scale(.92);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes heroFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0); }
    50% { transform: translate3d(0, -13px, 0) rotate(.6deg); }
}

@media (max-width: 900px) {
    header {
        min-height: auto;
        padding: 132px 0 56px;
    }

    header .hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .hero-slider > .hero-slide { padding-right: 0; padding-left: 0; }

    .hero-controls {
        inset: 0;
    }

    .hero-arrow {
        top: 72%;
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
    }

    .hero-arrow[data-hero-prev] { left: 2px; }
    .hero-arrow[data-hero-next] { right: 2px; }

    .hero-dots { bottom: -30px; }

    .hero-copy,
    header h1,
    header .intro {
        text-align: center;
    }

    header h1,
    header .intro {
        margin-right: auto;
        margin-left: auto;
    }

    header .hero-actions {
        justify-content: center;
    }

    .hero-direction-arrow {
        display: none;
    }

    .hero-visual { height: auto; }

    .hero-visual::before {
        left: 54%;
        width: min(112vw, 560px);
    }

    .hero-visual > img:not(.hero-direction-arrow) {
        width: min(78vw, 442px);
        margin-right: 0;
    }

    .hero-visual > img.hero-product--compact {
        width: min(68.1vw, 385px);
    }
}

@media (max-width: 560px) {
    header {
        padding: 118px 0 44px;
    }

    header h1 {
        margin-bottom: 18px;
        font-size: clamp(2.15rem, 10vw, 3rem);
    }

    header .intro {
        font-size: 1rem;
        line-height: 1.65;
    }

    header .hero-layout {
        gap: 26px;
    }

    .hero-arrow {
        top: 74%;
        width: 42px;
        height: 42px;
    }

    .hero-visual > img:not(.hero-direction-arrow) {
        width: min(82.7vw, 381px);
    }

    .hero-visual > img.hero-product--compact {
        width: min(72.1vw, 332px);
    }

    header::after {
        right: 0;
        bottom: -1px;
        left: 0;
        height: 68px;
    }
}

