/* ÜniAk Elazığ — anlaşmalı firmalar vitrini */
:root {
    --uniak-blue: #0057b8;
    --uniak-blue-dark: #003d82;
    --uniak-blue-light: #e8f2fc;
    --uniak-red: var(--uniak-blue);
    --uniak-red-dark: var(--uniak-blue-dark);
    --uniak-navy: #0f172a;
    --uniak-gray: #475569;
    --uniak-bg: #ffffff;
    --uniak-card: #ffffff;
    --uniak-border: #dbeafe;
    --uniak-radius: 12px;
    --uniak-shadow: 0 8px 28px rgba(26, 26, 46, 0.08);
    --uniak-container: min(1140px, 100% - 2rem);
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.page-uniak {
    margin: 0;
    color: var(--uniak-navy);
    background: var(--uniak-bg);
    line-height: 1.55;
    -webkit-text-size-adjust: 100%;
}

.page-uniak img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-uniak a {
    color: var(--uniak-red);
    text-decoration: none;
}

.page-uniak a:hover {
    text-decoration: underline;
}

.uniak-container {
    width: var(--uniak-container);
    margin-inline: auto;
}

.uniak-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    padding: 0.5rem 1rem;
    background: var(--uniak-navy);
    color: #fff;
}

.uniak-skip:focus {
    left: 1rem;
    top: 1rem;
}

/* Üst şerit */
.uniak-topbar {
    background: var(--uniak-blue-dark);
    color: #fff;
    font-size: 0.75rem;
    line-height: 1;
}

.uniak-topbar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0;
}

.uniak-social,
.uniak-footer__social-list,
.uniak-footer__social-icons {
    list-style: none;
    margin: 0;
    padding: 0;
}

.uniak-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.uniak-social a {
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
}

.uniak-social a:hover {
    color: #ffd4db;
    text-decoration: none;
}

.uniak-topbar__cta {
    color: #fff;
    font-weight: 600;
}

.uniak-topbar__cta:hover {
    color: #ffd4db;
    text-decoration: none;
}

/* Header */
.uniak-header {
    background: #fff;
    border-bottom: 3px solid var(--uniak-red);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

.uniak-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem 1.25rem;
    padding: 0.85rem 0;
    min-height: 88px;
}

.uniak-header__logo {
    display: flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
    flex-shrink: 0;
}

.uniak-header__intro {
    text-align: center;
    min-width: 0;
}

.uniak-header__intro h1 {
    margin: 0 0 0.4rem;
    font-size: clamp(0.8rem, 2.1vw, 1.1rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--uniak-navy);
}

.uniak-header__intro p {
    margin: 0;
    font-size: clamp(0.72rem, 1.7vw, 0.875rem);
    line-height: 1.4;
    color: var(--uniak-gray);
}

.uniak-header__img--promo {
    flex-shrink: 0;
    justify-self: end;
}

.uniak-header__img {
    display: block;
    width: 123px;
    max-width: 123px;
    height: auto;
    object-fit: contain;
}

.uniak-header__img--promo {
    object-fit: contain;
}

.uniak-header__logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--uniak-red);
    color: #fff;
    font-weight: 800;
    font-size: 1.35rem;
    font-family: "Segoe UI", system-ui, sans-serif;
}

