﻿/* =====================================================================
   EXENA katalog içerik sayfaları (Katalog 2026-2027'den)
   Teknolojiler, Seriler, Normlar, Sürdürülebilirlik, Laboratuvar, İş Birlikleri
   ve anasayfadaki seri / teknoloji vitrinleri. Tüm sınıflar "ek-" önekli;
   renkler exena-theme.css değişkenlerinden gelir.
   ===================================================================== */

:root {
    --ek-dark: var(--exena-dark, #252525);
    --ek-light: var(--exena-light, #f6f6f6);
    --ek-border: var(--exena-border, #e2e2e2);
    --ek-muted: var(--exena-muted, #6f6f6f);
    --ek-accent: #c6d300; /* katalog ürünlerindeki neon sarı-yeşil */
}

/* ---- Sayfa başlığı ---- */
.ek-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    background: var(--ek-dark) center / cover no-repeat;
    color: #fff;
    overflow: hidden;
}

    .ek-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.15) 100%);
    }

    .ek-hero .container {
        position: relative;
        padding-top: 90px;
        padding-bottom: 60px;
    }

.ek-eyebrow {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--ek-accent);
    margin-bottom: 12px;
}

.ek-hero h1 {
    color: #fff;
    font-size: clamp(3.4rem, 6vw, 6.4rem);
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.05;
    margin-bottom: 16px;
}

.ek-hero p {
    max-width: 640px;
    color: rgba(255,255,255,.82);
    font-size: 1.7rem;
    line-height: 1.6;
    margin: 0;
}

/* ---- Bölüm içi gezinme (sticky) ---- */
.ek-subnav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--ek-border);
}

    .ek-subnav ul {
        display: flex;
        gap: 4px;
        overflow-x: auto;
        margin: 0;
        padding: 0;
        list-style: none;
        scrollbar-width: none;
    }

        .ek-subnav ul::-webkit-scrollbar {
            display: none;
        }

    .ek-subnav a {
        display: block;
        white-space: nowrap;
        padding: 18px 16px;
        font-size: 1.35rem;
        font-weight: 600;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--ek-muted);
        border-bottom: 3px solid transparent;
    }

        .ek-subnav a:hover,
        .ek-subnav a.active {
            color: var(--ek-dark);
            border-bottom-color: var(--ek-accent);
        }

/* ---- Genel bölüm ---- */
.ek-section {
    padding: 80px 0;
    scroll-margin-top: 60px;
}

    .ek-section + .ek-section {
        border-top: 1px solid var(--ek-border);
    }

.ek-section--light {
    background: var(--ek-light);
}

.ek-section--dark {
    background: var(--ek-dark);
    color: rgba(255,255,255,.8);
}

    .ek-section--dark h2,
    .ek-section--dark h3 {
        color: #fff;
    }

.ek-head {
    max-width: 760px;
    margin-bottom: 44px;
}

    .ek-head h2 {
        font-size: clamp(2.6rem, 4vw, 3.8rem);
        font-weight: 700;
        line-height: 1.15;
        margin-bottom: 14px;
    }

    .ek-head p {
        font-size: 1.6rem;
        line-height: 1.7;
        color: var(--ek-muted);
        margin: 0;
    }

.ek-section--dark .ek-head p {
    color: rgba(255,255,255,.7);
}

/* ---- Görsel + metin (grup girişi, kurumsal bloklar) ---- */
.ek-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
    align-items: center;
    margin-bottom: 48px;
}

.ek-split--reverse .ek-split__media {
    order: 2;
}

.ek-split__media img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 4px;
}

