:root {
    --background: #070a11;
    --panel: #0d131e;
    --panel-light: #111927;
    --text: #f6f8fb;
    --muted: #9ca8b8;
    --line: rgba(255, 255, 255, 0.09);
    --blue: #69a7ff;
    --purple: #9877ff;
    --max-width: 1200px;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    background:
        radial-gradient(
            900px 550px at 5% -5%,
            rgba(52, 105, 255, .24),
            transparent 60%
        ),
        radial-gradient(
            700px 500px at 95% 10%,
            rgba(137, 75, 255, .15),
            transparent 60%
        ),
        var(--background);

    color: var(--text);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;
}


a {
    color: inherit;
}


.topbar {
    min-height: 76px;

    display: flex;
    align-items: center;

    gap: 28px;

    padding:
        0 max(
            22px,
            calc((100vw - var(--max-width)) / 2)
        );

    position: sticky;
    top: 0;

    z-index: 100;

    background:
        rgba(7, 10, 17, .84);

    backdrop-filter:
        blur(18px);

    border-bottom:
        1px solid var(--line);
}


.brand {
    font-weight: 800;
    font-size: 1.05rem;

    text-decoration: none;

    white-space: nowrap;
}


.brand span,
.hero h1 span {
    color: transparent;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--purple)
        );

    background-clip: text;

    -webkit-background-clip: text;
}


nav {
    flex: 1;

    display: flex;

    justify-content: center;

    gap: 21px;
}


nav a {
    text-decoration: none;

    color: var(--muted);

    font-size: .92rem;

    transition: .2s;
}


nav a:hover {
    color: white;
}


.top-actions {
    display: flex;

    align-items: center;

    gap: 12px;
}


.language {
    text-decoration: none;

    color: var(--blue);

    font-weight: 800;
}


.hero,
.section {
    max-width: var(--max-width);

    margin: auto;

    padding-left: 24px;

    padding-right: 24px;
}


.hero {
    min-height:
        calc(100vh - 76px);

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    padding-top: 90px;

    padding-bottom: 110px;
}


.eyebrow {
    color: var(--blue);

    font-size: .73rem;

    letter-spacing: .2em;

    font-weight: 800;

    margin-bottom: 17px;
}


.hero h1 {
    margin: 0;

    font-size:
        clamp(
            4rem,
            9vw,
            8rem
        );

    line-height: .91;

    letter-spacing: -.065em;
}


.hero h2 {
    margin-top: 32px;

    margin-bottom: 0;

    font-size:
        clamp(
            1.35rem,
            3vw,
            2.15rem
        );

    font-weight: 500;

    color: #d0d7e2;
}


.lead {
    max-width: 780px;

    margin-top: 24px;

    color: var(--muted);

    font-size: 1.17rem;
}


.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 36px;
}


.button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 18px;

    color: white;

    text-decoration: none;

    border:
        1px solid var(--line);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, .035);

    transition: .2s;
}


.button:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(105, 167, 255, .55);
}


.button.primary {
    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            #397bf0,
            #7451e7
        );
}


.button.small {
    padding: 8px 13px;
}


.section {
    padding-top: 95px;

    padding-bottom: 95px;
}


.section-title {
    max-width: 750px;
}


.section-title span {
    color: var(--blue);

    font-size: .74rem;

    font-weight: 800;

    letter-spacing: .2em;
}


.section-title h2,
.highlight-section h2 {
    margin-top: 9px;

    margin-bottom: 15px;

    font-size:
        clamp(
            2.1rem,
            4vw,
            3.6rem
        );

    letter-spacing: -.045em;
}


.section-title p {
    color: var(--muted);

    font-size: 1.08rem;
}


.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 18px;

    margin-top: 45px;
}


.feature-card {
    min-height: 265px;

    padding: 29px;

    border:
        1px solid var(--line);

    border-radius: 20px;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, .055),
            rgba(255, 255, 255, .02)
        );

    transition:
        transform .2s,
        border-color .2s;
}


.feature-card:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(105, 167, 255, .38);
}


.feature-card strong {
    color: var(--blue);
}


.feature-card h3 {
    margin-top: 54px;

    margin-bottom: 10px;

    font-size: 1.35rem;
}


.feature-card p {
    color: var(--muted);
}


.highlight-section {
    margin-top: 50px;

    margin-bottom: 80px;

    padding-top: 80px;

    padding-bottom: 80px;

    border-top:
        1px solid var(--line);

    border-bottom:
        1px solid var(--line);
}


.messages {
    max-width: var(--max-width);

    margin: 18px auto;

    padding:
        0 24px;
}


.message {
    padding: 13px 15px;

    border-radius: 11px;

    border:
        1px solid
        rgba(105, 167, 255, .3);

    background: #101a2b;
}


footer {
    max-width: var(--max-width);

    margin:
        80px auto 0;

    padding:
        36px 24px;

    border-top:
        1px solid var(--line);

    display: flex;

    justify-content: space-between;

    color: var(--muted);
}


footer p {
    margin-bottom: 0;
}


@media (max-width: 950px) {

    nav {
        display: none;
    }

    .feature-grid {
        grid-template-columns:
            1fr 1fr;
    }

}


