@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500;1,600;1,700&display=swap");

/* Kurumsal Eğitim Kataloğu — public
   Palet (site ile aynı): lacivert, açık mavi; yeşil ve sarı vurgu */
.kk-wrap {
    --kk-navy: #003a7b;
    --kk-blue: #04498f;
    --kk-mid: #0f73a7;
    --kk-light: #79caee;
    --kk-green: #059669;
    --kk-yellow: #f59e0b;
}
.kk-wrap,
.kk-hero,
.kk-hero h1,
.kk-hero h1 em,
.kk-hero-copy,
.kk-hero-desc,
.kk-hero-kicker,
.kk-hero-fact,
.kk-hero-tile,
.kk-search,
.kk-search input,
.kk-search button,
.kk-cats-wrap,
.kk-catbox,
.kk-main,
.kk-detay,
.kk-breadcrumb,
.kk-side,
.kk-form,
.kk-form input,
.kk-form textarea,
.kk-form select,
.kk-form button,
.kk-btn {
    font-family: "Poppins", sans-serif;
}
.kk-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 64px 20px 52px;
    background:
        radial-gradient(1200px 480px at 12% -10%, rgba(121, 202, 238, .1), transparent 55%),
        radial-gradient(900px 420px at 92% 110%, rgba(245, 213, 106, .05), transparent 50%),
        linear-gradient(135deg, #001a3d 0%, #002a5c 48%, #00356e 100%);
}
.kk-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("../img/hero-pattern.svg");
    background-size: 180px 180px;
    opacity: .045;
    pointer-events: none;
}
.kk-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 48px;
    align-items: center;
}
.kk-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    color: #b8e6f8;
}
.kk-hero-kicker-line {
    display: inline-block;
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, #79caee, #f5d56a);
    border-radius: 2px;
}
.kk-hero h1 {
    font-family: "Poppins", sans-serif;
    font-size: clamp(32px, 4.4vw, 54px);
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.12;
    letter-spacing: -.02em;
}
.kk-hero h1 .kk-hero-title-line {
    display: block;
    font-weight: 500;
    opacity: .92;
}
.kk-hero h1 em {
    display: block;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    font-weight: 600;
    color: #f5d56a;
    text-shadow: 0 6px 20px rgba(245, 158, 11, .2);
}
.kk-hero-desc {
    max-width: 520px;
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 26px;
    color: rgba(236, 242, 250, .9);
}
.kk-search {
    display: flex;
    align-items: center;
    max-width: 560px;
    background: #fff;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(30, 48, 74, .22);
    border: 1px solid rgba(255,255,255,.55);
}
.kk-search-icon {
    color: #003a7b;
    padding-left: 18px;
    font-size: 14px;
    flex-shrink: 0;
}
.kk-search input {
    flex: 1;
    border: 0;
    background: transparent;
    color: #0f172a;
    padding: 16px 14px;
    font-size: 15px;
    outline: none;
    min-width: 0;
}
.kk-search input::placeholder { color: #94a3b8; }
.kk-search button {
    border: 0;
    background: linear-gradient(180deg, #04498f 0%, #003a7b 100%);
    color: #fff;
    font-weight: 700;
    padding: 12px 22px;
    margin: 6px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: .02em;
    flex-shrink: 0;
}
.kk-search button:hover { background: linear-gradient(180deg, #0f73a7 0%, #04498f 100%); }
.kk-hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.2);
}
.kk-hero-fact {
    min-width: 0;
    padding-left: 12px;
    border-left: 2px solid #79caee;
}
.kk-hero-facts .kk-hero-fact:nth-child(2) { border-left-color: #34d399; }
.kk-hero-facts .kk-hero-fact:nth-child(3) { border-left-color: #f5d56a; }
.kk-hero-fact strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}
.kk-hero-fact span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(226, 236, 248, .78);
    letter-spacing: .01em;
}
.kk-hero-visual {
    position: relative;
    min-height: 280px;
}
.kk-hero-visual-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(121, 202, 238, .4) 0%, rgba(61, 90, 130, 0) 70%);
    filter: blur(8px);
    pointer-events: none;
}
.kk-hero-stack {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 8px 0 8px 24px;
}
.kk-hero-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 12px 28px rgba(30, 48, 74, .18);
}
.kk-hero-stack .kk-hero-tile:nth-child(1) { transform: translateX(0); }
.kk-hero-stack .kk-hero-tile:nth-child(2) { transform: translateX(18px); }
.kk-hero-stack .kk-hero-tile:nth-child(3) { transform: translateX(8px); }
.kk-hero-stack .kk-hero-tile:nth-child(4) { transform: translateX(28px); }
.kk-hero-tile-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #04498f, #003a7b);
    color: #fff;
    flex-shrink: 0;
    font-size: 15px;
}
.kk-hero-stack .kk-hero-tile:nth-child(2) .kk-hero-tile-icon {
    background: linear-gradient(160deg, #b8e6f8, #79caee);
    color: #003a7b;
}
.kk-hero-stack .kk-hero-tile:nth-child(3) .kk-hero-tile-icon {
    background: linear-gradient(160deg, #34d399, #059669);
    color: #fff;
}
.kk-hero-stack .kk-hero-tile:nth-child(4) .kk-hero-tile-icon {
    background: linear-gradient(160deg, #fcd34d, #f59e0b);
    color: #003a7b;
}
.kk-hero-tile-body { display: flex; flex-direction: column; min-width: 0; }
.kk-hero-tile-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}
.kk-hero-tile-count {
    font-size: 12px;
    color: rgba(184, 230, 248, .95);
    margin-top: 2px;
}

.kk-cats-wrap {
    background: #f3f6fb;
    border-bottom: 1px solid #e2e8f0;
}
.kk-cats-inner {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 20px 24px 18px;
}
.kk-cats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}
.kk-catbox {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 72px;
    padding: 12px 12px 12px 10px;
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.kk-catbox::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #003a7b;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .2s ease;
}
.kk-catbox::after {
    content: "";
    position: absolute;
    right: -18px;
    top: -22px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 58, 123, .08), transparent 70%);
    transform: rotate(28deg);
    pointer-events: none;
}
.kk-catbox:hover {
    transform: translateY(-3px);
    border-color: #003a7b;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .1);
}
.kk-catbox:hover::before,
.kk-catbox.is-active::before {
    transform: scaleY(1);
}
.kk-catbox.is-active {
    background: #d7e3f4;
    border-color: #adc2e0;
    color: #003a7b;
    box-shadow: 0 10px 22px rgba(0, 58, 123, .12);
}
.kk-catbox-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #003a7b;
    color: #fff;
    font-size: 14px;
}
.kk-catbox.is-active .kk-catbox-icon {
    background: #04498f;
    color: #fff;
    box-shadow: none;
}
.kk-catbox-body { display: flex; flex-direction: column; min-width: 0; gap: 4px; }
.kk-catbox-name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
}
.kk-catbox-count {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #64748b;
}
.kk-catbox-count strong {
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #003a7b;
    margin-right: 4px;
}
.kk-catbox.is-active .kk-catbox-count { color: #5b7399; }
.kk-catbox.is-active .kk-catbox-count strong { color: #003a7b; }

.kk-main { max-width: 1100px; margin: 0 auto; padding: 32px 20px 72px; scroll-margin-top: 96px; }
.kk-section-head h2 { margin: 0 0 6px; font-size: 24px; color: #0f172a; }
.kk-section-head p { margin: 0 0 22px; color: #64748b; font-size: 14px; }

.kk-kat-panel {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
    margin-bottom: 18px; overflow: hidden; box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}
.kk-kat-panel.is-collapsed .kk-grid { display: none; }
.kk-kat-head {
    display: flex; align-items: center; gap: 14px; padding: 18px 20px;
    cursor: pointer; user-select: none;
}
.kk-kat-icon {
    width: 48px; height: 48px; border-radius: 10px; background: #003a7b; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
#kat-yonetim-ve-liderlik .kk-kat-icon { background: #003a7b; }
#kat-liderlik-ve-degisim-yonetimi .kk-kat-icon { background: #0f73a7; }
#kat-liderlik-ve-stratejik-yonetim .kk-kat-icon { background: #04498f; }
#kat-liderlik-ve-iletisim .kk-kat-icon { background: #3b8dc2; }
#kat-teknoloji-ve-inovasyon .kk-kat-icon { background: #04498f; }
#kat-surdurulebilirlik .kk-kat-icon { background: #059669; }
#kat-ekonomi-ve-finans .kk-kat-icon { background: #0f73a7; }
#kat-tedarik-zinciri .kk-kat-icon { background: #f59e0b; }
#kat-satis-pazarlama .kk-kat-icon { background: #003a7b; }
#kat-profesyonel-uzmanlasma .kk-kat-icon { background: #04498f; }
.kk-kat-head h3 { margin: 0; font-size: 18px; color: #0f172a; }
.kk-kat-head small { display: block; color: #64748b; font-size: 13px; margin-top: 2px; font-weight: 400; }
.kk-kat-meta { margin-left: auto; display: flex; align-items: center; gap: 12px; color: #64748b; font-size: 13px; }
.kk-kat-close {
    border: 0; background: #f1f5f9; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; color: #334155;
}
.kk-kat-close:hover { background: #e2e8f0; }

.kk-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 0 20px 22px;
}
.kk-card {
    border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; background: #fff;
    display: flex; flex-direction: column;
}
.kk-card-cover {
    display: block; height: 160px; background: #003a7b center/cover no-repeat;
}
.kk-card-cover img { width: 100%; height: 160px; object-fit: cover; display: block; }
.kk-card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.kk-card-body h4 { margin: 0 0 8px; font-size: 16px; color: #0f172a; line-height: 1.35; }
.kk-card-body p {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}
.kk-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.kk-card-actions .kk-btn { width: 100%; }
.kk-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 9px 14px; border-radius: 8px; font-size: 13px; font-weight: 600;
    text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.kk-btn-ghost { background: #fff; border-color: #cbd5e1; color: #1e3a5f; }
.kk-btn-ghost:hover { background: #f8fafc; }
.kk-btn-solid { background: #003a7b; color: #fff; }
.kk-btn-solid:hover { background: #04498f; }
.kk-empty { text-align: center; padding: 40px 16px; color: #64748b; }

.kk-detay {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 20px 80px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
    align-items: start;
}
.kk-detay-main .kk-cover { width: 100%; border-radius: 14px; overflow: hidden; margin-bottom: 18px; background: #003a7b; }
.kk-detay-main .kk-cover img { width: 100%; height: auto; display: block; max-height: 360px; object-fit: cover; }
.kk-kat-label { display: inline-flex; align-items: center; gap: 6px; color: #003a7b; font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.kk-detay-main h1 { margin: 0 0 16px; font-size: clamp(24px, 3vw, 34px); color: #0f172a; line-height: 1.25; }
.kk-detay-main h2 { font-size: 18px; color: #0f172a; margin: 22px 0 10px; }
.kk-detay-main .kk-body { color: #334155; line-height: 1.7; font-size: 15px; }
.kk-side {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px;
    position: sticky;
    top: 90px;
}
.kk-side h2 { margin: 0 0 6px; font-size: 18px; }
.kk-side .kk-side-lead { color: #64748b; font-size: 13px; margin: 0 0 16px; }
.kk-form .kk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kk-form label { display: block; font-size: 12px; font-weight: 600; color: #334155; margin-bottom: 4px; }
.kk-form .kk-field { margin-bottom: 12px; }
.kk-form input, .kk-form textarea, .kk-form select {
    width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; font-family: inherit;
}
.kk-form textarea { min-height: 90px; resize: vertical; }
.kk-form .kk-check { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: #475569; }
.kk-form .kk-check input { width: auto; margin-top: 3px; }
.kk-alert { padding: 10px 12px; border-radius: 8px; font-size: 13px; margin-bottom: 12px; }
.kk-alert.err { background: #fef2f2; color: #991b1b; }
.kk-alert.ok { background: #f0fdf4; color: #166534; }
.kk-breadcrumb { max-width: 1100px; margin: 16px auto 0; padding: 0 20px; font-size: 13px; color: #64748b; }
.kk-breadcrumb a { color: #003a7b; text-decoration: none; }
.form-honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.kk-side .form-captcha-field { margin-bottom: 12px; }
.kk-kat-panel { scroll-margin-top: 96px; }
.kk-side { scroll-margin-top: 96px; }
@media (max-width: 900px) {
    .kk-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .kk-detay, .kk-form .kk-row { grid-template-columns: 1fr; }
    .kk-side { position: static; }
    .kk-hero { padding: 36px 16px 32px; }
    .kk-hero-inner { grid-template-columns: 1fr; gap: 28px; }
    .kk-hero-visual { min-height: 0; }
    .kk-hero-stack { padding-left: 0; }
    .kk-hero-stack .kk-hero-tile:nth-child(1),
    .kk-hero-stack .kk-hero-tile:nth-child(2),
    .kk-hero-stack .kk-hero-tile:nth-child(3),
    .kk-hero-stack .kk-hero-tile:nth-child(4) { transform: none; }
    .kk-hero-stack .kk-hero-tile:nth-child(n+3) { display: none; }
    .kk-hero-facts { grid-template-columns: 1fr; gap: 14px; }
    .kk-search { max-width: none; }
    .kk-hero-tile-name { max-width: 100%; }
}
@media (max-width: 520px) {
    .kk-cats-inner { padding-left: 16px; padding-right: 16px; }
    .kk-cats { grid-template-columns: 1fr; }
    .kk-grid { grid-template-columns: 1fr; }
}
