/**
 * Kurumsal Tanıtım sayfa şablonu (corporate_showcase)
 */

.page-shell--corporate-showcase {
    padding-bottom: clamp(0.5rem, 2vw, var(--theme-section-spacing, 2rem));
}

.site-icerik:has(.page-shell--corporate-showcase) {
    padding-bottom: 0;
    min-height: 0;
}

/* ── Hero ── */
.corp-showcase__hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid color-mix(in srgb, var(--theme-border) 82%, transparent);
}

.corp-showcase__hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            110% 90% at 0% 0%,
            var(--theme-overlay-soft, color-mix(in srgb, var(--theme-text) 8%, transparent)) 0%,
            transparent 58%
        ),
        radial-gradient(
            90% 75% at 100% 20%,
            color-mix(in srgb, var(--theme-text) 4%, transparent) 0%,
            transparent 55%
        ),
        linear-gradient(
            180deg,
            var(--theme-surface-alt, color-mix(in srgb, var(--theme-text) 3%, var(--theme-surface))) 0%,
            var(--theme-surface-alt, var(--theme-surface)) 100%
        );
    pointer-events: none;
}

.corp-showcase__hero-inner {
    position: relative;
    z-index: 1;
    width: var(--layout-container-wide);
    margin-inline: auto;
    padding-block: clamp(2.25rem, 5.5vw, 3.75rem) clamp(1.75rem, 4vw, 2.75rem);
}

.corp-showcase__breadcrumb {
    margin-bottom: 0.75rem;
}

.corp-showcase__breadcrumb .page-breadcrumb {
    margin-bottom: 0;
}

.corp-showcase__breadcrumb .page-breadcrumb__link {
    color: var(--theme-primary);
    text-decoration: none;
}

.corp-showcase__breadcrumb .page-breadcrumb__link:hover,
.corp-showcase__breadcrumb .page-breadcrumb__link:focus-visible {
    text-decoration: underline;
    outline: none;
}

.corp-showcase__title {
    margin: 0;
    max-width: 22ch;
    font-family: var(--theme-heading-font, var(--theme-font, inherit));
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: var(--theme-heading-weight, 300);
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--theme-text, var(--site-text));
}

.corp-showcase__title::after {
    content: '';
    display: block;
    width: 3.5rem;
    height: 3px;
    margin-top: 1.1rem;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--theme-primary),
        color-mix(in srgb, var(--theme-accent, var(--theme-secondary)) 65%, var(--theme-primary))
    );
}

.corp-showcase__lead {
    margin: 1.1rem 0 0;
    max-width: 58ch;
    font-size: clamp(1.05rem, 1.9vw, 1.2rem);
    line-height: 1.65;
    color: var(--theme-text-muted, var(--site-text-muted));
}

/* ── Main ── */
.corp-showcase__main {
    background: linear-gradient(
        180deg,
        var(--theme-surface-alt, var(--theme-surface)) 0%,
        var(--theme-surface) 42%
    );
}

.corp-showcase__empty-wrap {
    width: var(--layout-container-wide);
    margin-inline: auto;
    padding-block: clamp(1.25rem, 3vw, 2rem);
}

/* ── Content (kart yok — doğal metin bloğu) ── */
.corp-showcase__content {
    padding: clamp(1.25rem, 2vw, 1.75rem) 0 clamp(1rem, 2.5vw, 1.75rem);
}

.corp-showcase__content-inner {
    width: var(--layout-container-wide);
    margin-inline: auto;
}