@media (max-width: 650px) {

    .topbar {
        padding:
            0 16px;
    }

    .hero,
    .section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: column;

        gap: 20px;
    }

}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-content {
    width: 100%;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-photo-frame {
    width: 100%;
    max-width: 420px;
    padding: 14px;
    border-radius: 30px;
    background:
        linear-gradient(
            135deg,
            rgba(105, 167, 255, .28),
            rgba(152, 119, 255, .18)
        );
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, .35);
}

.profile-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.08);
}

.profile-placeholder {
    width: 100%;
    max-width: 420px;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    border: 1px solid var(--line);
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.06),
            rgba(255,255,255,.02)
        );
    box-shadow:
        0 30px 80px rgba(0,0,0,.28);
}

.profile-placeholder-inner {
    text-align: center;
    padding: 30px;
}

.profile-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    background:
        linear-gradient(
            135deg,
            #397bf0,
            #7451e7
        );
    box-shadow:
        0 20px 50px rgba(79, 103, 235, .35);
}

.profile-placeholder h3 {
    margin-bottom: 10px;
    font-size: 1.6rem;
}

.profile-placeholder p {
    color: var(--muted);
    max-width: 280px;
    margin: 0 auto;
}

@media (max-width: 950px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 10px;
    }

    .profile-photo-frame,
    .profile-placeholder {
        max-width: 340px;
    }

    .profile-placeholder {
        min-height: 420px;
    }
}

/* =========================================================
   ANA SAYFA PROFİL FOTOĞRAFI
   ========================================================= */

.hero-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 70px;
    align-items: center;
}

.hero-content {
    min-width: 0;
}

.hero-visual {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}


/* FOTOĞRAF YÜKLENDİĞİNDE */

.profile-photo-frame {
    position: relative;

    width: 100%;
    max-width: 390px;

    padding: 10px;

    border-radius: 32px;

    background:
        linear-gradient(
            135deg,
            rgba(105, 167, 255, 0.30),
            rgba(152, 119, 255, 0.18)
        );

    border:
        1px solid rgba(255, 255, 255, 0.10);

    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.40);
}


.profile-photo-frame::before {
    content: "";

    position: absolute;

    inset: -35px;

    z-index: -1;

    background:
        radial-gradient(
            circle,
            rgba(92, 126, 255, 0.20),
            transparent 65%
        );

    filter: blur(20px);
}


.profile-photo {
    width: 100%;

    aspect-ratio: 4 / 5;

    display: block;

    object-fit: cover;

    object-position: center top;

    border-radius: 24px;
}


/* FOTOĞRAF HENÜZ YOKSA */

.profile-placeholder {
    width: 100%;
    max-width: 390px;
    min-height: 490px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 32px;

    border:
        1px solid rgba(255, 255, 255, 0.09);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.28);
}


.profile-placeholder-inner {
    width: 100%;

    padding: 40px;

    text-align: center;
}


.profile-circle {
    width: 125px;
    height: 125px;

    margin:
        0 auto
        28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 2.1rem;
    font-weight: 800;

    color: white;

    background:
        linear-gradient(
            135deg,
            #397bf0,
            #7956ec
        );

    box-shadow:
        0 20px 55px rgba(75, 100, 240, 0.35);
}


.profile-placeholder h3 {
    margin:
        0 0
        8px;

    font-size: 1.55rem;
}


.profile-placeholder p {
    max-width: 260px;

    margin: auto;

    color: var(--muted);
}


/* TABLET */

@media (max-width: 1000px) {

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }


    .hero-visual {
        justify-content: flex-start;
    }


    .profile-photo-frame,
    .profile-placeholder {
        max-width: 350px;
    }


    .profile-placeholder {
        min-height: 430px;
    }

}


/* TELEFON */

@media (max-width: 650px) {

    .hero-layout {
        gap: 40px;
    }


    .profile-photo-frame,
    .profile-placeholder {
        width: 100%;
        max-width: 100%;
    }


    .profile-placeholder {
        min-height: 400px;
    }

}

.hero h1 {
    font-size: clamp(3.8rem, 6.8vw, 7rem);
    white-space: nowrap;
}

.hero-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
    gap: 60px;
}

.profile-photo-frame {
    max-width: 380px;
}

.profile-card {
    width: 100%;
    max-width: 390px;
}


.profile-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-top: 20px;
}


.profile-contact a {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 11px 14px;

    border-radius: 12px;

    border: 1px solid var(--line);

    background: rgba(255,255,255,.025);

    color: #d6deea;

    text-decoration: none;

    transition: .2s;
}


.profile-contact a:hover {
    border-color: rgba(105,167,255,.45);

    background: rgba(105,167,255,.06);

    transform: translateX(3px);
}


.contact-icon {
    width: 24px;

    color: var(--blue);

    font-weight: 800;
}


.linkedin-icon {
    width: 24px;
    height: 24px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    border-radius: 5px;

    background: #f4f7fb;

    color: #08101c;

    font-size: .75rem;

    font-weight: 900;
}


.resume-hero {
    max-width: 900px;

    margin: auto;

    padding:
        130px 24px
        45px;
}


.resume-hero h1 {
    margin: 0;

    font-size:
        clamp(
            3.5rem,
            7vw,
            6rem
        );

    letter-spacing: -.055em;
}


.resume-hero p {
    color: var(--muted);

    font-size: 1.2rem;
}


.resume-content {
    max-width: 900px;

    margin: auto;

    padding:
        30px 24px
        120px;

    font-size: 1.08rem;

    color: #d7dee9;
}


