:root {
    --ink: #0b1220;
    --ink-soft: #29344a;
    --muted: #64748b;
    --primary: #1d4ed8;
    --primary-dark: #172554;
    --accent: #7c3aed;
    --accent-2: #0891b2;
    --bg-soft: #f5f7fb;
    --border: #e6e9f2;
    --radius-lg: 20px;
    --radius-md: 14px;
    --shadow-soft: 0 20px 45px -25px rgba(15, 23, 42, 0.35);
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ink);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", "Manrope", sans-serif;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: var(--primary);
}

p {
    color: var(--muted);
    line-height: 1.7;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: rgba(29, 78, 216, 0.08);
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 2px solid rgba(29, 78, 216, 0.25);
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

    .brand-text strong {
        color: var(--ink);
        font-size: 1rem;
    }

    .brand-text small {
        color: var(--muted);
        font-size: 0.72rem;
    }

.navbar-nav .nav-link {
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 14px !important;
    border-radius: 10px;
    transition: all 0.2s ease;
}

    .navbar-nav .nav-link:hover {
        color: var(--primary);
        background: rgba(29, 78, 216, 0.08);
    }

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff !important;
}

    .nav-cta:hover {
        color: #fff !important;
        opacity: 0.92;
        background: linear-gradient(135deg, var(--primary), var(--accent));
    }

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 72px;
    background: radial-gradient(circle at 15% 20%, rgba(29, 78, 216, 0.08), transparent 45%), var(--bg-soft);
}

.hero-glow {
    position: absolute;
    top: -160px;
    right: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.25), transparent 65%);
    filter: blur(10px);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--ink-soft);
    max-width: 620px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 12px;
    border: none;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease;
}

    .btn-hero-primary:hover {
        color: #fff;
        transform: translateY(-2px);
    }

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

    .btn-hero-secondary:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

.hero-card-link {
    display: block;
    color: inherit;
}

.hero-card {
    background: linear-gradient(160deg, var(--primary-dark), #0b1220);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-card-link:hover .hero-card {
    transform: translateY(-4px);
    box-shadow: 0 28px 55px -20px rgba(15, 23, 42, 0.55);
}

.hero-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-weight: 700;
    color: #7dd3fc;
    font-size: 0.92rem;
}

.hero-card-badge {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.hero-card h5 {
    color: #fff;
    font-size: 1.2rem;
}

.hero-card p {
    color: rgba(255, 255, 255, 0.75);
}

.hero-card-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .hero-card-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.92rem;
    }

    .hero-card-list i {
        color: #7dd3fc;
    }

/* Stats */
.stats-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.stat-card {
    text-align: center;
    padding: 20px 10px;
}

    .stat-card i {
        font-size: 1.6rem;
        color: var(--primary);
        margin-bottom: 10px;
        display: inline-block;
    }

.stat-value {
    font-family: "Poppins", sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--ink);
}

.stat-label {
    color: var(--muted);
    font-size: 0.88rem;
}

/* Sections */
.section-block {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-soft);
}

.section-heading {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 46px;
}

    .section-heading.text-start {
        text-align: left;
        margin: 0 0 28px;
    }

    .section-heading h2 {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        margin-bottom: 12px;
    }

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-soft);
    }

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(124, 58, 237, 0.12));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.list-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    a.list-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-soft);
    }

.list-card-year {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
    min-width: 52px;
}

.list-card h6 {
    margin-bottom: 4px;
    font-size: 0.98rem;
}

.press-mini-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .press-mini-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-soft);
    }

.press-mini-thumb {
    flex-shrink: 0;
    width: 84px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .press-mini-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .press-mini-thumb i {
        font-size: 1.3rem;
        color: var(--accent);
    }

    .press-mini-card h6 {
        margin-bottom: 4px;
        font-size: 0.95rem;
    }

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 22px;
    font-weight: 700;
    color: var(--primary);
}

/* CTA */
.cta-section {
    padding: 20px 0 90px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-dark), #1e1b4b);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 46px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

    .cta-box h3 {
        color: #fff;
        margin-bottom: 8px;
    }

    .cta-box p {
        color: rgba(255, 255, 255, 0.75);
        margin: 0;
        max-width: 480px;
    }

/* Page header (inner pages) */
.page-header {
    padding: 70px 0 50px;
    background: var(--bg-soft);
    text-align: center;
}

    .page-header h1 {
        font-size: clamp(2rem, 3.5vw, 2.6rem);
        margin-bottom: 14px;
    }

    .page-header p {
        max-width: 640px;
        margin: 0 auto;
    }

.page-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
}

    .page-header-top p {
        margin: 0;
    }

@media (max-width: 767.98px) {
    .page-header-top {
        flex-direction: column;
        text-align: center;
    }
}