@media (max-width: 768px) {
    :root {
        --uniak-container: min(1140px, 100% - 1.25rem);
    }

    .uniak-header {
        overflow: hidden;
        max-height: 280px;
        /* transform avoids layout reflow flicker that max-height collapse causes */
        transition:
            transform 0.32s ease,
            opacity 0.25s ease,
            box-shadow 0.2s ease;
        will-change: transform;
        overflow-anchor: none;
    }

    .uniak-header.is-header-hidden {
        transform: translate3d(0, -110%, 0);
        opacity: 0;
        pointer-events: none;
        box-shadow: none;
    }

    .uniak-header__inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "logo intro promo";
        gap: 0.35rem 0.4rem;
        min-height: 0;
        padding: 0.4rem 0;
        align-items: center;
    }

    .uniak-header__logo {
        grid-area: logo;
    }

    .uniak-header__intro {
        grid-area: intro;
        text-align: center;
        padding-inline: 0.1rem;
    }

    .uniak-header__intro h1 {
        margin: 0 0 0.18rem;
        font-size: clamp(0.62rem, 2.65vw, 0.78rem);
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .uniak-header__intro p {
        margin: 0;
        font-size: clamp(0.56rem, 2.15vw, 0.67rem);
        line-height: 1.22;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .uniak-header__img {
        width: auto;
        max-width: min(88px, 28vw);
        height: auto;
        max-height: 52px;
    }

    .uniak-header__img--promo {
        grid-area: promo;
        justify-self: end;
    }

    .uniak-filters--header {
        padding: 0.35rem 0 0.45rem;
        gap: 0.35rem;
    }

    .uniak-filter-btn {
        padding: 0.38rem 0.7rem;
        font-size: 0.8125rem;
    }

    .uniak-partners {
        padding-top: 1.25rem;
    }

    .uniak-box {
        flex-direction: column;
        min-height: 0;
    }

    .uniak-box__logo,
    .uniak-box__body,
    .uniak-box__discount {
        border-right: none;
        border-bottom: 1px solid #d5d5d5;
    }

    .uniak-box__discount {
        border-bottom: none;
        flex: none;
        padding: 0.85rem 1rem;
    }

    .uniak-box__logo {
        flex: none;
        min-height: 0;
        padding: 0.75rem 1rem;
    }

    .uniak-box__logo img {
        max-height: 96px;
    }

    .uniak-box__logo-fallback {
        width: 72px;
        height: 72px;
        font-size: 1.5rem;
    }

    .uniak-box__body {
        padding: 0.75rem 1rem;
    }

    .uniak-discount-badge--md .uniak-discount-badge__rate {
        font-size: clamp(1.75rem, 9vw, 2.65rem);
    }

    .uniak-discount-badge--md .uniak-discount-badge__label {
        font-size: clamp(0.9rem, 4.5vw, 1.25rem);
    }

    .uniak-quote {
        padding: 2rem 0;
    }

    .uniak-footer {
        padding-top: 2rem;
    }

    .uniak-footer__grid {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .uniak-footer__copy {
        font-size: 0.78rem;
    }
}

@media (max-width: 640px) {
    .uniak-header__img {
        max-width: min(72px, 26vw);
        max-height: 39px;
    }

    .uniak-header__logo-fallback {
        width: 39px;
        height: 39px;
        font-size: 0.75rem;
    }

    .uniak-header__img--promo {
        max-width: min(72px, 26vw);
    }

    .uniak-header__intro h1 {
        font-size: clamp(0.58rem, 2.5vw, 0.72rem);
    }

    .uniak-header__intro p {
        font-size: clamp(0.54rem, 2vw, 0.64rem);
    }

    .uniak-topbar .uniak-social-icons .uniak-social-link i {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    :root {
        --uniak-container: min(1140px, 100% - 1rem);
    }

    .uniak-filters--header {
        justify-content: center;
        padding-inline: 0;
    }

    .uniak-filter-btn {
        padding: 0.32rem 0.6rem;
        font-size: 0.75rem;
    }

    .uniak-box__logo img {
        max-height: 80px;
    }

    .uniak-footer__copy-bar {
        padding: 0.75rem 0;
    }
}

/* Kategori filtre */
.uniak-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 0 1.75rem;
}

.uniak-filters--header {
    padding: 0.6rem 0 0.7rem;
    border-top: 1px solid #e8eef5;
}

.uniak-filter-btn {
    border: 1px solid var(--uniak-border);
    background: #fff;
    color: var(--uniak-navy);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.uniak-filter-btn:hover,
.uniak-filter-btn.is-active {
    background: var(--uniak-red);
    border-color: var(--uniak-red);
    color: #fff;
}

/* Firma kutusu — logo | bilgi | indirim */
.uniak-partners {
    padding-top: 1.75rem;
    padding-bottom: 3rem;
}

.uniak-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.uniak-box {
    display: flex;
    align-items: stretch;
    min-height: 195px;
    background: #ececec;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #111;
}

.uniak-box.is-hidden {
    display: none;
}

.uniak-box__logo {
    flex: 0 0 clamp(163px, 35%, 293px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.75rem;
    border-right: 1px solid #d5d5d5;
    background: #f3f3f3;
}

.uniak-box__logo img {
    max-width: 100%;
    max-height: 156px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.uniak-box__logo-fallback {
    width: 118px;
    height: 118px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ccc;
    color: var(--uniak-red);
    font-weight: 700;
    font-size: 2.44rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--uniak-font, "Segoe UI", sans-serif);
}

.uniak-box__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    border-right: 1px solid #d5d5d5;
    min-width: 0;
}

.uniak-box__name {
    margin: 0 0 0.65rem;
    width: 100%;
    text-align: center;
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

.uniak-box__contact {
    width: 100%;
    max-width: 520px;
}

.uniak-box__line {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    font-family: "Segoe UI", system-ui, sans-serif;
    color: #333;
}

.uniak-box__line i {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: #2b6cb0;
    font-size: 0.85rem;
}

.uniak-box__line a {
    color: inherit;
    text-decoration: none;
}

.uniak-box__line a:hover {
    text-decoration: underline;
    color: #1a5490;
}

.uniak-box__divider {
    border: 0;
    border-top: 1px solid #c8c8c8;
    margin: 0.45rem 0;
}

.uniak-box__discount {
    flex: 0 0 clamp(120px, 22%, 200px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 0.75rem;
    background: #fff;
}

/* İndirim rozeti — % + oran + İNDİRİM */
.uniak-discount-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--uniak-blue);
    font-family: "Arial Black", "Segoe UI", system-ui, sans-serif;
    line-height: 1;
    text-align: center;
}

.uniak-discount-badge__rate {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-weight: 900;
}

.uniak-discount-badge__percent {
    line-height: 1;
    margin-right: 0.04em;
    font-weight: 900;
    flex-shrink: 0;
}

.uniak-discount-badge--md .uniak-discount-badge__rate {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
}

.uniak-discount-badge--md .uniak-discount-badge__percent {
    font-size: 0.52em;
    margin-top: 0.12em;
}

.uniak-discount-badge--md .uniak-discount-badge__value {
    font-size: 1em;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.uniak-discount-badge--md .uniak-discount-badge__label {
    margin-top: 0.2rem;
    font-size: clamp(1.1rem, 2.8vw, 1.85rem);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.uniak-discount-badge--sm .uniak-discount-badge__rate {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.uniak-discount-badge--sm .uniak-discount-badge__percent {
    font-size: 0.52em;
    margin-top: 0.1em;
}

.uniak-discount-badge--sm .uniak-discount-badge__value {
    font-size: 1em;
}

.uniak-discount-badge--sm .uniak-discount-badge__label {
    margin-top: 0.15rem;
    font-size: clamp(0.55rem, 1.4vw, 0.72rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    max-width: 6.5rem;
    line-height: 1.1;
}

.uniak-discount-badge--stacked {
    margin-top: 0.65rem;
}

.uniak-box__muted {
    color: #888;
}

.uniak-list__empty {
    text-align: center;
    color: var(--uniak-gray);
    padding: 2rem 1rem;
    margin: 0;
    background: #fff;
    border: 1px dashed var(--uniak-border);
    border-radius: var(--uniak-radius);
    font-family: "Segoe UI", system-ui, sans-serif;
}

/* Alıntı */
.uniak-quote {
    background: linear-gradient(135deg, var(--uniak-red-dark), var(--uniak-red));
    color: #fff;
    padding: 3rem 0;
}

.uniak-quote__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

.uniak-quote blockquote {
    margin: 0;
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    font-weight: 600;
    line-height: 1.45;
}

.uniak-quote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Footer — 3 sütun */
.uniak-footer {
    background: #ffffff;
    color: #0f172a;
    padding: 2.5rem 0 0;
    font-size: 0.9rem;
    border-top: 3px solid var(--uniak-blue);
}

.uniak-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
    margin-bottom: 2rem;
}

@media (min-width: 900px) {
    .uniak-footer__grid {
        grid-template-columns: minmax(180px, 0.9fr) 1.4fr 1fr;
        gap: 2.5rem;
        align-items: start;
    }
}

.uniak-footer__col--brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.uniak-footer__brand {
    display: inline-block;
    line-height: 0;
    margin-bottom: 1rem;
}

.uniak-footer__brand img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: none;
}

.uniak-footer__social-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.uniak-footer__social-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0f172a;
    text-decoration: none;
    font-size: 0.875rem;
}

.uniak-footer__social-list a:hover {
    color: var(--uniak-blue);
    text-decoration: underline;
}

.uniak-social-icons,
.uniak-footer__social-icons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    max-width: max-content;
}

.uniak-social-icons li,
.uniak-footer__social-icons li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.uniak-social-icons .uniak-social-link,
.uniak-footer__social-icons .uniak-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    text-decoration: none;
    line-height: 1;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.uniak-social-icons .uniak-social-link:hover,
.uniak-footer__social-icons .uniak-social-link:hover {
    transform: scale(1.08);
    opacity: 0.9;
    text-decoration: none;
}

.uniak-social-icons .uniak-social-link i,
.uniak-footer__social-icons .uniak-social-link i {
    font-size: 1.35rem;
}

.uniak-social-icons .uniak-social-link--facebook,
.uniak-footer__social-icons .uniak-social-link--facebook {
    color: #1877f2;
}

.uniak-social-icons .uniak-social-link--instagram,
.uniak-footer__social-icons .uniak-social-link--instagram {
    color: #e4405f;
}

.uniak-social-icons .uniak-social-link--youtube,
.uniak-footer__social-icons .uniak-social-link--youtube {
    color: #ff0000;
}

.uniak-social-icons .uniak-social-link--x,
.uniak-footer__social-icons .uniak-social-link--x {
    color: #000000;
}

.uniak-social-icons .uniak-social-link--pinterest,
.uniak-footer__social-icons .uniak-social-link--pinterest {
    color: #e60023;
}

.uniak-topbar .uniak-social-icons {
    gap: 0.56rem;
    width: auto;
    padding-block: 0.06rem;
}

.uniak-topbar .uniak-social-icons .uniak-social-link {
    width: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    line-height: 0;
}

.uniak-topbar .uniak-social-icons .uniak-social-link i {
    font-size: 1.05rem;
    line-height: 1;
    display: block;
}

.uniak-topbar .uniak-social-icons .uniak-social-link,
.uniak-topbar .uniak-social-icons .uniak-social-link--facebook,
.uniak-topbar .uniak-social-icons .uniak-social-link--instagram,
.uniak-topbar .uniak-social-icons .uniak-social-link--youtube,
.uniak-topbar .uniak-social-icons .uniak-social-link--x,
.uniak-topbar .uniak-social-icons .uniak-social-link--pinterest {
    color: #fff;
}

.uniak-topbar .uniak-social-icons .uniak-social-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

.uniak-footer__heading {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.uniak-footer__col p {
    margin: 0 0 0.85rem;
    color: #1e293b;
    line-height: 1.55;
}

.uniak-footer__goals {
    margin: 0;
    padding-left: 1.15rem;
    color: #1e293b;
}

.uniak-footer__goals li {
    margin-bottom: 0.45rem;
}

.uniak-footer__goals-note {
    margin: 0.35rem 0 0;
    color: #1e293b;
}

.uniak-footer__copy-bar {
    margin-top: 2rem;
    background: var(--uniak-blue);
    padding: 0.9rem 0;
}

.uniak-footer__copy {
    margin: 0;
    text-align: center;
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 1.5;
}

.uniak-footer__copy a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.uniak-footer__copy a:hover {
    color: #dbeafe;
}

.uniak-alert {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.uniak-alert--success {
    background: #e8f5e9;
    color: #1b5e20;
}

.uniak-alert--error {
    background: #ffebee;
    color: #b71c1c;
}