.resume-content h2 {
    margin-top: 45px;

    color: white;

    font-size: 1.8rem;
}


.resume-content p {
    line-height: 1.8;
}


.empty-content {
    padding: 35px;

    border-radius: 18px;

    border: 1px solid var(--line);

    background: var(--panel);
}

/* =========================================================
   PROFİL İLETİŞİM KARTI
   ========================================================= */

.profile-card {
    width: 100%;
    max-width: 390px;
}

.profile-contact {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.profile-contact-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 14px;

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;

    background: rgba(255,255,255,.035);

    color: #dce4ef;
    text-decoration: none;

    font-size: .92rem;

    transition: .2s ease;
}

.profile-contact-item:hover {
    background: rgba(105,167,255,.08);
    border-color: rgba(105,167,255,.45);
    transform: translateX(3px);
}

.contact-icon {
    width: 27px;
    height: 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 7px;

    background: rgba(105,167,255,.11);

    color: #69a7ff;

    font-size: .9rem;
}

.linkedin-icon {
    width: 27px;
    height: 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 7px;

    background: #0a66c2;
    color: white;

    font-size: .72rem;
    font-weight: 900;
}

.profile-contact-item span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================================================
   ÇALIŞMALAR / PROJELER
   ========================================================= */

.projects-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 110px 28px 130px;
}


.projects-header {
    max-width: 800px;
    margin-bottom: 60px;
}


.projects-header h1 {
    margin: 14px 0 20px;

    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: .98;

    letter-spacing: -.055em;
}


.projects-header p {
    max-width: 700px;

    color: var(--muted);

    font-size: 1.08rem;
    line-height: 1.8;
}


.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
}


.project-card {
    overflow: hidden;

    border: 1px solid var(--line);

    border-radius: 22px;

    background:
        rgba(255, 255, 255, .025);

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;
}


.project-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(105, 167, 255, .35);

    background:
        rgba(255, 255, 255, .04);
}


.project-image-link {
    display: block;

    text-decoration: none;
}


.project-image {
    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #101722;
}


.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .4s ease;
}


.project-card:hover .project-image img {
    transform: scale(1.035);
}


.project-image-empty {
    display: flex;

    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 30% 30%,
            rgba(74, 137, 255, .24),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #101722,
            #101020
        );
}


.project-image-empty span {
    font-size: 4rem;

    font-weight: 900;

    color:
        rgba(255, 255, 255, .12);
}


.project-card-content {
    padding: 26px;
}


.project-tech {
    margin-bottom: 13px;

    color: #6ea8ff;

    font-size: .78rem;
    font-weight: 750;

    letter-spacing: .07em;

    text-transform: uppercase;
}


.project-card h2 {
    margin: 0 0 14px;

    font-size: 1.45rem;
}


.project-card h2 a {
    color: white;

    text-decoration: none;
}


.project-card p {
    min-height: 70px;

    margin: 0;

    color: var(--muted);

    line-height: 1.7;
}


.project-card-footer {
    margin-top: 25px;
}


.project-detail-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #dbe8ff;

    text-decoration: none;

    font-weight: 700;
}


.project-detail-link span {
    color: #6ea8ff;

    transition:
        transform .2s ease;
}


.project-detail-link:hover span {
    transform: translateX(5px);
}


.projects-empty {
    padding: 70px 35px;

    border:
        1px solid var(--line);

    border-radius: 22px;

    text-align: center;

    background:
        rgba(255, 255, 255, .025);
}


.projects-empty > span {
    display: block;

    margin-bottom: 15px;

    color: #6ea8ff;

    font-size: 3rem;
}


.projects-empty h2 {
    margin-bottom: 10px;
}


.projects-empty p {
    color: var(--muted);
}


@media (max-width: 850px) {

    .projects-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .projects-page {
        padding:
            80px 18px
            90px;
    }

    .project-card-content {
        padding: 21px;
    }

}

/* =========================================================
   PROJE DETAY SAYFASI
   ========================================================= */

.project-detail-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 100px 28px 130px;
}


.project-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 55px;

    color: #93a4bb;
    text-decoration: none;
    font-weight: 650;
}


.project-back:hover {
    color: white;
}


.project-detail-header {
    max-width: 980px;
    margin-bottom: 55px;
}


.project-detail-tech {
    margin-bottom: 18px;

    color: #67a6ff;

    font-size: .78rem;
    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.project-detail-header h1 {
    margin: 0 0 25px;

    font-size: clamp(3rem, 6vw, 5.8rem);

    line-height: 1.02;

    letter-spacing: -.05em;
}


.project-detail-header > p {
    max-width: 850px;

    color: var(--muted);

    font-size: 1.15rem;

    line-height: 1.8;
}


.project-detail-cover {
    width: 100%;

    overflow: hidden;

    margin-bottom: 70px;

    border: 1px solid var(--line);

    border-radius: 24px;

    background: #0d1420;
}


.project-detail-cover img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;

    object-fit: cover;
}


.project-detail-content {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        320px;

    gap: 70px;

    align-items: start;
}


.project-detail-main {
    min-width: 0;
}


.project-body {
    margin-top: 25px;

    color: #cad4e1;

    font-size: 1.06rem;

    line-height: 1.9;
}


.project-body p {
    margin: 0 0 24px;
}


.project-detail-sidebar {
    position: sticky;
    top: 100px;

    padding: 25px;

    border: 1px solid var(--line);

    border-radius: 18px;

    background:
        rgba(255,255,255,.025);
}