.ek-split__body h2 {
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.ek-split__body h3 {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    margin: 28px 0 10px;
}

    .ek-split__body h3:first-child {
        margin-top: 0;
    }

.ek-split__body p {
    font-size: 1.55rem;
    line-height: 1.75;
    color: #444;
}

.ek-section--dark .ek-split__body p {
    color: rgba(255,255,255,.75);
}

/* ---- Teknoloji kartları ---- */
.ek-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.ek-tech-card {
    position: relative;
    height: 100%;
    padding: 30px 28px 28px;
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 4px;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}

    .ek-tech-card:hover {
        border-color: var(--ek-dark);
        box-shadow: 0 14px 34px rgba(0,0,0,.08);
        transform: translateY(-3px);
    }

    .ek-tech-card::before {
        content: "";
        position: absolute;
        left: 28px;
        top: 0;
        width: 36px;
        height: 4px;
        background: var(--ek-accent);
    }

    .ek-tech-card h3 {
        font-size: 1.9rem;
        font-weight: 700;
        letter-spacing: .03em;
        margin-bottom: 10px;
    }

    .ek-tech-card p {
        font-size: 1.45rem;
        line-height: 1.7;
        color: #555;
        margin: 0;
    }

.ek-tech-card__tag {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ek-muted);
}

.ek-note {
    margin: 0 0 32px;
    padding: 18px 22px;
    background: #fff;
    border-left: 4px solid var(--ek-accent);
    font-size: 1.5rem;
    line-height: 1.7;
    color: #444;
}

/* ---- Anasayfa: teknoloji vitrini ---- */
.ek-tech-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.ek-tech-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 300px;
    padding: 24px;
    overflow: hidden;
    border-radius: 4px;
    color: #fff;
    background: #111;
}

    .ek-tech-tile img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .55;
        transition: transform .5s, opacity .3s;
    }

    .ek-tech-tile:hover img {
        transform: scale(1.06);
        opacity: .4;
    }

    .ek-tech-tile > * {
        position: relative;
    }

    .ek-tech-tile h3 {
        color: #fff;
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .ek-tech-tile span {
        font-size: 1.3rem;
        line-height: 1.6;
        color: rgba(255,255,255,.8);
    }

    .ek-tech-tile strong {
        margin-top: 14px;
        font-size: 1.2rem;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--ek-accent);
    }

    .ek-tech-tile:hover,
    .ek-tech-tile:focus {
        color: #fff;
    }

/* ---- Seriler ---- */
.ek-series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.ek-series-card {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
    border: 1px solid var(--ek-border);
    color: var(--ek-dark);
    transition: box-shadow .25s, transform .25s;
}

    .ek-series-card:hover {
        color: var(--ek-dark);
        box-shadow: 0 14px 34px rgba(0,0,0,.1);
        transform: translateY(-3px);
    }

.ek-series-card__img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #ddd;
}

    .ek-series-card__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s;
    }

.ek-series-card:hover .ek-series-card__img img {
    transform: scale(1.05);
}

.ek-series-card__body {
    padding: 20px 22px 22px;
}

    .ek-series-card__body h3 {
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: .04em;
        margin-bottom: 6px;
    }

    .ek-series-card__body p {
        font-size: 1.4rem;
        color: var(--ek-muted);
        margin: 0;
    }

.ek-series {
    scroll-margin-top: 60px;
}

.ek-series__banner {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    background: #111 center / cover no-repeat;
    color: #fff;
}

    .ek-series__banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.1) 60%);
    }

    .ek-series__banner .container {
        position: relative;
        padding-bottom: 40px;
    }

    .ek-series__banner h2 {
        color: #fff;
        font-size: clamp(3.6rem, 7vw, 7rem);
        font-weight: 800;
        letter-spacing: .02em;
        line-height: 1;
        margin: 0;
    }

.ek-series__body {
    padding: 60px 0 70px;
}

.ek-series__text {
    columns: 2 340px;
    column-gap: 48px;
}

    .ek-series__text h3 {
        break-after: avoid;
        font-size: 1.6rem;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
        margin: 0 0 8px;
    }

    .ek-series__text p {
        font-size: 1.5rem;
        line-height: 1.75;
        color: #444;
        margin-bottom: 24px;
        break-inside: avoid-column;
    }

.ek-models {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--ek-border);
}

    .ek-models h4 {
        font-size: 1.3rem;
        font-weight: 600;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--ek-muted);
        margin-bottom: 14px;
    }

