/* ================================================================
   KATEGORİ FULLSCREEN HERO — 6 varyant + 2 accent (navy/red)
   Base layer + drifting blobs + showcase görsel mozaiği
   ================================================================ */

.kat-hero {
    position: relative;
    min-height: 88vh;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 60px) 0 80px;
    background: var(--c-bg, #08080c);
    color: #eaeef7;
}
html[data-theme="light"] .kat-hero {
    background: #ffffff;
    color: #0d1e3a;
}

/* Header'la birleşik görünsün diye altta hafif geçiş */
.kat-hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, var(--c-bg, #08080c));
    pointer-events: none;
    z-index: 5;
}
html[data-theme="light"] .kat-hero::after {
    background: linear-gradient(180deg, transparent, #ffffff);
}

/* ============ DRIFTING BLOBS (arkaplan) ============ */
.kat-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: radial-gradient(ellipse 500px 380px at 55% 50%, rgba(25, 20, 55, 0.45), transparent 65%);
    animation: kh-drift3 22s ease-in-out infinite;
}
.kat-hero__bg::before,
.kat-hero__bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
}
.kat-hero__bg::before {
    top: 8%; left: 6%;
    width: 420px; height: 420px;
    background: rgba(22, 18, 50, 0.8);
    animation: kh-drift1 16s ease-in-out infinite;
}
.kat-hero__bg::after {
    bottom: 10%; right: 8%;
    width: 460px; height: 460px;
    background: rgba(227, 6, 19, 0.32);
    animation: kh-drift2 20s ease-in-out infinite;
}
html[data-theme="light"] .kat-hero__bg { background: radial-gradient(ellipse 500px 380px at 55% 50%, rgba(26, 58, 125, 0.09), transparent 65%); }
html[data-theme="light"] .kat-hero__bg::before { background: rgba(26, 58, 125, 0.20); }
html[data-theme="light"] .kat-hero__bg::after  { background: rgba(227, 6, 19, 0.08); }

/* Red accent — sağ alt blob kırmızı baskın */
.kat-hero--red .kat-hero__bg::after { background: rgba(227, 6, 19, 0.45); }
html[data-theme="light"] .kat-hero--red .kat-hero__bg::after { background: rgba(227, 6, 19, 0.12); }

@keyframes kh-drift1 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(120px, 70px); }
}
@keyframes kh-drift2 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-100px, -80px); }
}
@keyframes kh-drift3 {
    0%, 100% { background-position: 55% 50%; }
    50%      { background-position: 40% 60%; }
}

/* ============ SHOWCASE (ürün görsellerinden mozaik) ============ */
.kat-hero__showcase {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.kat-hero__ph {
    position: absolute;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: kh-float 8s ease-in-out infinite;
}
html[data-theme="light"] .kat-hero__ph {
    background: #ffffff;
    border-color: rgba(13, 30, 58, 0.10);
    box-shadow: 0 30px 70px -20px rgba(13, 30, 58, 0.18);
}
.kat-hero__ph img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.08);
}
.kat-hero__ph--1 { animation-delay: 0s;   }
.kat-hero__ph--2 { animation-delay: 1.5s; }
.kat-hero__ph--3 { animation-delay: 3s;   }
.kat-hero__ph--4 { animation-delay: 4.5s; }

@keyframes kh-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}

/* ============ İÇERİK ============ */
.kat-hero__inner {
    position: relative;
    z-index: 10;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}
.kat-hero__crumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
    opacity: 0.75;
}
.kat-hero__crumb a { color: inherit; text-decoration: none; transition: color .2s; }
.kat-hero__crumb a:hover { color: #e30613; }
.kat-hero__crumb i { font-size: 8px; opacity: 0.5; }
.kat-hero__crumb span { color: #e30613; }

.kat-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(227, 6, 19, 0.12);
    border: 1px solid rgba(227, 6, 19, 0.28);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: #ff3848;
}
html[data-theme="light"] .kat-hero__eyebrow { color: #b3040f; }
.kat-hero__dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #e30613;
    box-shadow: 0 0 10px rgba(227, 6, 19, 0.6);
    animation: kh-blink 1.8s ease-in-out infinite;
}
@keyframes kh-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.3; }
}