.project-detail-sidebar h3 {
    margin:
        0 0
        25px;

    font-size: 1.1rem;
}


.project-info-item {
    margin-bottom: 25px;
}


.project-info-item > span {
    display: block;

    margin-bottom: 8px;

    color: #718198;

    font-size: .75rem;

    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: .07em;
}


.project-info-item p {
    margin: 0;

    color: #d7e0eb;

    line-height: 1.6;
}


.project-external-button {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-top: 10px;

    padding: 12px 14px;

    border-radius: 11px;

    background: #397bf0;

    color: white;

    text-decoration: none;

    font-weight: 700;
}


.project-external-button.secondary {
    background:
        rgba(255,255,255,.05);

    border:
        1px solid var(--line);
}


@media (max-width: 900px) {

    .project-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-detail-sidebar {
        position: static;
    }

}


@media (max-width: 600px) {

    .project-detail-page {
        padding:
            75px 18px
            90px;
    }

}

/* =========================================================
   MAKALELER
   ========================================================= */

.articles-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 110px 28px 130px;
}

.articles-header {
    max-width: 830px;
    margin-bottom: 60px;
}

.articles-header h1 {
    margin: 14px 0 20px;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.articles-header p {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.article-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,255,255,.025);

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: rgba(105,167,255,.35);
    background: rgba(255,255,255,.04);
}

.article-image-link {
    display: block;
    text-decoration: none;
}

.article-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #101722;
}

.article-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.035);
}

.article-image-empty {
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 30% 30%,
            rgba(74,137,255,.24),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #101722,
            #101020
        );
}

.article-image-empty span {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255,255,255,.12);
}

.article-card-content {
    padding: 26px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;

    margin-bottom: 15px;

    color: #72839b;
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.article-category {
    color: #6ea8ff;
}

.article-card h2 {
    margin: 0 0 14px;
    font-size: 1.45rem;
    line-height: 1.35;
}

.article-card h2 a {
    color: white;
    text-decoration: none;
}

.article-card-content > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.article-publisher {
    margin-top: 18px;
    color: #a8b5c7;
    font-size: .88rem;
    font-weight: 600;
}

.article-doi {
    margin-top: 8px;
    color: #718198;
    font-size: .78rem;
}

.article-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 25px;
}

.article-detail-link,
.article-external-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    text-decoration: none;
    font-weight: 700;
}

.article-detail-link {
    color: #dbe8ff;
}

.article-detail-link span {
    color: #6ea8ff;
    transition: transform .2s ease;
}

.article-detail-link:hover span {
    transform: translateX(5px);
}

.article-external-link {
    color: #6ea8ff;
}

.article-external-link:hover {
    color: white;
}

.articles-empty {
    padding: 70px 35px;

    border: 1px solid var(--line);
    border-radius: 22px;

    text-align: center;

    background: rgba(255,255,255,.025);
}

.articles-empty > span {
    display: block;
    margin-bottom: 15px;

    color: #6ea8ff;
    font-size: 3rem;
}

.articles-empty h2 {
    margin-bottom: 10px;
}

.articles-empty p {
    color: var(--muted);
}

@media (max-width: 850px) {

    .articles-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .articles-page {
        padding: 80px 18px 90px;
    }

    .article-card-content {
        padding: 21px;
    }

}

/* =========================================================
   MAKALE DETAY
   ========================================================= */

.article-detail-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 100px 28px 130px;
}


.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 55px;

    color: #93a4bb;
    text-decoration: none;
    font-weight: 650;
}


.article-back:hover {
    color: white;
}


.article-detail-header {
    max-width: 1000px;
    margin-bottom: 55px;
}


.article-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-bottom: 18px;

    color: #798aa0;

    font-size: .78rem;
    font-weight: 750;

    letter-spacing: .07em;
    text-transform: uppercase;
}


.article-detail-category {
    color: #6ea8ff;
}


.article-detail-header h1 {
    margin: 0 0 25px;

    font-size: clamp(2.8rem, 5.5vw, 5.4rem);

    line-height: 1.04;

    letter-spacing: -.05em;
}


.article-detail-summary {
    max-width: 850px;

    margin: 0;

    color: var(--muted);

    font-size: 1.12rem;
    line-height: 1.8;
}


.article-detail-cover {
    width: 100%;

    margin-bottom: 70px;

    overflow: hidden;

    border: 1px solid var(--line);

    border-radius: 24px;

    background: #101722;
}


.article-detail-cover img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 16 / 9;

    object-fit: cover;
}


.article-detail-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        330px;

    gap: 70px;

    align-items: start;
}


.article-body {
    margin-top: 25px;

    color: #cad4e1;

    font-size: 1.06rem;
    line-height: 1.95;
}


.article-body p {
    margin: 0 0 24px;
}


.article-info-card {
    position: sticky;

    top: 100px;

    padding: 26px;

    border: 1px solid var(--line);

    border-radius: 18px;

    background: rgba(255,255,255,.025);
}


.article-info-card h3 {
    margin: 0 0 26px;

    font-size: 1.08rem;
}


.article-info-item {
    margin-bottom: 24px;
}


.article-info-item > span {
    display: block;

    margin-bottom: 8px;

    color: #718198;

    font-size: .72rem;
    font-weight: 800;

    letter-spacing: .07em;
    text-transform: uppercase;
}