.page-shell--corporate-showcase .corp-showcase__content-card {
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.page-shell--corporate-showcase .corp-showcase__content-card .corp-showcase__prose {
    /* Hizmet detayındaki content gibi geniş konteynerin tamamını kullanır. */
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    font-size: clamp(1rem, 1.15vw, 1.08rem);
    line-height: 1.78;
    color: var(--theme-text-muted, var(--site-text-muted));
}

.page-shell--corporate-showcase .corp-showcase__prose :where(h2, h3) {
    margin: 1.85em 0 0.6em;
    color: var(--theme-text, var(--site-text));
    font-weight: var(--theme-heading-weight, 500);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.page-shell--corporate-showcase .corp-showcase__prose > :first-child {
    margin-top: 0;
}

.page-shell--corporate-showcase .corp-showcase__prose :where(li + li) {
    margin-top: 0.45rem;
}

.page-shell--corporate-showcase .corp-showcase__prose :where(figure) {
    max-width: 100%;
    margin-inline: 0;
}

.page-shell--corporate-showcase .corp-showcase__prose :where(figure img) {
    display: block;
    width: 100%;
    max-height: 42rem;
    object-fit: contain;
}

/* ── Brand logos ── */
.corp-showcase__brands {
    padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(2rem, 5vw, 3.5rem);
    border-top: 1px solid color-mix(in srgb, var(--theme-border) 75%, transparent);
    background: color-mix(in srgb, var(--theme-surface-alt, var(--theme-surface)) 40%, var(--theme-surface));
}

.corp-showcase__brands-inner {
    width: var(--layout-container-wide);
    margin-inline: auto;
}

.corp-showcase__brands-head {
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
    text-align: center;
}

.corp-showcase__brands-title {
    margin: 0;
    font-family: var(--theme-heading-font, var(--theme-font, inherit));
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: var(--theme-heading-weight, 300);
    color: var(--theme-text, var(--site-text));
}

.corp-showcase__brands-desc {
    margin: 0.65rem auto 0;
    max-width: 52ch;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--theme-text-muted, var(--site-text-muted));
}

.corp-showcase__logo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.85rem, 2vw, 1.25rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.corp-showcase__logo-item {
    margin: 0;
}

.corp-showcase__logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 5.5rem;
    padding: clamp(0.85rem, 2vw, 1.15rem) clamp(0.75rem, 1.5vw, 1rem);
    border: 1px solid color-mix(in srgb, var(--theme-border) 85%, transparent);
    border-radius: var(--theme-card-radius, var(--ds-radius, 12px));
    background: var(--theme-surface);
    text-decoration: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.corp-showcase__logo-link--static {
    cursor: default;
}

.corp-showcase__logo-link:hover,
.corp-showcase__logo-link:focus-visible {
    border-color: var(--theme-card-border, color-mix(in srgb, var(--theme-border) 70%, var(--theme-text)));
    box-shadow: var(--theme-card-shadow-hover, 0 8px 24px color-mix(in srgb, var(--theme-text) 8%, transparent));
    outline: none;
}

.corp-showcase__logo-img {
    display: block;
    max-width: 100%;
    max-height: 2.75rem;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.45;
    filter: grayscale(1);
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.corp-showcase__logo-link:hover .corp-showcase__logo-img,
.corp-showcase__logo-link:focus-visible .corp-showcase__logo-img {
    opacity: 1;
    filter: grayscale(0);
}

.page-shell--corporate-showcase.page-shell--no-header .corp-showcase__main {
    padding-top: 0;
}

.page-shell--corporate-showcase.page-shell--no-header .corp-showcase__content {
    padding-top: clamp(1.25rem, 3vw, 2rem);
}

.page-shell--corporate-showcase.page-shell--no-header .corp-showcase__empty-wrap {
    padding-top: clamp(1rem, 2.5vw, 1.5rem);
}

/* ── Prolog / alıntı ── */
.corp-prolog {
    position: relative;
    padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(1.5rem, 2.5vw, 2rem);
    overflow: hidden;
    background: linear-gradient(
        180deg,
        var(--theme-surface-alt, color-mix(in srgb, var(--theme-text) 3%, var(--theme-surface))) 0%,
        transparent 72%
    );
}

.corp-prolog__inner {
    position: relative;
    width: var(--layout-container-wide);
    margin-inline: auto;
}

.corp-prolog__lines {
    position: absolute;
    inset: 50% auto auto 50%;
    width: min(118%, 56rem);
    height: auto;
    transform: translate(-50%, -50%);
    color: color-mix(in srgb, var(--theme-text) 10%, transparent);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.corp-prolog__quote {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    border: 0;
    quotes: none;
}

.corp-prolog--center .corp-prolog__quote {
    text-align: center;
    margin-inline: auto;
    max-width: min(78.75rem, 94vw);
}

.corp-prolog--left .corp-prolog__quote {
    text-align: left;
    max-width: min(78.75rem, 100%);
}

.corp-prolog__text {
    margin: 0;
    font-family: var(--site-heading-font, var(--site-font-family));
    font-size: clamp(2rem, 2.4vw, 38px);
    font-weight: var(--theme-heading-weight, 300);
    line-height: 1.34;
    letter-spacing: -0.02em;
    color: var(--theme-text, var(--site-text));
    text-wrap: balance;
    font-synthesis-weight: none;
    font-synthesis-style: none;
    text-rendering: geometricPrecision;
}

.corp-prolog__text :is(h1, h2, h3, h4, h5, h6) {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    margin: 0;
}

.corp-prolog__author {
    display: block;
    margin-top: clamp(1.5rem, 2.5vw, 2.25rem);
    font-family: var(--theme-font, inherit);
    font-size: clamp(1.1rem, 1.35vw, 1.45rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--theme-text-muted, var(--site-text-muted));
}

.corp-prolog__author::before {
    content: none;
}

@media (min-width: 768px) {
    .corp-showcase__logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .corp-showcase__title {
        max-width: 26ch;
    }
}

@media (min-width: 1024px) {
    .corp-showcase__logo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .corp-showcase__logo-img {
        max-height: 3rem;
    }
}

@media (min-width: 1440px) {
    .corp-showcase__logo-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .corp-showcase__title {
        max-width: none;
    }

    .corp-showcase__hero-inner,
    .corp-showcase__content-inner,
    .corp-showcase__brands-inner,
    .corp-prolog__inner {
        padding-inline: 1rem;
    }

    .corp-prolog__lines {
        width: min(125%, 44rem);
        color: color-mix(in srgb, var(--theme-text) 8%, transparent);
        opacity: 0.45;
    }

    .corp-prolog__text {
        font-size: clamp(1.55rem, 5vw, 2.1rem);
        line-height: 1.34;
        text-wrap: pretty;
    }

    .corp-prolog {
        padding-block: clamp(2.25rem, 5vw, 3.25rem) clamp(1.25rem, 2.5vw, 1.75rem);
    }

    .corp-showcase__content {
        padding-top: clamp(1rem, 2vw, 1.5rem);
    }
}

@media (max-width: 390px) {
    .corp-prolog__lines {
        display: none;
    }

    .corp-prolog__text {
        font-size: clamp(1.45rem, 6.2vw, 1.85rem);
        line-height: 1.34;
        text-wrap: pretty;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .corp-prolog__author {
        font-size: clamp(1rem, 3.6vw, 1.12rem);
        margin-top: clamp(1.15rem, 4vw, 1.5rem);
    }

    .corp-prolog--center .corp-prolog__quote,
    .corp-prolog--left .corp-prolog__quote {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .corp-showcase__logo-link,
    .corp-showcase__logo-img {
        transition: none;
    }
}