.kat-hero__title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(52px, 8vw, 112px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin: 0 0 28px;
    max-width: 1000px;
}
.kat-hero__desc {
    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.55;
    max-width: 620px;
    margin: 0 0 40px;
    opacity: 0.8;
}

.kat-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.kat-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    border: 1px solid transparent;
}
.kat-hero__btn--primary {
    background: #e30613;
    color: #fff;
    box-shadow: 0 12px 30px -8px rgba(227, 6, 19, 0.5);
}
.kat-hero__btn--primary:hover {
    background: #b3040f;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -8px rgba(227, 6, 19, 0.7);
}
.kat-hero__btn--primary i { font-size: 12px; transition: transform .25s; }
.kat-hero__btn--primary:hover i { transform: translateX(4px); }
.kat-hero__btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.20);
    color: inherit;
}
html[data-theme="light"] .kat-hero__btn--ghost { border-color: rgba(13, 30, 58, 0.20); }
.kat-hero__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
}
html[data-theme="light"] .kat-hero__btn--ghost:hover {
    background: rgba(13, 30, 58, 0.05);
    border-color: rgba(13, 30, 58, 0.35);
}

/* ============ SCROLL INDICATOR ============ */
.kat-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    z-index: 11;
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    transition: opacity .2s;
}
.kat-hero__scroll:hover { opacity: 1; }
.kat-hero__scroll-line {
    width: 1px;
    height: 42px;
    background: linear-gradient(180deg, transparent, currentColor);
    position: relative;
    overflow: hidden;
}
.kat-hero__scroll-line::before {
    content: '';
    position: absolute;
    top: 0; left: -1px;
    width: 3px; height: 14px;
    background: #e30613;
    animation: kh-scroll 2s ease-in-out infinite;
}
.kat-hero__scroll-txt {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
@keyframes kh-scroll {
    0%   { top: -14px; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { top: 42px; opacity: 0; }
}

.kat-anchor { display: block; height: 1px; }

/* ================================================================
   VARYANT 1 — Sol layout + sağ asimetrik ürün mozaiği
   ================================================================ */
.kat-hero--v1 .kat-hero__inner { max-width: 1320px; }
.kat-hero--v1 .kat-hero__title { max-width: 720px; }
.kat-hero--v1 .kat-hero__desc  { max-width: 520px; }
.kat-hero--v1 .kat-hero__ph--1 { top: 12%;  right: 6%;  width: 280px; height: 280px; transform: rotate(6deg); }
.kat-hero--v1 .kat-hero__ph--2 { top: 38%;  right: 22%; width: 200px; height: 200px; transform: rotate(-4deg); }
.kat-hero--v1 .kat-hero__ph--3 { bottom: 18%; right: 8%; width: 230px; height: 230px; transform: rotate(8deg); }
.kat-hero--v1 .kat-hero__ph--4 { top: 55%;  right: 36%; width: 160px; height: 160px; transform: rotate(-10deg); }

/* ================================================================
   VARYANT 2 — Merkez metin + arkada blur ürün grid
   ================================================================ */
.kat-hero--v2 { text-align: center; }
.kat-hero--v2 .kat-hero__inner { max-width: 900px; text-align: center; }
.kat-hero--v2 .kat-hero__crumb { justify-content: center; }
.kat-hero--v2 .kat-hero__title { margin-left: auto; margin-right: auto; max-width: 900px; }
.kat-hero--v2 .kat-hero__desc  { margin-left: auto; margin-right: auto; }
.kat-hero--v2 .kat-hero__actions { justify-content: center; }
.kat-hero--v2 .kat-hero__showcase { opacity: 0.25; filter: blur(3px); }
.kat-hero--v2 .kat-hero__ph--1 { top: 15%; left: 8%;  width: 220px; height: 220px; }
.kat-hero--v2 .kat-hero__ph--2 { top: 20%; right: 10%; width: 260px; height: 260px; }
.kat-hero--v2 .kat-hero__ph--3 { bottom: 15%; left: 12%; width: 240px; height: 240px; }
.kat-hero--v2 .kat-hero__ph--4 { bottom: 20%; right: 8%; width: 200px; height: 200px; }

/* ================================================================
   VARYANT 3 — Sol metin + sağ floating showcase
   ================================================================ */
.kat-hero--v3 .kat-hero__inner { max-width: 680px; margin-left: max(32px, calc((100vw - 1320px) / 2 + 32px)); margin-right: 0; }
.kat-hero--v3 .kat-hero__ph--1 { top: 22%; right: 8%;  width: 320px; height: 400px; transform: rotate(3deg); }
.kat-hero--v3 .kat-hero__ph--2 { top: 40%; right: 30%; width: 200px; height: 260px; transform: rotate(-5deg); }
.kat-hero--v3 .kat-hero__ph--3 { display: none; }
.kat-hero--v3 .kat-hero__ph--4 { display: none; }

/* ================================================================
   VARYANT 4 — Üst metin + alt ürün şerit
   ================================================================ */
.kat-hero--v4 { padding-top: calc(var(--header-height) + 40px); padding-bottom: 200px; }
.kat-hero--v4 .kat-hero__inner { max-width: 1100px; text-align: center; }
.kat-hero--v4 .kat-hero__crumb { justify-content: center; }
.kat-hero--v4 .kat-hero__title { margin-left: auto; margin-right: auto; max-width: 1100px; }
.kat-hero--v4 .kat-hero__desc  { margin-left: auto; margin-right: auto; }
.kat-hero--v4 .kat-hero__actions { justify-content: center; }
.kat-hero--v4 .kat-hero__showcase { top: auto; bottom: 0; height: 260px; }
.kat-hero--v4 .kat-hero__ph { bottom: 20px; }
.kat-hero--v4 .kat-hero__ph--1 { left: 10%; width: 200px; height: 200px; transform: rotate(-4deg); }
.kat-hero--v4 .kat-hero__ph--2 { left: 30%; width: 220px; height: 220px; transform: rotate(3deg); }
.kat-hero--v4 .kat-hero__ph--3 { right: 30%; width: 200px; height: 200px; transform: rotate(-3deg); }
.kat-hero--v4 .kat-hero__ph--4 { right: 10%; width: 220px; height: 220px; transform: rotate(5deg); }

/* ================================================================
   VARYANT 5 — Asymmetric diagonal split
   ================================================================ */
.kat-hero--v5::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(115deg, transparent 45%, rgba(25, 20, 55, 0.25) 45%, rgba(25, 20, 55, 0.25) 55%, transparent 55%);
    z-index: 1;
    pointer-events: none;
}
html[data-theme="light"] .kat-hero--v5::before {
    background: linear-gradient(115deg, transparent 45%, rgba(26, 58, 125, 0.08) 45%, rgba(26, 58, 125, 0.08) 55%, transparent 55%);
}
.kat-hero--v5 .kat-hero__inner {
    max-width: 640px;
    margin-left: max(32px, calc((100vw - 1320px) / 2 + 32px));
    margin-right: 0;
}
.kat-hero--v5 .kat-hero__ph--1 { top: 15%; right: 10%; width: 340px; height: 340px; transform: rotate(-5deg); }
.kat-hero--v5 .kat-hero__ph--2 { bottom: 15%; right: 20%; width: 240px; height: 240px; transform: rotate(8deg); }
.kat-hero--v5 .kat-hero__ph--3 { display: none; }
.kat-hero--v5 .kat-hero__ph--4 { display: none; }

/* ================================================================
   VARYANT 6 — Center stage (büyük ürün merkezde, metin sarmış)
   ================================================================ */
.kat-hero--v6 { text-align: center; }
.kat-hero--v6 .kat-hero__inner { max-width: 1100px; }
.kat-hero--v6 .kat-hero__crumb { justify-content: center; }
.kat-hero--v6 .kat-hero__title { margin: 0 auto 28px; max-width: 900px; }
.kat-hero--v6 .kat-hero__desc  { margin: 0 auto 40px; }
.kat-hero--v6 .kat-hero__actions { justify-content: center; }
.kat-hero--v6 .kat-hero__showcase { mix-blend-mode: screen; opacity: 0.6; }
html[data-theme="light"] .kat-hero--v6 .kat-hero__showcase { mix-blend-mode: normal; opacity: 0.85; }
.kat-hero--v6 .kat-hero__ph--1 { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 520px; height: 520px; border-radius: 50%; }
.kat-hero--v6 .kat-hero__ph--2 { display: none; }
.kat-hero--v6 .kat-hero__ph--3 { display: none; }
.kat-hero--v6 .kat-hero__ph--4 { display: none; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
    .kat-hero { min-height: 78vh; }
    .kat-hero__ph { transform: none !important; }
    .kat-hero--v1 .kat-hero__ph--1 { top: 10%; right: 4%; width: 200px; height: 200px; }
    .kat-hero--v1 .kat-hero__ph--2 { top: 38%; right: 20%; width: 140px; height: 140px; }
    .kat-hero--v1 .kat-hero__ph--3 { bottom: 18%; right: 6%; width: 170px; height: 170px; }
    .kat-hero--v1 .kat-hero__ph--4 { display: none; }
    .kat-hero--v3 .kat-hero__inner { max-width: 100%; margin: 0 auto; padding: 0 24px; }
    .kat-hero--v3 .kat-hero__ph--1 { top: 55%; right: 2%; width: 200px; height: 260px; opacity: 0.4; }
    .kat-hero--v3 .kat-hero__ph--2 { display: none; }
    .kat-hero--v5 .kat-hero__inner { max-width: 100%; margin: 0 auto; padding: 0 24px; }
    .kat-hero--v5 .kat-hero__ph--1 { top: 10%; right: 2%; width: 220px; height: 220px; opacity: 0.6; }
    .kat-hero--v5 .kat-hero__ph--2 { bottom: 10%; right: 12%; width: 160px; height: 160px; opacity: 0.6; }
    .kat-hero--v6 .kat-hero__ph--1 { width: 380px; height: 380px; }
}
@media (max-width: 720px) {
    .kat-hero {
        min-height: 72vh;
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 60px;
    }
    .kat-hero__inner { padding: 0 20px; }
    .kat-hero__title { font-size: clamp(40px, 12vw, 60px); margin-bottom: 20px; }
    .kat-hero__desc  { font-size: 15px; margin-bottom: 28px; }
    .kat-hero__btn   { padding: 14px 22px; font-size: 13px; }
    .kat-hero__scroll { display: none; }
    /* Tüm varyantlarda showcase mobilde soft arkaplanda */
    .kat-hero__showcase { opacity: 0.25 !important; filter: blur(2px); }
    .kat-hero__ph { width: 130px !important; height: 130px !important; }
    .kat-hero--v1 .kat-hero__ph--1 { top: 8%; right: -20px; }
    .kat-hero--v1 .kat-hero__ph--2 { display: none; }
    .kat-hero--v1 .kat-hero__ph--3 { bottom: 10%; right: -20px; }
    .kat-hero--v4 { padding-bottom: 180px; }
    .kat-hero--v4 .kat-hero__showcase { height: 160px; }
    .kat-hero--v4 .kat-hero__ph { bottom: 10px; }
    .kat-hero--v4 .kat-hero__ph--1 { left: 5%; }
    .kat-hero--v4 .kat-hero__ph--2 { left: 35%; }
    .kat-hero--v4 .kat-hero__ph--3 { right: 35%; }
    .kat-hero--v4 .kat-hero__ph--4 { right: 5%; }
    .kat-hero--v6 .kat-hero__ph--1 { width: 280px !important; height: 280px !important; }
}

@media (prefers-reduced-motion: reduce) {
    .kat-hero__bg,
    .kat-hero__bg::before,
    .kat-hero__bg::after,
    .kat-hero__ph,
    .kat-hero__dot,
    .kat-hero__scroll-line::before { animation: none !important; }
}