.article-info-item p {
    margin: 0;

    color: #d5dfe9;

    line-height: 1.65;

    word-break: break-word;
}


.publication-button {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-top: 12px;

    padding: 13px 15px;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #397bf0,
            #6755db
        );

    color: white;

    text-decoration: none;

    font-weight: 750;
}


.publication-button:hover {
    filter: brightness(1.08);
}


@media (max-width: 900px) {

    .article-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-info-card {
        position: static;
    }

}


@media (max-width: 600px) {

    .article-detail-page {
        padding:
            75px 18px
            90px;
    }

}

/* =========================================================
   İLETİŞİM
   ========================================================= */

.contact-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 110px 28px 130px;
}


.contact-header {
    max-width: 800px;
    margin-bottom: 60px;
}


.contact-header h1 {
    margin: 14px 0 20px;

    font-size: clamp(3rem, 6vw, 5.8rem);

    line-height: .98;

    letter-spacing: -.055em;
}


.contact-header p {
    max-width: 720px;

    color: var(--muted);

    font-size: 1.08rem;

    line-height: 1.8;
}


.contact-layout {
    display: grid;

    grid-template-columns:
        minmax(0, .8fr)
        minmax(0, 1.2fr);

    gap: 50px;

    align-items: start;
}


.contact-info h2,
.contact-form-card h2 {
    margin:
        0 0
        22px;

    font-size: 1.45rem;
}


.contact-info-card {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-bottom: 12px;

    padding: 17px;

    border:
        1px solid var(--line);

    border-radius: 15px;

    background:
        rgba(255,255,255,.025);

    text-decoration: none;

    transition: .2s ease;
}


.contact-info-card:hover {
    transform: translateX(4px);

    border-color:
        rgba(105,167,255,.4);

    background:
        rgba(105,167,255,.05);
}


.contact-info-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background:
        rgba(105,167,255,.1);

    color: #6ea8ff;

    font-weight: 800;
}


.linkedin-contact {
    background: #0a66c2;

    color: white;
}


.contact-info-card span {
    display: block;

    margin-bottom: 3px;

    color: #718198;

    font-size: .72rem;

    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: .06em;
}


.contact-info-card strong {
    color: #e6edf7;

    font-size: .93rem;

    font-weight: 650;
}


.contact-form-card {
    padding: 30px;

    border:
        1px solid var(--line);

    border-radius: 22px;

    background:
        rgba(255,255,255,.025);
}


.contact-form-card > p {
    margin:
        -10px 0
        30px;

    color: var(--muted);

    line-height: 1.7;
}


.contact-form p {
    margin-bottom: 19px;
}


.contact-form label {
    display: block;

    margin-bottom: 8px;

    color: #9aabc0;

    font-size: .78rem;

    font-weight: 750;

    letter-spacing: .04em;
}


.contact-form input,
.contact-form textarea {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    border:
        1px solid rgba(255,255,255,.1);

    border-radius: 11px;

    outline: none;

    background: #090e16;

    color: white;

    font: inherit;
}


.contact-form textarea {
    min-height: 160px;

    resize: vertical;
}


.contact-form input:focus,
.contact-form textarea:focus {
    border-color:
        rgba(105,167,255,.55);

    box-shadow:
        0 0 0 3px
        rgba(105,167,255,.07);
}


.contact-form ul.errorlist {
    margin:
        0 0
        8px;

    padding: 0;

    list-style: none;

    color: #ff8d8d;

    font-size: .8rem;
}


.contact-submit {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 5px;

    padding: 13px 19px;

    border: 0;

    border-radius: 11px;

    cursor: pointer;

    background:
        linear-gradient(
            135deg,
            #397bf0,
            #6755db
        );

    color: white;

    font-weight: 750;

    font-size: .93rem;
}


.contact-submit span {
    transition:
        transform .2s ease;
}


.contact-submit:hover span {
    transform:
        translateX(4px);
}


@media (max-width: 850px) {

    .contact-layout {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .contact-page {
        padding:
            80px 18px
            90px;
    }

    .contact-form-card {
        padding: 22px;
    }

}

/* =========================================================
   KULLANICI PANELİ
   ========================================================= */

.dashboard-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 105px 28px 130px;
}


.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 30px;

    padding-bottom: 55px;

    border-bottom:
        1px solid var(--line);
}


.dashboard-header h1 {
    margin:
        13px 0
        20px;

    font-size:
        clamp(
            3rem,
            6vw,
            5.6rem
        );

    line-height: .98;

    letter-spacing: -.05em;
}


.dashboard-role {
    display: flex;
    align-items: center;
}


.role-badge {
    display: inline-flex;
    align-items: center;

    padding: 7px 12px;

    border-radius: 999px;

    font-size: .78rem;
    font-weight: 800;

    letter-spacing: .04em;
}


.role-badge.user {
    background:
        rgba(255,255,255,.06);

    color: #aebac9;
}


.role-badge.editor {
    background:
        rgba(67,140,255,.13);

    color: #72adff;
}


.role-badge.admin {
    background:
        rgba(139,92,246,.14);

    color: #a98aff;
}


.role-badge.superadmin {
    background:
        rgba(255,183,77,.13);

    color: #ffc76d;
}


.dashboard-logout {
    padding: 11px 15px;

    border:
        1px solid var(--line);

    border-radius: 10px;

    cursor: pointer;

    background:
        rgba(255,255,255,.025);

    color: #dbe3ee;

    font: inherit;

    font-weight: 650;
}