.profile-tagline {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.btn-block-sm {
    display: block;
    text-align: center;
    margin-top: 14px;
}

/* Profile card (Hakkinda) */
.profile-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.profile-avatar {
    width: 128px;
    height: 128px;
    margin: 0 auto 18px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 4px solid var(--bg-soft);
    box-shadow: var(--shadow-soft);
    display: block;
}

.profile-facts {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .profile-facts li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 0.9rem;
        color: var(--ink-soft);
    }

    .profile-facts i {
        color: var(--primary);
    }

.mini-stat {
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

    .mini-stat strong {
        display: block;
        font-family: "Poppins", sans-serif;
        color: var(--primary);
        font-size: 1.1rem;
    }

    .mini-stat span {
        font-size: 0.76rem;
        color: var(--muted);
    }

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 6px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding-bottom: 34px;
    position: relative;
}

    .timeline-item:not(:last-child)::before {
        content: "";
        position: absolute;
        left: 23px;
        top: 48px;
        bottom: 0;
        width: 2px;
        background: var(--border);
    }

.timeline-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    z-index: 1;
}

.timeline-period {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(29, 78, 216, 0.08);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.timeline-content h5 {
    margin-bottom: 6px;
}

/* Publications (Makaleler / Bildiriler) */
.pub-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 26px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .pub-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-soft);
    }

.pub-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.pub-year {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    color: var(--muted);
}

.badge-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent-2);
    background: rgba(8, 145, 178, 0.1);
    padding: 5px 12px;
    border-radius: 999px;
}

/* Books */
.book-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .book-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-soft);
    }

.book-cover {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--primary), var(--accent));
    color: rgba(255, 255, 255, 0.85);
    font-size: 2.4rem;
}

.book-body {
    padding: 22px;
}

/* Projects / Articles / Proceedings list */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.project-row {
    display: flex;
    gap: 18px;
    align-items: baseline;
    padding: 14px 20px;
    background: #fff;
}

    .project-row:nth-child(even) {
        background: var(--bg-soft);
    }

.project-year {
    flex-shrink: 0;
    min-width: 130px;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
}

.project-title {
    color: var(--ink-soft);
    font-size: 0.94rem;
    line-height: 1.5;
}


/* Press cards (Basin) */
.press-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    text-align: left;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .press-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-soft);
    }

.press-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--bg-soft);
    overflow: hidden;
}

    .press-card-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.press-card-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--primary), var(--accent));
    color: rgba(255, 255, 255, 0.9);
    font-size: 2.2rem;
}

.press-card-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 18, 32, 0.15);
    transition: background 0.2s ease;
}

    .press-card-play i {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.92);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        box-shadow: var(--shadow-soft);
    }

.press-card:hover .press-card-play {
    background: rgba(11, 18, 32, 0.3);
}

.press-card-body {
    padding: 20px;
}

.press-card h5 {
    font-size: 1rem;
    margin: 10px 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Contact form */
.contact-form label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--ink-soft);
    margin-bottom: 6px;
    display: inline-block;
}

.contact-form .form-control {
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 11px 14px;
    font-size: 0.94rem;
}

    .contact-form .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
    }

.alert-success-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(22, 163, 74, 0.1);
    color: #15803d;
    border: 1px solid rgba(22, 163, 74, 0.25);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 0 26px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #fff;
}

.footer-text {
    color: rgba(255, 255, 255, 0.65);
}

.footer-heading {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

    .footer-social a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        transition: background 0.2s ease, transform 0.2s ease;
    }

        .footer-social a:hover {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            transform: translateY(-2px);
        }

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
}

    .footer-links a {
        color: rgba(255, 255, 255, 0.75);
    }

        .footer-links a:hover {
            color: #fff;
        }

.site-footer hr {
    border-color: rgba(255, 255, 255, 0.12);
    margin: 30px 0 20px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}

    .footer-bottom a {
        color: rgba(255, 255, 255, 0.75);
    }

@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 16px 0;
        gap: 4px;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Blog / Haberler rich text content */
.blog-content {
    color: var(--ink-soft);
    line-height: 1.8;
    font-size: 1.02rem;
}

    .blog-content h1, .blog-content h2, .blog-content h3, .blog-content h4 {
        margin-top: 1.6em;
        margin-bottom: 0.6em;
    }

    .blog-content p {
        margin-bottom: 1.2em;
        color: var(--ink-soft);
    }

    .blog-content img {
        max-width: 100%;
        border-radius: 12px;
        margin: 1em 0;
    }

    .blog-content ul, .blog-content ol {
        margin-bottom: 1.2em;
        padding-left: 1.4em;
    }

    .blog-content blockquote {
        border-left: 4px solid var(--primary);
        padding: 8px 20px;
        color: var(--muted);
        font-style: italic;
        margin: 1.4em 0;
        background: var(--bg-soft);
        border-radius: 0 10px 10px 0;
    }

    .blog-content a {
        text-decoration: underline;
    }

/* Soru & Cevap (Basin sayfasi) */
.qa-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.qa-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 26px;
}

.qa-question {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
}

    .qa-question i {
        color: var(--primary);
        margin-top: 2px;
    }

.qa-answer {
    color: var(--ink-soft);
    line-height: 1.7;
    white-space: pre-wrap;
    padding-left: 26px;
}

.qa-date {
    margin-top: 10px;
    padding-left: 26px;
    font-size: 0.78rem;
    color: var(--muted);
}
