/* Haluk Öztemür — profesyonel profil */
:root {
    --hk-ink: #0f1419;
    --hk-muted: #5c6670;
    --hk-line: #e5e9ee;
    --hk-soft: #f3f5f7;
    --hk-paper: #fafbfc;
    --hk-navy: #0c2348;
    --hk-navy-2: #163a6b;
    --hk-accent: #c45c26;
    --hk-accent-soft: #f4ebe4;
    --hk-max: 1080px;
    --hk-bar: 72px;
}

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

html { scroll-behavior: smooth; }

body.hk-page {
    margin: 0;
    font-family: "Manrope", system-ui, sans-serif;
    color: var(--hk-ink);
    background:
        radial-gradient(ellipse 80% 50% at 0% 0%, rgba(12, 35, 72, .06), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 10%, rgba(196, 92, 38, .07), transparent 50%),
        var(--hk-paper);
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
}

.hk-page h1, .hk-page h2, .hk-page h3 {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 500;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: var(--hk-navy);
}

a { color: inherit; }

.hk-wrap {
    width: min(var(--hk-max), calc(100% - 40px));
    margin: 0 auto;
}

/* Nav */
.hk-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--hk-bar);
    display: flex;
    align-items: center;
    background: rgba(250, 251, 252, .9);
    border-bottom: 1px solid rgba(15, 20, 25, .06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hk-nav-inner {
    width: min(var(--hk-max), calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.hk-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    color: var(--hk-navy);
}

.hk-logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--hk-navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.hk-nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hk-nav-links a {
    text-decoration: none;
    font-size: .88rem;
    font-weight: 600;
    color: var(--hk-muted);
    padding: 8px 12px;
    border-radius: 8px;
}

.hk-nav-links a:hover { color: var(--hk-navy); background: var(--hk-soft); }

.hk-nav-cta {
    background: var(--hk-navy) !important;
    color: #fff !important;
}
.hk-nav-cta:hover { background: var(--hk-navy-2) !important; }

.hk-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--hk-line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

/* Hero — brand first, no photo */
.hk-hero {
    padding: clamp(48px, 9vw, 96px) 0 clamp(40px, 6vw, 64px);
}

.hk-hero-kicker {
    margin: 0 0 16px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hk-accent);
}

.hk-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2.6rem, 7vw, 4.5rem);
    font-weight: 550;
    max-width: 12ch;
}

.hk-hero-role {
    margin: 0 0 20px;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--hk-muted);
    font-weight: 500;
    max-width: 36ch;
}

.hk-hero-lead {
    margin: 0;
    max-width: 42rem;
    font-size: 1.05rem;
    color: #3d4650;
}

.hk-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: transform .15s, background .15s, border-color .15s;
}
.hk-btn:hover { transform: translateY(-1px); }
.hk-btn-primary { background: var(--hk-navy); color: #fff; }
.hk-btn-primary:hover { background: var(--hk-navy-2); }
.hk-btn-ghost { background: #fff; border-color: var(--hk-line); color: var(--hk-navy); }
.hk-btn-ghost:hover { border-color: #c5ccd6; background: var(--hk-soft); }

.hk-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.hk-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--hk-line);
    font-size: .8rem;
    font-weight: 600;
    color: #334155;
}

/* Sections */
.hk-section {
    padding: clamp(48px, 7vw, 80px) 0;
}

.hk-section-head {
    margin-bottom: 28px;
    max-width: 36rem;
}

.hk-section-head p {
    margin: 10px 0 0;
    color: var(--hk-muted);
}

.hk-section-head h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.hk-rule {
    width: 48px;
    height: 3px;
    background: var(--hk-accent);
    border-radius: 2px;
    margin-bottom: 14px;
}

/* About */
.hk-about-grid {
    display: grid;
    grid-template-columns: 1.35fr .85fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.hk-prose p {
    margin: 0 0 1rem;
    color: #3a4450;
    font-size: 1.02rem;
}

.hk-prose strong { color: var(--hk-navy); font-weight: 700; }

.hk-side-card {
    background: #fff;
    border: 1px solid var(--hk-line);
    border-radius: 16px;
    padding: 22px;
}

.hk-side-card h3 {
    margin: 0 0 14px;
    font-size: 1.15rem;
}

.hk-edu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.hk-edu li {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hk-line);
}
.hk-edu li:last-child { border-bottom: 0; padding-bottom: 0; }

.hk-edu strong {
    display: block;
    font-size: .92rem;
    color: var(--hk-navy);
}

.hk-edu span {
    display: block;
    font-size: .82rem;
    color: var(--hk-muted);
    margin-top: 2px;
}

/* Timeline */
.hk-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid var(--hk-line);
}

