﻿.certificate-card h2,
.certificate-card p {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.documents-section {
    padding: 36px 0 50px;
}

.documents-section h2 {
    margin: 0 0 28px;
    color: #222;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.document-card {
    background: #fff;
    border: 1px solid #e3e3e3;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.document-card__image {
    height: 320px;
    padding: 20px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.document-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.document-card__footer {
    min-height: 92px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
}

.document-card__footer span {
    color: #111415;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
}

.document-card__footer svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #f26522;
    fill: currentColor;
    stroke: currentColor;
}

.document-card:hover {
    border-color: #f26522;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

@media (max-width: 991px) {
    .documents-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .document-card__image {
        height: 300px;
    }
}

@media (max-width: 575px) {
    .documents-section h2 {
        font-size: 32px;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .document-card__image {
        height: 340px;
    }
}

#documents-extra {
    display: none;
}

#documents-extra.is-ready {
    display: block;
}

/* KARBONTECH KATALOG */

.kt-catalog-section {
    display: none;
    padding: 38px 0 52px;
}

.kt-catalog-section.is-ready {
    display: block;
}

.kt-catalog-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.kt-catalog-cover {
    width: 290px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    display: block;
    transition: transform .25s ease;
}

.kt-catalog-cover:hover {
    transform: translateY(-5px);
}

.kt-catalog-cover img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #e5e5e5;
    box-shadow: 0 16px 35px rgba(0, 0, 0, .12);
}

.kt-catalog-cover__action {
    margin-top: 15px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid #f26522;
    color: #f26522;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
}

.kt-catalog-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.kt-catalog-modal.is-open {
    display: flex;
}

.kt-catalog-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .88);
}

.kt-catalog-modal__dialog {
    width: min(1120px, 100%);
    height: min(900px, 94vh);
    position: relative;
    z-index: 1;
    background: #111415;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .45);
}

.kt-catalog-modal__header {
    min-height: 68px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #fff;
}

.kt-catalog-modal__header strong {
    font-size: 17px;
}

.kt-catalog-modal__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kt-catalog-modal__actions span {
    color: #bfc2c3;
    font-size: 13px;
}

.kt-catalog-modal__actions a {
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.25);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 600;
}

.kt-catalog-modal__actions a:hover {
    border-color: #f26522;
    color: #f26522 !important;
}

.kt-catalog-modal__actions button {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
}

.kt-catalog-viewer {
    flex: 1;
    min-height: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #242729;
}

.kt-catalog-canvas-wrap {
    width: calc(100% - 150px);
    height: calc(100% - 30px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#ktCatalogCanvas {
    display: none;
    max-width: 100%;
    max-height: 100%;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,.35);
}

#ktCatalogCanvas.is-visible {
    display: block;
}

.kt-catalog-loading {
    position: absolute;
    color: #fff;
    font-size: 14px;
}

.kt-catalog-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 58px;
    height: 80px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(0,0,0,.35);
    color: #fff;
    font-size: 48px;
    cursor: pointer;
    border-radius: 8px;
    transition: .2s ease;
}

.kt-catalog-nav:hover {
    background: #f26522;
    border-color: #f26522;
}

.kt-catalog-nav:disabled {
    opacity: .25;
    cursor: default;
}

.kt-catalog-nav--prev {
    left: 18px;
}

.kt-catalog-nav--next {
    right: 18px;
}

body.kt-catalog-lock {
    overflow: hidden;
}

@media (max-width: 767px) {
    .kt-catalog-section {
        padding: 28px 0 38px;
    }

    .kt-catalog-cover {
        width: 230px;
    }

    .kt-catalog-modal {
        padding: 0;
    }

    .kt-catalog-modal__dialog {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
    }

    .kt-catalog-modal__header {
        min-height: 60px;
        padding: 10px 12px;
    }

    .kt-catalog-modal__header strong {
        display: none;
    }

    .kt-catalog-modal__actions {
        width: 100%;
        justify-content: flex-end;
        gap: 8px;
    }

    .kt-catalog-modal__actions a {
        padding: 8px 9px;
        font-size: 11px;
    }

    .kt-catalog-canvas-wrap {
        width: calc(100% - 84px);
        height: calc(100% - 20px);
    }

    .kt-catalog-nav {
        width: 38px;
        height: 65px;
        font-size: 36px;
    }

    .kt-catalog-nav--prev {
        left: 4px;
    }

    .kt-catalog-nav--next {
        right: 4px;
    }
}

/* REFERANSLAR SAYFASI */

#references-page {
    padding: 80px 0 100px;
    background: #fff;
}

#references-page .section-kicker {
    text-align: center;
}

#references-page > .section-shell > h2 {
    margin: 14px 0 48px;
    color: #252525;
    text-align: center;
    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
}

.references-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 28px;
}

.reference-card {
    margin: 0;
    min-width: 0;
}

.reference-card__media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f7f7f7;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
}

.reference-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.reference-card:hover .reference-card__media img {
    transform: scale(1.035);
}

.reference-card h3 {
    margin: 15px 4px 0;
    color: #252525;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
}

@media (max-width: 991px) {
    #references-page {
        padding: 65px 0 80px;
    }

    .references-page__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    #references-page {
        padding: 50px 0 65px;
    }

    #references-page > .section-shell > h2 {
        margin-bottom: 32px;
        font-size: 32px;
    }

    .references-page__grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .reference-card h3 {
        font-size: 17px;
    }
}