.dashboard-logout:hover {
    background:
        rgba(255,255,255,.06);
}


.dashboard-section-title {
    margin-top: 65px;
    margin-bottom: 25px;
}


.dashboard-section-title h2 {
    margin:
        10px 0
        0;

    font-size: 2rem;

    letter-spacing: -.03em;
}


.dashboard-management-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 18px;
}


.dashboard-management-card {
    position: relative;

    min-height: 215px;

    display: flex;
    flex-direction: column;

    padding: 25px;

    border:
        1px solid var(--line);

    border-radius: 18px;

    background:
        rgba(255,255,255,.025);

    text-decoration: none;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}


.dashboard-management-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(105,167,255,.38);

    background:
        rgba(105,167,255,.04);
}


.dashboard-card-number {
    color: #6ea8ff;

    font-size: .75rem;

    font-weight: 850;

    letter-spacing: .07em;
}


.dashboard-management-card h3 {
    margin:
        35px 0
        12px;

    color: white;

    font-size: 1.25rem;
}


.dashboard-management-card p {
    margin: 0;

    color: var(--muted);

    line-height: 1.65;
}


.dashboard-management-card strong {
    margin-top: auto;

    padding-top: 25px;

    color: #dbe8ff;

    font-size: .88rem;
}


.dashboard-account-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 18px;
}


.dashboard-box {
    padding: 25px;

    border:
        1px solid var(--line);

    border-radius: 18px;

    background:
        rgba(255,255,255,.025);
}


.dashboard-box-label {
    color: #6ea8ff;

    font-size: .72rem;

    font-weight: 850;

    letter-spacing: .08em;
}


.dashboard-box h3 {
    margin:
        20px 0
        12px;

    font-size: 1.25rem;
}


.dashboard-box p {
    color: var(--muted);

    line-height: 1.7;
}


.dashboard-bookmarks {
    display: flex;
    flex-direction: column;

    gap: 8px;
}


.dashboard-bookmarks a {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding:
        11px 0;

    border-bottom:
        1px solid var(--line);

    color: #dce7f5;

    text-decoration: none;
}


.dashboard-bookmarks a span {
    color: #6ea8ff;
}


@media (max-width: 850px) {

    .dashboard-management-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-account-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .dashboard-page {
        padding:
            75px 18px
            90px;
    }

    .dashboard-header {
        flex-direction: column;
    }

}

/* =========================================================
   GİRİŞ / KAYIT
   ========================================================= */

.auth-page {
    min-height: calc(100vh - 180px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 90px 20px 120px;
}


.auth-card {
    width: 100%;
    max-width: 480px;

    padding: 40px;

    border: 1px solid var(--line);
    border-radius: 22px;

    background:
        rgba(255,255,255,.025);
}


.auth-card h1 {
    margin: 12px 0 15px;

    font-size: 3rem;

    letter-spacing: -.04em;
}


.auth-intro {
    margin-bottom: 35px;

    color: var(--muted);

    line-height: 1.7;
}


.auth-form {
    display: flex;
    flex-direction: column;

    gap: 20px;
}


.auth-field label {
    display: block;

    margin-bottom: 8px;

    color: #9aabc0;

    font-size: .78rem;

    font-weight: 750;

    letter-spacing: .04em;
}


.auth-field input {
    width: 100%;

    box-sizing: border-box;

    padding: 13px 14px;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 11px;

    outline: none;

    background: #090e16;

    color: white;

    font: inherit;
}


.auth-field input:focus {
    border-color: rgba(105,167,255,.55);

    box-shadow:
        0 0 0 3px
        rgba(105,167,255,.07);
}


.auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 8px;

    padding: 14px 18px;

    border: 0;
    border-radius: 11px;

    cursor: pointer;

    background:
        linear-gradient(
            135deg,
            #397bf0,
            #6755db
        );

    color: white;

    font-size: .95rem;
    font-weight: 750;
}


.auth-submit span {
    transition: transform .2s ease;
}


.auth-submit:hover span {
    transform: translateX(4px);
}


.auth-footer {
    margin-top: 28px;

    padding-top: 22px;

    border-top: 1px solid var(--line);

    color: var(--muted);

    font-size: .9rem;
}


.auth-footer a {
    margin-left: 5px;

    color: #6ea8ff;

    font-weight: 700;

    text-decoration: none;
}


.auth-error {
    margin-bottom: 20px;

    padding: 12px 14px;

    border:
        1px solid rgba(255,100,100,.25);

    border-radius: 10px;

    background:
        rgba(255,100,100,.06);

    color: #ff9d9d;
}


.field-error {
    display: block;

    margin-top: 7px;

    color: #ff9797;

    font-size: .78rem;
}


@media (max-width: 550px) {

    .auth-card {
        padding: 28px 22px;
    }

}

/* =========================================================
   SÜPER ADMİN İSTATİSTİKLERİ
   ========================================================= */

.admin-analytics {
    margin-top: 65px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.stat-card {
    padding: 22px;

    border: 1px solid var(--line);
    border-radius: 17px;

    background: rgba(255,255,255,.025);
}

.stat-card span {
    display: block;

    margin-bottom: 18px;

    color: #6ea8ff;

    font-size: .7rem;
    font-weight: 850;

    letter-spacing: .08em;
}

.stat-card strong {
    display: block;

    margin-bottom: 8px;

    color: white;

    font-size: 2.5rem;

    letter-spacing: -.05em;
}

.stat-card p {
    margin: 0;

    color: var(--muted);

    font-size: .84rem;
}

.analytics-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin-top: 18px;
}