.hk-timeline li {
    position: relative;
    padding: 0 0 28px 28px;
}

.hk-timeline li:last-child { padding-bottom: 0; }

.hk-timeline li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid var(--hk-navy);
}

.hk-timeline li.is-now::before {
    background: var(--hk-accent);
    border-color: var(--hk-accent);
}

.hk-tl-date {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--hk-accent);
    margin-bottom: 4px;
}

.hk-timeline h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
}

.hk-timeline p {
    margin: 0;
    color: var(--hk-muted);
    font-size: .95rem;
}

/* Award / training tables */
.hk-stat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.hk-mini-stat {
    background: #fff;
    border: 1px solid var(--hk-line);
    border-radius: 12px;
    padding: 14px 16px;
}

.hk-mini-stat strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--hk-navy);
    letter-spacing: -.03em;
    line-height: 1.1;
}

.hk-mini-stat span {
    font-size: .75rem;
    font-weight: 600;
    color: var(--hk-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.hk-table-card {
    background: #fff;
    border: 1px solid var(--hk-line);
    border-radius: 16px;
    overflow: hidden;
}

.hk-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.hk-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
    min-width: 640px;
}

.hk-table th,
.hk-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #eef1f5;
    vertical-align: top;
}

.hk-table th {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--hk-muted);
    font-weight: 700;
    background: #f7f9fb;
    white-space: nowrap;
}

.hk-table tbody tr:last-child td { border-bottom: 0; }
.hk-table tbody tr:hover td { background: #fafbfc; }

.hk-table code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .8rem;
    color: #475569;
    background: var(--hk-soft);
    padding: 2px 6px;
    border-radius: 6px;
}

.hk-train-name {
    font-weight: 700;
    color: var(--hk-navy);
    font-size: .92rem;
    line-height: 1.35;
}

.hk-date-cell {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    color: var(--hk-muted);
    font-size: .85rem;
}

.hk-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

