@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
}

.kp {
    width: 100%;
    background: var(--color-background-primary);
    border: 0.5px solid var(--color-border-tertiary);
    font-size: 23px;
    padding-top: 66px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.kp-nav {
    background: #1A3A5C;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    gap: 16px;
}

.kp-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.kp-logo-dot {
    width: 6px;
    height: 6px;
    background: #C8A84B;
    border-radius: 50%;
}

.kp-logo-text {
    color: #fff;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: .3px;
}

.kp-logo-sub {
    font-size: 19px;
    color: #8aa8c4;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.kp-logo-parent {
    font-size: 19px;
    color: #A98418;
    border: 0.5px solid rgba(200,168,75,.35);
    padding: 2px 7px;
    border-radius: 3px;
    margin-left: 8px;
    white-space: nowrap;
}

.kp-nav-links {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
    justify-content: center;
}

.kp-nav-link {
    color: #8aa8c4;
    font-size: 21px;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

    .kp-nav-link:hover {
        color: #fff;
        background: rgba(255,255,255,.07);
    }

.kp-nav-cta {
    background: #C8A84B;
    color: #1A3A5C;
    font-size: 21px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

/* HERO RESPONSIVE DÜZENLEME */

.kp-hero {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    color: #fff;
    height: clamp(320px, 52vw, 620px);
    min-height: unset;
    padding: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

    /* Hero görseli */
    .kp-hero::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 60px;
        right: 60px;
        background-image: url('/pictures/3.jpg');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        z-index: 0;
        border-radius: 4px;
        pointer-events: none;
    }

    /* Koyu overlay */
    .kp-hero::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 60px;
        right: 60px;
        background: rgba(0,0,0,0.35);
        z-index: 1;
        border-radius: 4px;
        pointer-events: none;
    }

/* Yazı bloğu */
.kp-hero-overlay {
    position: absolute;
    left: clamp(90px, 10vw, 140px);
    bottom: clamp(20px, 4vw, 45px);
    z-index: 2;
    color: #ffffff;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 220ms ease, transform 220ms ease;
    pointer-events: none;
    max-width: calc(100% - 220px);
    text-align: left;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

/* Masaüstünde hover olunca yazı görünür */
.kp-hero:hover .kp-hero-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* KİPAŞ PMC */
.kp-hero-h1 {
    color: #ffffff;
    font-size: clamp(24px, 3.5vw, 51px);
    font-weight: 500;
    line-height: 1.2;
    max-width: 100%;
    margin-bottom: 26px;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

/* Kağıt Endüstrisi... */
.kp-hero-tag {
    color: #ffffff;
    font-size: clamp(13px, 1.7vw, 25px);
    line-height: 1.3;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

/* Elek/Forming... */
.kp-hero-sub {
    color: #ffffff;
    font-size: clamp(13px, 1.7vw, 24px);
    line-height: 1.4;
    max-width: 100%;
    margin-bottom: 0;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

.kp-hero svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .06;
    pointer-events: none;
}

.kp-hero-btns {
    display: flex;
    gap: 10px;
    position: relative;
    flex-wrap: wrap;
}

.kp-btn-pri {
    background: #2E6DA4;
    color: #fff;
    font-size: 21px;
    font-weight: 500;
    padding: 11px 22px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
}

.kp-btn-gold {
    background: #C8A84B;
    color: #1A3A5C;
    font-size: 21px;
    font-weight: 500;
    padding: 11px 22px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
}

.kp-hero-tag-badge {
    position: absolute;
    right: 24px;
    bottom: 24px;
    background: rgba(255,255,255,.06);
    border: 0.5px solid rgba(200,168,75,.3);
    border-radius: 6px;
    padding: 10px 16px;
    text-align: center;
}

.kp-hero-tag-badge-num {
    color: #A98418;
    font-size: 25px;
    font-weight: 500;
}

.kp-hero-tag-badge-lbl {
    color: #8aa8c4;
    font-size: 19px;
    letter-spacing: .3px;
    margin-top: 2px;
}

.kp-band-gap {
    height: 12px;
    background: #ffffff;
}

.kp-stats {
    background: #EFF4F9;
    display: grid;
    grid-template-columns: repeat(4,1fr);
}

.kp-stat {
    padding: 14px 16px;
    text-align: center;
    border-right: 0.5px solid #d5e4f0;
    text-decoration: none;
    display: block;
    transition: background 0.2s ease, transform 0.15s ease;
}

    .kp-stat:last-child {
        border-right: none;
    }

.kp-stat-link {
    cursor: pointer;
}

    .kp-stat-link:hover {
        background: #e5eef7;
        transform: translateY(-2px);
    }

.kp-stat-num {
    color: #1A3A5C;
    font-size: 25px;
    font-weight: 500;
}

.kp-stat-lbl {
    color: #5580a4;
    font-size: 19px;
    margin-top: 3px;
    letter-spacing: .2px;
}

.kp-section {
    padding: 28px 24px;
}

.kp-section-label {
    color: #A98418;
    font-size: 19px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.kp-section-title {
    color: #1A3A5C;
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 18px;
}

.kp-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.kp-prod-card {
    border: 0.5px solid var(--color-border-tertiary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    cursor: pointer;
}

    .kp-prod-card:hover {
        border-color: #2E6DA4;
    }

.kp-prod-img {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.kp-prod-img-f {
    background: #1A3A5C;
}

.kp-prod-img-d {
    background: #0d2238;
}

.kp-prod-label-tag {
    color: #A98418;
    font-size: 19px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.kp-prod-label-name {
    color: #fff;
    font-size: 25px;
    font-weight: 500;
}

.kp-prod-body {
    padding: 14px;
}

.kp-prod-desc {
    color: black;
    font-size: 21px;
    line-height: 1.5;
    margin-bottom: 10px;
}

a:has(.kp-prod-desc),
.kp-prod-card a {
    text-decoration: none;
}

.kp-prod-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.kp-tag {
    background: #EFF4F9;
    color: #1A3A5C;
    font-size: 19px;
    padding: 3px 9px;
    border-radius: 3px;
    font-weight: 500;
}

.kp-prod-link {
    color: #2E6DA4;
    font-size: 21px;
    font-weight: 500;
}

.kp-divider {
    height: 0.5px;
    background: var(--color-border-tertiary);
    margin: 0 24px;
}

.kp-values {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
}

.kp-val {
    padding: 14px;
    border: 0.5px solid var(--color-border-tertiary);
    border-radius: var(--border-radius-md);
    border-top: 2px solid #C8A84B;
    text-align: center;
    padding-left: 10px;
}

.kp-val-icon {
    font-size: 23px;
    width: 38px;
    height: 38px;
    background: #EFF4F9;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}

.kp-val-title {
    color: var(--color-text-primary);
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 4px;
}

.kp-val-desc {
    color: var(--color-text-secondary);
    font-size: 20px;
    line-height: 1.5;
}

.kp-grades {
    background: #1e234c;
    padding: 24px;
}

.kp-grades-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 8px;
    margin-top: 14px;
}

.kp-grade {
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--border-radius-md,8px);
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    background: rgba(255,255,255,0.06);
}

    .kp-grade:hover {
        border-color: #C9A227;
        background: rgba(255,255,255,0.12);
    }

.kp-grade-icon {
    font-size: 23px;
    margin-bottom: 5px;
}

.kp-grade-name {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}

.kp-textile-band {
    background: #1e234c;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #ffffff;
}

.kp-textile-logo {
    background: rgba(255,255,255,0.03);
    border: 0.5px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 10px 18px;
    color: #ffffff;
    font-size: 21px;
    font-weight: 500;
    white-space: nowrap;
    text-align: center;
    line-height: 1.5;
}

    .kp-textile-logo span {
        display: block;
        color: #d1d7dd;
        font-size: 18px;
        letter-spacing: .5px;
        margin-top: 2px;
    }

.kp-textile-text {
    color: #ffffff !important;
    font-size: 21px;
    line-height: 1.6;
    flex: 1;
    display: block;
    padding: 0 16px;
    text-decoration: none;
}

.kp-textile-link a {
    color: #C8A84B;
    font-size: 21px;
    font-weight: 500;
    border: 0.5px solid rgba(200,168,75,0.25);
    padding: 7px 14px;
    border-radius: 4px;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.kp-cta-bar {
    background: #2E6DA4;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.kp-cta-text {
    color: #fff;
    font-size: 23px;
}

    .kp-cta-text b {
        font-weight: 500;
    }

.kp-cta-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.kp-cta-tel {
    color: #b8d4f0;
    font-size: 21px;
}

.kp-footer {
    background: #1e234c;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    color: #fff;
    margin-bottom: 0;
}

.kp-ft {
    color: #ffffff;
    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0;
}

.kp-fl {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 5px;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

    .kp-fl:hover {
        color: #d1e6ff;
    }

.kp-footer-btm {
    background: #1e234c;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

    .kp-footer-btm span,
    .kp-footer-btm a {
        color: #ffffff;
        font-size: 19px;
    }

    .kp-footer-btm a {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

        .kp-footer-btm a:hover {
            color: #d1e6ff;
        }

/* TABLET */
@media (max-width: 992px) {
    .kp-stats {
        grid-template-columns: repeat(2,1fr);
    }

    .kp-stat:nth-child(even) {
        border-right: none;
    }

    .kp-values {
        grid-template-columns: repeat(2,1fr);
    }

    .kp-grades-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .kp-footer {
        grid-template-columns: repeat(2,1fr);
    }
}

/* TABLET / MOBİL HERO */
@media (max-width: 768px) {
    .kp-hero {
        height: 360px;
    }

        .kp-hero::after,
        .kp-hero::before {
            left: 24px;
            right: 24px;
        }

    .kp-hero-overlay {
        opacity: 1;
        transform: none;
        pointer-events: auto;
        left: 42px;
        right: 42px;
        bottom: 28px;
        max-width: calc(100% - 84px);
    }

    .kp-hero-h1 {
        font-size: 30px;
        line-height: 1.18;
    }

    .kp-hero-tag {
        font-size: 16px;
        line-height: 1.25;
    }

    .kp-hero-sub {
        font-size: 15px;
        line-height: 1.35;
        max-width: 100%;
    }

    .kp-hero-h1,
    .kp-hero-tag,
    .kp-hero-sub {
        white-space: normal;
    }
}

/* TELEFON */
@media (max-width: 576px) {
    .kp {
        padding-top: 56px;
    }

    .kp-nav {
        padding: 12px 16px;
        height: auto;
        flex-wrap: wrap;
    }

    .kp-hero {
        height: 300px;
    }

        .kp-hero::after,
        .kp-hero::before {
            left: 12px;
            right: 12px;
            border-radius: 4px;
        }

    .kp-hero-overlay {
        left: 26px;
        right: 26px;
        bottom: 22px;
        max-width: calc(100% - 52px);
        padding: 0;
    }

    .kp-hero-h1 {
        font-size: 24px;
        line-height: 1.15;
        margin-bottom: 14px;
    }

    .kp-hero-tag {
        font-size: 13px;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }

    .kp-hero-sub {
        font-size: 13px;
        line-height: 1.3;
    }

    .kp-hero-tag-badge {
        position: static;
        margin-top: 14px;
        display: inline-block;
    }

    .kp-stats {
        grid-template-columns: 1fr;
    }

    .kp-stat {
        border-right: none;
        border-bottom: 0.5px solid #d5e4f0;
    }

        .kp-stat:last-child {
            border-bottom: none;
        }

    .kp-section {
        padding: 22px 16px;
    }

    .kp-products {
        grid-template-columns: 1fr;
    }

    .kp-divider {
        margin: 0 16px;
    }

    .kp-values {
        grid-template-columns: 1fr;
    }

    .kp-grades {
        padding: 18px 16px;
    }

    .kp-grades-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .kp-textile-band {
        padding: 16px;
        flex-wrap: wrap;
    }

    .kp-textile-logo {
        width: 100%;
    }

    .kp-textile-link {
        width: 100%;
        text-align: center;
    }

    .kp-cta-bar {
        padding: 16px;
    }

    .kp-footer {
        padding: 18px 16px;
        grid-template-columns: 1fr;
    }

    .kp-footer-btm {
        padding: 10px 16px;
    }

    .kp-dd-menu a {
        display: flex;
        align-items: center;
        gap: 6px;
    }
}