.ek-model-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .ek-model-list a {
        display: inline-flex;
        align-items: baseline;
        gap: 8px;
        padding: 9px 14px;
        border: 1px solid var(--ek-border);
        border-radius: 3px;
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--ek-dark);
        background: #fff;
    }

        .ek-model-list a small {
            font-size: 1.15rem;
            font-weight: 400;
            color: var(--ek-muted);
        }

        .ek-model-list a:hover {
            border-color: var(--ek-dark);
            background: var(--ek-dark);
            color: #fff;
        }

            .ek-model-list a:hover small {
                color: rgba(255,255,255,.7);
            }

/* ---- Tablolar (normlar) ---- */
.ek-table-wrap {
    overflow-x: auto;
    margin-bottom: 36px;
    border: 1px solid var(--ek-border);
    border-radius: 4px;
    background: #fff;
}

.ek-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.45rem;
}

    .ek-table th,
    .ek-table td {
        padding: 14px 16px;
        border-bottom: 1px solid var(--ek-border);
        text-align: left;
        vertical-align: top;
        line-height: 1.55;
    }

    .ek-table thead th {
        background: var(--ek-dark);
        color: #fff;
        font-size: 1.25rem;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .ek-table tbody tr:last-child td {
        border-bottom: 0;
    }

    .ek-table td:first-child {
        width: 110px;
        font-weight: 700;
        white-space: nowrap;
    }

.ek-code {
    display: inline-block;
    min-width: 46px;
    padding: 3px 8px;
    border-radius: 3px;
    background: var(--ek-dark);
    color: var(--ek-accent);
    font-weight: 700;
    text-align: center;
}

.ek-figure {
    margin: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--ek-border);
    border-radius: 4px;
    text-align: center;
}

    .ek-figure img {
        max-width: 100%;
        height: auto;
    }

/* ---- Kurumsal ---- */
.ek-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.ek-pillar {
    padding: 30px;
    background: #fff;
    border-top: 4px solid var(--ek-accent);
    border-radius: 4px;
    box-shadow: 0 6px 24px rgba(0,0,0,.05);
}

    .ek-pillar h3 {
        font-size: 1.7rem;
        font-weight: 700;
        letter-spacing: .03em;
        text-transform: uppercase;
        margin-bottom: 12px;
    }

    .ek-pillar p {
        font-size: 1.45rem;
        line-height: 1.75;
        color: #555;
        margin: 0;
    }

.ek-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

    .ek-stats div {
        padding: 24px;
        border: 1px solid rgba(255,255,255,.15);
        border-radius: 4px;
    }

    .ek-stats strong {
        display: block;
        font-size: 3.2rem;
        font-weight: 800;
        color: var(--ek-accent);
        line-height: 1.1;
    }

    .ek-stats span {
        font-size: 1.35rem;
        color: rgba(255,255,255,.75);
    }

/* ---- İş birlikleri ---- */
.ek-partner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    padding: 56px 0;
    border-bottom: 1px solid var(--ek-border);
}

    .ek-partner:last-child {
        border-bottom: 0;
    }

    .ek-partner:nth-child(even) .ek-partner__media {
        order: 2;
    }

.ek-partner__media img {
    width: 100%;
    border-radius: 4px;
}

.ek-partner__brand {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ek-muted);
}

.ek-partner h2 {
    font-size: clamp(2.4rem, 3.5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 18px;
}

.ek-partner h3 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin: 22px 0 8px;
}

.ek-partner p,
.ek-partner li {
    font-size: 1.5rem;
    line-height: 1.75;
    color: #444;
}

.ek-partner ul {
    padding-left: 18px;
}

/* ---- Çağrı (CTA) ---- */
.ek-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 36px 40px;
    background: var(--ek-dark);
    border-radius: 4px;
    color: #fff;
}

    .ek-cta h3 {
        color: #fff;
        font-size: 2.2rem;
        margin: 0;
    }

.ek-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border: 2px solid var(--ek-accent);
    border-radius: 3px;
    background: var(--ek-accent);
    color: var(--ek-dark);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background .2s, color .2s;
}

    .ek-btn:hover {
        background: transparent;
        color: var(--ek-accent);
    }

.ek-btn--outline {
    background: transparent;
    color: var(--ek-dark);
    border-color: var(--ek-dark);
}

    .ek-btn--outline:hover {
        background: var(--ek-dark);
        color: #fff;
    }