.hk-badge-gold { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.hk-badge-navy { background: #eef2ff; color: #1e3a8a; border: 1px solid #c7d2fe; }
.hk-badge-soft { background: var(--hk-soft); color: #475569; border: 1px solid var(--hk-line); }

.hk-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.hk-tab {
    appearance: none;
    border: 1px solid var(--hk-line);
    background: #fff;
    color: var(--hk-muted);
    font: inherit;
    font-size: .88rem;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hk-tab em {
    font-style: normal;
    font-size: .72rem;
    background: var(--hk-soft);
    color: var(--hk-navy);
    padding: 2px 7px;
    border-radius: 999px;
}

.hk-tab.is-on {
    background: var(--hk-navy);
    border-color: var(--hk-navy);
    color: #fff;
}

.hk-tab.is-on em {
    background: rgba(255,255,255,.18);
    color: #fff;
}

.hk-tab-panel { display: none; }
.hk-tab-panel.is-on { display: block; }

/* Projects */
.hk-band {
    background: var(--hk-navy);
    color: #fff;
    border-radius: 28px;
    padding: clamp(36px, 6vw, 56px) clamp(20px, 4vw, 40px);
    margin: 8px 0;
}

.hk-band h2 { color: #fff; }
.hk-band .hk-section-head p { color: rgba(255,255,255,.65); }
.hk-band .hk-rule { background: var(--hk-accent); }

.hk-projects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hk-project {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    transition: background .15s, border-color .15s, transform .15s;
}

.hk-project:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.22);
    transform: translateY(-2px);
}

.hk-project-tag {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #f0a070;
}

.hk-project h3 {
    margin: 0;
    color: #fff;
    font-size: 1.25rem;
}

.hk-project p {
    margin: 0;
    flex: 1;
    color: rgba(255,255,255,.7);
    font-size: .92rem;
    line-height: 1.5;
}

.hk-project-link {
    font-size: .85rem;
    font-weight: 700;
    color: #93c5fd;
}

/* Publication + Erasmus */
.hk-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
}

.hk-panel {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 22px;
}

.hk-panel h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.15rem;
}

.hk-panel p {
    margin: 0 0 12px;
    color: rgba(255,255,255,.72);
    font-size: .9rem;
    line-height: 1.55;
}

.hk-panel .meta {
    font-size: .78rem;
    color: #f0a070;
    font-weight: 700;
    margin-bottom: 8px;
}

.hk-panel a.hk-btn {
    margin-top: 4px;
    background: #fff;
    color: var(--hk-navy);
    min-height: 40px;
    font-size: .85rem;
}

/* Contact */
.hk-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--hk-line);
    border-radius: 18px;
}

.hk-contact h2 { margin: 0 0 6px; font-size: 1.5rem; }
.hk-contact p { margin: 0; color: var(--hk-muted); }

.hk-social {
    display: flex;
    gap: 8px;
}

.hk-social a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--hk-line);
    display: grid;
    place-items: center;
    text-decoration: none;
    color: var(--hk-navy);
    background: var(--hk-soft);
    font-size: 1.1rem;
}
.hk-social a:hover { background: var(--hk-navy); color: #fff; border-color: var(--hk-navy); }

.hk-foot {
    padding: 28px 0 40px;
    color: var(--hk-muted);
    font-size: .85rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.hk-foot a {
    color: var(--hk-navy);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 900px) {
    .hk-about-grid,
    .hk-projects,
    .hk-split { grid-template-columns: 1fr; }
    .hk-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .hk-nav-links {
        display: none;
        position: absolute;
        top: var(--hk-bar);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px 20px;
        background: #fff;
        border-bottom: 1px solid var(--hk-line);
        box-shadow: 0 12px 24px rgba(0,0,0,.06);
    }
    .hk-nav-links.is-open { display: flex; }
    .hk-nav-toggle { display: grid; place-items: center; }
    .hk-nav { position: sticky; }
    .hk-nav-inner { position: relative; width: 100%; padding: 0 20px; }
}

@media (max-width: 560px) {
    .hk-wrap,
    .hk-nav-inner { width: calc(100% - 32px); }
    .hk-hero-actions { flex-direction: column; align-items: stretch; }
    .hk-btn { width: 100%; }
    .hk-band { border-radius: 20px; }
    .hk-stat-row { grid-template-columns: 1fr 1fr; }
    .hk-table { min-width: 0; }
    .hk-table thead { display: none; }
    .hk-table,
    .hk-table tbody,
    .hk-table tr,
    .hk-table td { display: block; width: 100%; }
    .hk-table tr {
        padding: 14px 16px;
        border-bottom: 1px solid var(--hk-line);
    }
    .hk-table td {
        padding: 4px 0;
        border: 0;
        display: flex;
        justify-content: space-between;
        gap: 12px;
    }
    .hk-table td::before {
        content: attr(data-label);
        font-size: .7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .05em;
        color: var(--hk-muted);
        flex-shrink: 0;
    }
    .hk-train-name { text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hk-btn, .hk-project { transition: none; }
}