.analytics-card {
    padding: 25px;

    border: 1px solid var(--line);
    border-radius: 18px;

    background: rgba(255,255,255,.025);
}

.analytics-card h3 {
    margin: 0 0 22px;

    font-size: 1.1rem;
}

.analytics-list {
    display: flex;
    flex-direction: column;
}

.analytics-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 12px 0;

    border-bottom:
        1px solid rgba(255,255,255,.06);

    color: #cbd6e5;

    font-size: .85rem;
}

.analytics-row:last-child {
    border-bottom: 0;
}

.analytics-row > strong {
    color: #6ea8ff;
}

.analytics-row small {
    display: block;

    margin-top: 4px;

    color: #6f8096;
}

.status-live {
    color: #7fd7a5 !important;
}

.status-draft {
    color: #d2a76a !important;
}


@media (max-width: 900px) {

    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .analytics-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 550px) {

    .stats-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   SÜPER ADMİN İSTATİSTİKLERİ
   ========================================================= */

.admin-analytics {
    margin-top: 65px;
    margin-bottom: 70px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.stat-card {
    padding: 24px;

    border: 1px solid var(--line);
    border-radius: 18px;

    background: rgba(255,255,255,.025);

    transition:
        transform .2s ease,
        border-color .2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(105,167,255,.35);
}

.stat-card span {
    display: block;

    margin-bottom: 20px;

    color: #6ea8ff;

    font-size: .7rem;
    font-weight: 850;

    letter-spacing: .09em;
}

.stat-card strong {
    display: block;

    margin-bottom: 8px;

    color: #ffffff;

    font-size: 2.7rem;

    line-height: 1;

    letter-spacing: -.05em;
}

.stat-card p {
    margin: 0;

    color: var(--muted);

    font-size: .84rem;
}


/* =========================================================
   ANALİZ KARTLARI
   ========================================================= */

.analytics-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin-top: 18px;
}

.analytics-card {
    padding: 26px;

    border: 1px solid var(--line);
    border-radius: 18px;

    background: rgba(255,255,255,.025);
}

.analytics-card h3 {
    margin: 0 0 22px;

    color: white;

    font-size: 1.1rem;
}

.analytics-list {
    display: flex;
    flex-direction: column;
}

.analytics-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 12px 0;

    border-bottom:
        1px solid rgba(255,255,255,.06);

    color: #cbd6e5;

    font-size: .85rem;
}

.analytics-row:last-child {
    border-bottom: 0;
}

.analytics-row > span {
    overflow-wrap: anywhere;
}

.analytics-row > strong {
    flex-shrink: 0;

    color: #6ea8ff;
}

.analytics-row div > strong {
    color: #dce6f4;
}

.analytics-row small {
    display: block;

    margin-top: 5px;

    color: #718198;
}

.status-live {
    color: #72d69a !important;
}

.status-draft {
    color: #d8aa67 !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .analytics-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 550px) {

    .stats-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   404
   ========================================================= */

.error-page {
    min-height: 70vh;

    max-width: 900px;

    margin: 0 auto;

    padding:
        130px 28px
        140px;

    text-align: center;
}


.error-code {
    margin-bottom: 10px;

    font-size:
        clamp(
            7rem,
            20vw,
            14rem
        );

    line-height: .8;

    font-weight: 900;

    letter-spacing: -.08em;

    color:
        rgba(
            105,
            167,
            255,
            .08
        );
}


.error-page h1 {
    max-width: 780px;

    margin:
        20px auto
        20px;

    font-size:
        clamp(
            2.3rem,
            5vw,
            4.5rem
        );

    line-height: 1.05;

    letter-spacing: -.045em;
}


.error-page p {
    max-width: 620px;

    margin:
        0 auto
        35px;

    color: var(--muted);

    font-size: 1.05rem;

    line-height: 1.8;
}

/* =========================================================
   LOGIN / AUTH SAYFASI
   ========================================================= */

.auth-page {
    min-height: calc(100vh - 140px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px 24px 100px;
}


.auth-card {
    width: 100%;
    max-width: 540px;

    padding: 44px 40px;

    border: 1px solid var(--line);
    border-radius: 24px;

    background: rgba(13, 18, 28, 0.92);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.25);
}


.auth-header {
    margin-bottom: 34px;
}


.auth-header .eyebrow {
    display: block;

    margin-bottom: 18px;
}


.auth-header h1 {
    margin: 0 0 18px;

    font-size: clamp(2.4rem, 5vw, 3.5rem);

    line-height: 1.05;

    letter-spacing: -0.04em;
}


.auth-header p {
    margin: 0;

    color: var(--muted);

    font-size: 1rem;

    line-height: 1.7;
}


/* =========================================================
   FORM
   ========================================================= */

.auth-form {
    display: flex;
    flex-direction: column;

    gap: 22px;
}


.form-group {
    display: flex;
    flex-direction: column;

    gap: 9px;
}


.form-group label {
    display: block;

    font-size: 0.92rem;

    font-weight: 700;

    color: #e7edf8;
}


.auth-form input[type="text"],
.auth-form input[type="password"],
.auth-form input[type="email"] {
    display: block;

    width: 100%;

    box-sizing: border-box;

    padding: 14px 15px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 12px;

    outline: none;

    background: rgba(255, 255, 255, 0.045);

    color: #ffffff;

    font: inherit;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}


.auth-form input[type="text"]:focus,
.auth-form input[type="password"]:focus,
.auth-form input[type="email"]:focus {
    border-color: #568cff;

    background: rgba(255, 255, 255, 0.065);

    box-shadow:
        0 0 0 4px rgba(86, 140, 255, 0.12);
}


.auth-submit {
    width: 100%;

    margin-top: 4px;

    min-height: 50px;

    cursor: pointer;

    border: 0;
}


/* =========================================================
   HATALAR
   ========================================================= */

.form-error,
.field-errors {
    color: #ff8b8b;

    font-size: 0.88rem;

    line-height: 1.5;
}


.form-error {
    padding: 13px 15px;

    border: 1px solid rgba(255, 105, 105, 0.25);

    border-radius: 12px;

    background: rgba(255, 90, 90, 0.07);
}


.form-error p {
    margin: 0;
}


/* =========================================================
   ALT ALAN
   ========================================================= */

.auth-footer {
    margin-top: 34px;

    padding-top: 25px;

    border-top: 1px solid var(--line);
}


.auth-footer p {
    margin: 0 0 12px;

    color: var(--muted);

    font-size: 0.9rem;

    line-height: 1.6;
}


.auth-footer a {
    color: #6ba3ff;

    font-size: 0.92rem;

    font-weight: 700;

    text-decoration: none;
}


.auth-footer a:hover {
    text-decoration: underline;
}


/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width: 640px) {

    .auth-page {
        padding:
            45px 16px
            70px;
    }


    .auth-card {
        padding:
            32px 24px;

        border-radius: 20px;
    }


    .auth-header h1 {
        font-size: 2.35rem;
    }

}