/* ---- Duyarlı ---- */
@media (max-width: 991px) {
    .ek-split,
    .ek-partner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ek-split--reverse .ek-split__media,
    .ek-partner:nth-child(even) .ek-partner__media {
        order: 0;
    }

    .ek-section {
        padding: 56px 0;
    }
}

@media (max-width: 575px) {
    .ek-hero {
        min-height: 340px;
    }

    .ek-series__banner {
        min-height: 300px;
    }

    .ek-cta {
        padding: 28px 22px;
    }
}

/* ---- Seri kartı ek alanları ---- */
.ek-series-card__tag {
    display: block;
    margin-bottom: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ek-muted);
}

.ek-series-card__more {
    display: inline-block;
    margin-top: 14px;
    font-size: 1.25rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ek-dark);
    border-bottom: 2px solid var(--ek-accent);
}

.ek-series-card {
    display: flex;
    flex-direction: column;
}

.ek-series-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .ek-series-card__body .ek-series-card__more {
        margin-top: auto;
        padding-top: 14px;
    }

/* ---- Seri detay sayfası ---- */
.ek-series__banner--page {
    min-height: 560px;
}

    .ek-series__banner--page .container {
        padding-top: 120px;
        padding-bottom: 56px;
    }

    .ek-series__banner--page h1 {
        color: #fff;
        font-size: clamp(4rem, 8vw, 8rem);
        font-weight: 800;
        letter-spacing: .02em;
        line-height: 1;
        margin: 0 0 16px;
    }

.ek-series__summary {
    max-width: 620px;
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.6;
    color: rgba(255,255,255,.85);
}

.ek-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
    font-size: 1.3rem;
    color: rgba(255,255,255,.6);
}

    .ek-breadcrumb a {
        color: rgba(255,255,255,.85);
    }

        .ek-breadcrumb a:hover {
            color: var(--ek-accent);
        }

.ek-detail {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 56px;
    align-items: start;
}

.ek-detail__block + .ek-detail__block {
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--ek-border);
}

.ek-detail__block h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ek-detail__block p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

.ek-detail__aside {
    position: sticky;
    top: 90px;
    padding: 22px;
    background: var(--ek-light);
    border-radius: 4px;
}

    .ek-detail__aside img {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 5;
        object-fit: cover;
        border-radius: 3px;
        margin-bottom: 18px;
    }

.ek-facts {
    margin: 0 0 20px;
}

    .ek-facts div {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        padding: 10px 0;
        border-bottom: 1px solid var(--ek-border);
        font-size: 1.4rem;
    }

    .ek-facts dt {
        font-weight: 400;
        color: var(--ek-muted);
    }

    .ek-facts dd {
        margin: 0;
        font-weight: 700;
        text-align: right;
        color: var(--ek-dark);
    }

.ek-pager {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
    margin-top: 64px;
    padding-top: 28px;
    border-top: 1px solid var(--ek-border);
}

.ek-pager__link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--ek-dark);
}

    .ek-pager__link small {
        font-size: 1.2rem;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--ek-muted);
    }

    .ek-pager__link strong {
        font-size: 2.2rem;
        font-weight: 800;
    }

    .ek-pager__link:hover strong {
        color: var(--ek-dark);
        text-decoration: underline;
        text-decoration-color: var(--ek-accent);
        text-underline-offset: 6px;
    }

.ek-pager__link--next {
    text-align: right;
    align-items: flex-end;
}

.ek-pager__all {
    padding: 10px 18px;
    border: 1px solid var(--ek-border);
    border-radius: 3px;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ek-dark);
}

    .ek-pager__all:hover {
        border-color: var(--ek-dark);
        color: var(--ek-dark);
    }

@media (max-width: 991px) {
    .ek-detail {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ek-detail__aside {
        position: static;
    }

        .ek-detail__aside img {
            aspect-ratio: 16 / 10;
        }
}

@media (max-width: 575px) {
    .ek-series__banner--page {
        min-height: 420px;
    }

    .ek-pager {
        grid-template-columns: 1fr 1fr;
    }

    .ek-pager__all {
        grid-column: 1 / -1;
        grid-row: 2;
        text-align: center;
    }
}