/* =========================================================
   MOBİL HERO DÜZELTMESİ
   ========================================================= */

@media (max-width: 650px) {

    .hero {
        min-height: auto;
        padding-top: 55px;
        padding-bottom: 70px;
    }

    .hero-layout {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 35px;
        width: 100%;
    }

    .hero-content {
        width: 100%;
        min-width: 0;
        order: 1;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 13vw, 3.5rem);
        line-height: .95;
        letter-spacing: -.05em;
        white-space: normal;
        max-width: 100%;
    }

    .hero h2 {
        font-size: 1.25rem;
        line-height: 1.35;
    }

    .lead {
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-visual {
        width: 100%;
        order: 2;
        justify-content: center;
        margin-bottom: 0;
    }

    .profile-card,
    .profile-photo-frame {
        width: 100%;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .profile-photo {
        width: 100%;
        height: auto;
        display: block;
    }
}

/* =========================================================
   MOBİL / TABLET ÜST MENÜ DÜZELTMESİ
   Özgeçmiş - Çalışmalar - Makaleler
   Teknik Eğitimler - İletişim
   ========================================================= */

@media (max-width: 950px) {

    .topbar {
        flex-wrap: wrap;
        gap: 10px;

        padding-top: 10px;
        padding-bottom: 10px;
    }


    /* Marka solda */
    .topbar .brand {
        order: 1;
    }


    /* Paylaş - Dil - Panel/Giriş sağda */
    .topbar .top-actions {
        order: 2;

        margin-left: auto;

        gap: 8px;
    }


    /* Eski nav { display:none } kuralını eziyoruz */
    .topbar .main-nav {
        order: 3;

        display: grid !important;

        grid-template-columns:
            repeat(5, minmax(0, 1fr));

        width: 100%;

        flex:
            0 0
            100%;

        gap: 6px;

        padding-top: 9px;

        border-top:
            1px solid
            rgba(255, 255, 255, 0.07);
    }


    .topbar .main-nav a {
        display: flex;

        align-items: center;
        justify-content: center;

        min-height: 34px;

        padding:
            6px
            4px;

        border-radius: 8px;

        text-align: center;

        font-size: 0.76rem;

        line-height: 1.2;
    }


    .topbar .main-nav a:hover {
        background:
            rgba(255, 255, 255, 0.05);
    }

}


/* =========================================================
   TELEFON
   ========================================================= */

@media (max-width: 650px) {

    .topbar {
        padding-left: 14px;
        padding-right: 14px;
    }


    .topbar .brand {
        font-size: 0.94rem;
    }


    .topbar .top-actions {
        gap: 6px;
    }


    .topbar .top-actions .button.small {
        padding:
            7px
            10px;

        font-size: 0.78rem;
    }


    .topbar .language {
        font-size: 0.82rem;
    }


    /*
     Telefonda 3 + 2 şeklinde iki satır.
     Böylece hiçbir sekme kaybolmaz.
    */

    .topbar .main-nav {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 6px;
    }


    .topbar .main-nav a {
        min-height: 36px;

        padding:
            7px
            4px;

        font-size: 0.72rem;

        white-space: normal;
    }

}


/* =========================================================
   DAR TELEFONLAR
   ========================================================= */

@media (max-width: 410px) {

    /*
     Çok dar telefonlarda 2 sütun.
     Böylece Teknik Eğitimler gibi uzun isimler taşmaz.
    */

    .topbar .main-nav {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .topbar .main-nav a {
        font-size: 0.73rem;
    }

}