:root {
    --bg-dark: #07070c;
    --text-main: #fff8f0;
    --text-muted: rgba(255, 248, 240, 0.78);
    --accent-pink: #ff4d79;
    --accent-orange: #ff8c42;
    --accent-violet: #9d4edd;
    --glass-bg: rgba(16, 14, 26, 0.58);
    --glass-border: rgba(255, 255, 255, 0.14);
    --font-display: 'Bebas Neue', Impact, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    overscroll-behavior-y: none;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Üst Header & GTA VI Tarzı İnce İlerleme Çizgisi */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    background: linear-gradient(180deg, rgba(7, 7, 12, 0.85) 0%, rgba(7, 7, 12, 0) 100%);
    pointer-events: none;
}

.brand-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    letter-spacing: 0.14em;
    background: linear-gradient(90deg, #fff 0%, #ffb4a2 50%, #ff4d79 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scroll-progress-track {
    flex: 1;
    max-width: 360px;
    height: 3px;
    margin: 0 2rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 99px;
    overflow: hidden;
}

.scroll-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink), var(--accent-violet));
    box-shadow: 0 0 12px var(--accent-pink);
    transition: width 0.08s linear;
}

.section-counter {
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.85);
}

/* Sağ Kenar Nokta Göstergeleri */
.scene-dots {
    position: fixed;
    right: 2.2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    z-index: 95;
}

.scene-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.scene-dot.active {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
    transform: scale(1.45);
    box-shadow: 0 0 12px var(--accent-pink);
}

/* Sol Alt Dil Değiştirme Bayrağı Butonu */
.lang-toggle-btn {
    position: fixed;
    left: 2rem;
    bottom: 1.8rem;
    z-index: 95;
    width: 52px;
    height: 36px;
    padding: 3px;
    border-radius: 9px;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    background: rgba(16, 14, 26, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
    transition:
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.lang-toggle-btn:hover {
    transform: translateY(-3px) scale(1.06);
    border-color: var(--accent-pink);
    box-shadow: 0 10px 26px rgba(255, 77, 121, 0.35);
}

.flag-icon {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 6px;
}

.flag-icon.hidden {
    display: none;
}

/* Scroll Alanı: 7 Sahne x 100vh */
.scroll-container {
    height: 700vh;
    position: relative;
}

.sticky-viewport {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Arka Plan Katmanları */
.bg-layers {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bg-layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.bg-layer.active {
    opacity: 1;
}

.bg-image {
    position: absolute;
    inset: -6%;
    background-size: cover;
    background-position: center;
    filter: saturate(1.15) contrast(1.05);
    transform: scale(1.08);
    transition: transform 0.25s ease-out;
}

.bg-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(7, 7, 12, 0.15) 0%, rgba(7, 7, 12, 0.55) 85%),
        linear-gradient(90deg, rgba(7, 7, 12, 0.65) 0%, rgba(7, 7, 12, 0.32) 55%, rgba(7, 7, 12, 0.12) 100%);
}

/* Sağ Taraf Kişisel Fotoğraf Vitrini (GTA VI Karakter / Görsel Geçiş Stili) */
.portrait-showcase {
    position: absolute;
    right: 7%;
    top: 50%;
    transform: translateY(-50%) scale(1);
    width: min(34vw, 430px);
    aspect-ratio: 3 / 4;
    z-index: 5;
    pointer-events: none;
    opacity: 1;
    filter: blur(0);
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.portrait-showcase.hidden {
    opacity: 0;
    transform: translateY(-42%) scale(0.92);
    filter: blur(12px);
}

.portrait-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(145deg, rgba(255, 77, 121, 0.14), rgba(157, 78, 221, 0.18));
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.65),
        0 0 50px rgba(255, 77, 121, 0.18);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portrait-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: opacity 0.55s ease, transform 0.65s ease;
}

.portrait-card.placeholder-mode img {
    display: none;
}

.portrait-fallback {
    display: none;
    position: absolute;
    inset: 0;
    padding: 2rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 77, 121, 0.28), transparent 65%),
        linear-gradient(160deg, #161324 0%, #0b0914 100%);
}

.portrait-card.placeholder-mode .portrait-fallback {
    display: flex;
}

.fallback-badge {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portrait-fallback p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.portrait-fallback code {
    color: #ffb4a2;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
}

/* Sahne İçerikleri */
.scenes-stage {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.scene {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 7%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(48px) scale(0.96);
    filter: blur(10px);
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.scene.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.scene.exit-up {
    opacity: 0;
    transform: translateY(-48px) scale(1.03);
    filter: blur(8px);
}

.scene-content {
    max-width: 720px;
}

.eyebrow-tag {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 0.9rem;
    padding: 0.35rem 0.85rem;
    border-radius: 99px;
    background: rgba(255, 140, 66, 0.12);
    border: 1px solid rgba(255, 140, 66, 0.3);
}

.hero-title,
.scene-title {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 6.2vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #ffe5d9 45%, #ff4d79 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 12px 35px rgba(255, 77, 121, 0.18);
}

.lead-text,
.scene-description {
    font-size: clamp(1.05rem, 1.35vw, 1.28rem);
    line-height: 1.72;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
    font-weight: 500;
}

/* 6 Hızlı Erişim Butonu Grid */
.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 0.95rem;
}

.quick-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    padding: 1rem 1.25rem;
    text-align: left;
    color: var(--text-main);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.28s ease,
        background 0.28s ease,
        box-shadow 0.28s ease;
}

.quick-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 77, 121, 0.22), rgba(255, 140, 66, 0.15));
    opacity: 0;
    transition: opacity 0.28s ease;
}

.quick-btn:hover {
    transform: translateY(-3px) scale(1.015);
    border-color: rgba(255, 77, 121, 0.65);
    box-shadow: 0 12px 28px rgba(255, 77, 121, 0.22);
}

.quick-btn:hover::before {
    opacity: 1;
}

.btn-index {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.08em;
    color: var(--accent-pink);
    min-width: 26px;
}

.btn-label {
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

/* Eğitim Bilgilerim Dikdörtgen Kart Tasarımı */
.education-card {
    width: 100%;
    max-width: 520px;
    background: rgba(16, 14, 26, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(255, 140, 66, 0.12);
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.education-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 140, 66, 0.5);
}

.education-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.education-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.education-card:hover .education-image-wrapper img {
    transform: scale(1.04);
}

.education-info {
    padding: 1.35rem 1.5rem;
    text-align: center;
}

.education-school {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.45rem;
    line-height: 1.4;
}

.education-date {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--accent-orange);
    letter-spacing: 0.04em;
}

/* Katıldığım Eğitim ve Sertifikalarım - Ok İşaretli Zincir Tasarımı */
.scene-content-wide {
    max-width: 100%;
    width: 100%;
}

.cert-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.cert-section-title {
    font-size: clamp(2.1rem, 3.8vw, 3.6rem);
    margin-bottom: 0;
}

.section-hint-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.9rem;
}

.scene-bottom-action {
    margin-top: 1.5rem;
}

.back-to-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.35rem;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(16, 14, 26, 0.78);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition:
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.back-to-top-btn:hover {
    transform: translateY(-3px);
    border-color: var(--accent-pink);
    background: linear-gradient(90deg, rgba(255, 77, 121, 0.28), rgba(255, 140, 66, 0.2));
    box-shadow: 0 10px 24px rgba(255, 77, 121, 0.28);
}

.back-to-top-btn.fixed-bottom-btn {
    position: absolute;
    bottom: 4.8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
}

.back-to-top-btn.fixed-bottom-btn:hover {
    transform: translateX(-50%) translateY(-3px);
}

.back-to-top-btn.fixed-bottom-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(10px);
}

.section-hint-note {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff8f0;
    background: linear-gradient(90deg, rgba(255, 77, 121, 0.24), rgba(255, 140, 66, 0.16));
    border: 1px solid rgba(255, 77, 121, 0.5);
    border-radius: 99px;
    box-shadow: 0 4px 18px rgba(255, 77, 121, 0.18);
}

/* Projelerim Bölümü Satır ve Buton Tasarımı */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 960px;
}

.project-row-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(16, 14, 26, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.55);
}

.project-row-name {
    font-family: var(--font-display);
    font-size: 2.3rem;
    letter-spacing: 0.06em;
    color: var(--text-main);
}

.project-row-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.project-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.8rem 1.35rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.25s ease,
        filter 0.25s ease,
        box-shadow 0.25s ease;
}

.btn-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 5px;
    flex-shrink: 0;
}

.project-action-btn.btn-website {
    background-color: #1A2537;
    border-color: rgba(88, 166, 255, 0.35);
}

.project-action-btn.btn-website:hover {
    transform: translateY(-3px);
    filter: brightness(1.15);
    box-shadow: 0 10px 24px rgba(26, 37, 55, 0.75);
}

.project-action-btn.btn-github {
    background-color: #1B1F22;
    border-color: rgba(255, 255, 255, 0.24);
}

.project-action-btn.btn-github:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.8);
}

.project-action-btn.btn-linkedin {
    background-color: #007EBB;
    border-color: rgba(255, 255, 255, 0.25);
}

.project-action-btn.btn-linkedin:hover {
    transform: translateY(-3px);
    filter: brightness(1.12);
    box-shadow: 0 10px 24px rgba(0, 119, 181, 0.55);
}

.project-action-btn.btn-whatsapp {
    background-color: #2ED950;
    border-color: rgba(255, 255, 255, 0.25);
}

.project-action-btn.btn-whatsapp:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
    box-shadow: 0 10px 24px rgba(46, 217, 80, 0.45);
}

/* Bana Ulaş Bölümü Tasarımı */
.contact-card {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    padding: 2rem 2.25rem;
    background: rgba(16, 14, 26, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    max-width: 620px;
}

.contact-social-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
}

.contact-item-text {
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.02em;
}

/* GitHub Kullanıcı Profili (Popup İçi) */
.gh-profile-container {
    max-width: 1216px;
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
}

.gh-profile-avatar {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 1px solid #30363d;
    margin-bottom: 16px;
}

.gh-profile-fullname {
    font-size: 24px;
    font-weight: 600;
    color: #e6edf3;
    line-height: 1.25;
}

.gh-profile-username {
    font-size: 20px;
    font-weight: 300;
    color: #8b949e;
    margin-bottom: 16px;
}

.gh-profile-bio {
    font-size: 14px;
    line-height: 1.5;
    color: #e6edf3;
    white-space: pre-line;
    margin-bottom: 16px;
}

.gh-profile-follow-stats {
    font-size: 14px;
    color: #8b949e;
    margin-bottom: 16px;
}

.gh-profile-follow-stats strong {
    color: #e6edf3;
}

.gh-repos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.gh-repo-card {
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 16px;
    background: #0d1117;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.gh-repo-card:hover {
    background: #161b22;
    border-color: #58a6ff;
}

.gh-repo-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.gh-repo-card-name {
    color: #58a6ff;
    font-weight: 600;
    font-size: 14px;
}

.gh-repo-card-desc {
    color: #8b949e;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 920px) {
    .gh-profile-container {
        grid-template-columns: 1fr;
    }
    .gh-profile-avatar {
        max-width: 120px;
    }
}

.cert-nav-controls {
    display: flex;
    gap: 0.65rem;
}

.cert-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(16, 14, 26, 0.75);
    color: var(--text-main);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    transition: all 0.25s ease;
}

.cert-nav-btn:hover {
    border-color: var(--accent-pink);
    background: rgba(255, 77, 121, 0.22);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 77, 121, 0.25);
}

.certificates-chain {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.75rem 0.25rem 1.4rem;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-pink) rgba(255, 255, 255, 0.08);
}

.certificates-chain::-webkit-scrollbar {
    height: 6px;
}

.certificates-chain::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
}

.certificates-chain::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink));
    border-radius: 99px;
}

.cert-card {
    flex: 0 0 300px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    font-family: inherit;
    text-align: center;
    cursor: pointer;
}

.cert-card.static-card {
    cursor: default;
}

.cert-card .education-image-wrapper {
    height: 195px;
    background: rgba(8, 7, 14, 0.85);
}

.cert-card .education-image-wrapper img {
    object-fit: contain;
    padding: 0.35rem;
}

.cert-card:first-child .education-image-wrapper img {
    object-fit: cover;
    padding: 0;
}

.cert-card .education-info {
    padding: 1.1rem 1.15rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cert-card .education-school {
    font-size: 1rem;
    line-height: 1.35;
}

.chain-arrow {
    flex: 0 0 auto;
    width: 44px;
    height: 24px;
    color: var(--accent-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 8px rgba(255, 77, 121, 0.55));
    animation: arrowPulse 2s infinite ease-in-out;
}

.chain-arrow svg {
    width: 100%;
    height: 100%;
}

@keyframes arrowPulse {
    0%, 100% {
        transform: translateX(-3px);
        opacity: 0.7;
    }
    50% {
        transform: translateX(3px);
        opacity: 1;
    }
}

.chain-continuation {
    flex: 0 0 auto;
    padding: 1.1rem 1.6rem;
    border-radius: 16px;
    border: 1px dashed rgba(255, 140, 66, 0.55);
    background: rgba(255, 140, 66, 0.1);
    color: var(--text-main);
    font-family: var(--font-display);
    font-size: 1.55rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
    box-shadow: 0 0 28px rgba(255, 140, 66, 0.15);
}

/* Site İçi Sertifika & Görsel Popup Modal */
.cert-popup-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cert-popup-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.cert-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 10, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.cert-popup-dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 1100px);
    max-height: 90vh;
    background: rgba(16, 14, 26, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.85),
        0 0 50px rgba(255, 77, 121, 0.2);
    transform: scale(0.94) translateY(16px);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.cert-popup-modal.open .cert-popup-dialog {
    transform: scale(1) translateY(0);
}

.cert-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.85rem;
}

.cert-popup-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.cert-popup-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cert-popup-ext-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink));
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cert-popup-ext-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 77, 121, 0.4);
}

.cert-popup-ext-link.hidden {
    display: none;
}

.cert-popup-close {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cert-popup-close:hover {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
}

.cert-popup-body {
    width: 100%;
    height: calc(85vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cert-popup-body img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.cert-popup-body img.hidden {
    display: none;
}

/* Popup İçi Birebir LinkedIn Gönderi Tasarımı (Iframe Engeline Takılmaz) */
.li-post-viewer {
    width: min(100%, 600px);
    max-height: 100%;
    overflow-y: auto;
    background: #1b1f23;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, sans-serif;
    text-align: left;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

.li-post-viewer.hidden {
    display: none;
}

.li-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #111417;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.li-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}

.li-brand svg {
    fill: #0a66c2;
    background: #fff;
    border-radius: 4px;
}

.li-ext-btn {
    color: #70b5f9;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 5px 12px;
    border: 1px solid #70b5f9;
    border-radius: 99px;
    transition: background 0.15s ease;
}

.li-ext-btn:hover {
    background: rgba(112, 181, 249, 0.15);
}

.li-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 12px;
}

.li-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.li-author-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.li-author-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.li-author-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.li-post-text {
    padding: 0 16px 14px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
    white-space: pre-line;
}

.li-hashtag {
    color: #70b5f9;
    font-weight: 600;
}

/* Yeniden Paylaşılan (Reshared) Gönderi Kutusu */
.li-reshare-box {
    margin: 0 16px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    overflow: hidden;
    background: #24292e;
}

.li-reshare-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
}

.li-reshare-logo {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

.li-reshare-text {
    padding: 0 12px 12px;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
    white-space: pre-line;
}

.li-reshare-img {
    width: 100%;
    max-height: 440px;
    object-fit: contain;
    background: #0d1117;
    display: block;
}

.li-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    background: #0d1117;
    margin-bottom: 8px;
}

.li-images-grid img {
    width: 100%;
    height: 185px;
    object-fit: cover;
    display: block;
}

.li-stats-row {
    margin: 0 16px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
}

.li-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 6px 8px;
}

.li-action-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13.5px;
    font-weight: 600;
}

/* Popup İçi Birebir GitHub Dark Tasarımı */
.cert-popup-dialog.gh-mode {
    width: min(96vw, 1280px);
    height: 92vh;
    max-height: 92vh;
    padding: 0;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 12px;
    overflow: hidden;
    gap: 0;
}

.cert-popup-dialog.gh-mode .cert-popup-header {
    display: none;
}

.cert-popup-dialog.gh-mode .cert-popup-body {
    height: 100%;
}

.gh-repo-viewer {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: #0d1117;
    color: #e6edf3;
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
    font-size: 14px;
}

.gh-repo-viewer.hidden {
    display: none;
}

/* GitHub Üst Siyah Header (#010409) */
.gh-global-header {
    background: #010409;
    border-bottom: 1px solid #30363d;
    padding: 16px 24px 0;
}

.gh-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.gh-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gh-octocat {
    color: #e6edf3;
    display: flex;
    align-items: center;
    margin-right: 4px;
}

.gh-owner {
    color: #58a6ff;
    font-size: 18px;
    font-weight: 400;
}

.gh-slash {
    color: #8b949e;
    font-size: 18px;
}

.gh-repo-title {
    color: #58a6ff;
    font-size: 18px;
    font-weight: 600;
}

.gh-public-label {
    font-size: 12px;
    font-weight: 500;
    color: #8b949e;
    border: 1px solid #30363d;
    border-radius: 2em;
    padding: 0 7px;
    line-height: 18px;
}

.gh-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gh-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #21262d;
    border: 1px solid #30363d;
    color: #c9d1d9;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 12px;
    border-radius: 6px;
    line-height: 20px;
}

.gh-action-count {
    background: rgba(110, 118, 129, 0.4);
    padding: 0 6px;
    border-radius: 2em;
    font-size: 11px;
}

.gh-close-btn {
    margin-left: 8px;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #30363d;
    background: #21262d;
    color: #e6edf3;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.gh-close-btn:hover {
    background: #da3633;
    border-color: #f85149;
    color: #fff;
}

/* GitHub Sekmeler (Code, Issues, Pull requests...) */
.gh-nav-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
}

.gh-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: #e6edf3;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    opacity: 0.85;
}

.gh-tab svg {
    fill: #8b949e;
}

.gh-tab.active {
    font-weight: 600;
    border-bottom-color: #f78166;
    opacity: 1;
}

.gh-tab.active svg {
    fill: #e6edf3;
}

/* Ana 2 Sütunlu GitHub Gövdesi */
.gh-main-container {
    max-width: 1216px;
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 296px;
    gap: 24px;
}

/* Dal Seçimi ve Yeşil "<> Code" Butonu Satırı */
.gh-file-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.gh-branch-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gh-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #21262d;
    border: 1px solid #30363d;
    color: #e6edf3;
    padding: 5px 12px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    line-height: 20px;
    cursor: default;
}

.gh-btn-green {
    background: #238636;
    border-color: rgba(240, 246, 252, 0.1);
    color: #ffffff;
    font-weight: 600;
}

.gh-branch-stats {
    color: #8b949e;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gh-branch-stats strong {
    color: #e6edf3;
}

/* Dosya Tablosu ve Son Commit Başlığı */
.gh-files-box {
    border: 1px solid #30363d;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #0d1117;
}

.gh-commit-bar {
    padding: 12px 16px;
    background: #161b22;
    border-bottom: 1px solid #30363d;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}

.gh-commit-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.gh-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.gh-commit-author {
    font-weight: 600;
    color: #e6edf3;
}

.gh-commit-msg {
    color: #8b949e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gh-commit-right {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8b949e;
    font-size: 12px;
    flex-shrink: 0;
}

.gh-file-list {
    background: #0d1117;
}

.gh-file-row {
    display: grid;
    grid-template-columns: minmax(180px, 2fr) minmax(140px, 3fr) 100px;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border-bottom: 1px solid #21262d;
    font-size: 14px;
    color: #e6edf3;
    cursor: pointer;
    transition: background 0.12s ease;
}

.gh-file-row:last-child {
    border-bottom: none;
}

.gh-file-row:hover {
    background: #161b22;
}

.gh-file-row:hover .gh-file-name-text {
    color: #58a6ff;
    text-decoration: underline;
}

.gh-file-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.gh-icon-dir {
    fill: #54aeff;
    flex-shrink: 0;
}

.gh-icon-file {
    fill: #8b949e;
    flex-shrink: 0;
}

.gh-file-name-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gh-file-commit {
    color: #8b949e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gh-file-time {
    color: #8b949e;
    text-align: right;
    font-size: 13px;
}

/* README.md Kutusu */
.gh-readme-box {
    border: 1px solid #30363d;
    border-radius: 6px;
    overflow: hidden;
    background: #0d1117;
}

.gh-readme-header {
    padding: 10px 16px;
    background: #0d1117;
    border-bottom: 1px solid #30363d;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gh-readme-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid #f78166;
    padding-bottom: 8px;
    margin-bottom: -11px;
}

.gh-readme-content {
    padding: 32px;
    line-height: 1.6;
    font-size: 16px;
    color: #e6edf3;
    overflow-x: auto;
}

.gh-readme-content h1,
.gh-readme-content h2,
.gh-readme-content h3 {
    border-bottom: 1px solid #21262d;
    padding-bottom: 0.3em;
    margin: 24px 0 16px;
    color: #e6edf3;
    font-weight: 600;
}

.gh-readme-content h1:first-child {
    margin-top: 0;
}

.gh-readme-content p,
.gh-readme-content ul,
.gh-readme-content ol {
    margin-bottom: 16px;
}

.gh-readme-content ul,
.gh-readme-content ol {
    padding-left: 2em;
}

.gh-readme-content a {
    color: #58a6ff;
    text-decoration: none;
}

.gh-readme-content pre,
.gh-code-pre {
    background: #161b22;
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
    font-size: 13.5px;
    line-height: 1.45;
    color: #e6edf3;
    margin-bottom: 16px;
    white-space: pre-wrap;
    word-break: break-word;
}

.gh-readme-content code {
    background: rgba(110, 118, 129, 0.4);
    padding: 0.2em 0.4em;
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, monospace;
    font-size: 85%;
}

.gh-readme-content pre code {
    background: none;
    padding: 0;
}

.gh-back-btn {
    background: #21262d;
    border: 1px solid #30363d;
    color: #58a6ff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.gh-back-btn.hidden {
    display: none;
}

.gh-back-btn:hover {
    background: #30363d;
}

/* Sağ Sidebar (About, Releases, Languages) */
.gh-sidebar-section {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #21262d;
}

.gh-sidebar-section:last-child {
    border-bottom: none;
}

.gh-sidebar-title {
    font-size: 16px;
    font-weight: 600;
    color: #e6edf3;
    margin-bottom: 16px;
}

.gh-sidebar-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #e6edf3;
    margin-bottom: 16px;
}

.gh-sidebar-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b949e;
    font-size: 14px;
    margin-bottom: 8px;
}

.gh-sidebar-stat svg {
    fill: #8b949e;
}

.gh-sidebar-muted {
    color: #8b949e;
    font-size: 12px;
}

.gh-lang-bar {
    display: flex;
    height: 8px;
    border-radius: 6px;
    overflow: hidden;
    gap: 2px;
    margin-bottom: 12px;
    background: #21262d;
}

.gh-lang-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
}

.gh-lang-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e6edf3;
    font-weight: 600;
}

.gh-lang-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.gh-lang-pct {
    color: #8b949e;
    font-weight: 400;
}

@media (max-width: 920px) {
    .gh-main-container {
        grid-template-columns: 1fr;
    }
    .gh-file-row {
        grid-template-columns: 1fr auto;
    }
    .gh-file-commit {
        display: none;
    }
}

/* Alt Scroll İndikatörü */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    z-index: 25;
    opacity: 0.85;
    transition: opacity 0.4s ease;
}

.scroll-text {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    color: rgba(255, 255, 255, 0.72);
}

.chevron-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chevron-stack span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent-pink);
    border-bottom: 2px solid var(--accent-pink);
    transform: rotate(45deg);
    margin: -2px 0;
    animation: pulseChevron 1.8s infinite;
}

.chevron-stack span:nth-child(2) {
    animation-delay: 0.25s;
}

@keyframes pulseChevron {
    0%, 100% {
        opacity: 0.25;
        transform: rotate(45deg) translate(-2px, -2px);
    }
    50% {
        opacity: 1;
        transform: rotate(45deg) translate(2px, 2px);
    }
}

/* Mobil ve Tablet Uyumluluğu */
@media (max-width: 1080px) {
    .portrait-showcase {
        right: 4%;
        width: min(32vw, 340px);
    }

    .scene-content {
        max-width: 58%;
    }

    .scene-content.scene-content-wide {
        max-width: 100%;
    }
}

@media (max-width: 860px) {
    /* Üst Header */
    .site-header {
        padding: 0.85rem 1.15rem;
        background: linear-gradient(180deg, rgba(7, 7, 12, 0.92) 0%, rgba(7, 7, 12, 0.45) 70%, rgba(7, 7, 12, 0) 100%);
    }

    .brand-logo {
        font-size: 1.35rem;
        letter-spacing: 0.1em;
    }

    .scroll-progress-track {
        max-width: 120px;
        margin: 0 0 0 1rem;
        height: 3px;
    }

    /* Sağ Nokta Navigasyonu */
    .scene-dots {
        right: 0.55rem;
        gap: 0.55rem;
    }

    .scene-dot {
        width: 8px;
        height: 8px;
    }

    /* Arka Plan Görsellerini Mobilde Dikey Sinematik Odakla */
    .bg-image {
        background-position: center 22%;
    }

    .bg-vignette {
        background:
            linear-gradient(180deg, rgba(7, 7, 12, 0.35) 0%, rgba(7, 7, 12, 0.72) 48%, rgba(7, 7, 12, 0.94) 100%);
    }

    /* Portre Kartı: Mobilde Yarım Kesik Hayalet Görünümü Kaldır, Net Üst Vitrin Yap */
    .portrait-showcase {
        left: 50%;
        right: auto;
        top: 3.8rem;
        transform: translateX(-50%) scale(1);
        width: 142px;
        aspect-ratio: 3 / 4;
        opacity: 1;
        z-index: 12;
    }

    .portrait-showcase.hidden {
        opacity: 0;
        transform: translateX(-50%) translateY(-16px) scale(0.9);
    }

    /* 0. Sahne (Hoş Geldiniz): Arka planda fotoğraf zaten tam ekran olduğu için ek kartı gizle */
    .portrait-showcase[data-scene="0"] {
        opacity: 0;
        pointer-events: none;
        transform: translateX(-50%) scale(0.85);
    }

    /* 1. Sahne (Ben Kimim): Üstte net portre kartı */
    .portrait-showcase[data-scene="1"] {
        top: 3.7rem;
        width: 130px;
    }

    /* 6. Sahne (Bana Ulaş): Üstte kompakt portre kartı */
    .portrait-showcase[data-scene="6"] {
        top: 3.5rem;
        width: 102px;
    }

    .portrait-card {
        border-radius: 16px;
        box-shadow:
            0 16px 40px rgba(0, 0, 0, 0.75),
            0 0 28px rgba(255, 77, 121, 0.28);
    }

    /* Sahneler Genel Yerleşim */
    .scene {
        padding: 3.6rem 1.65rem 4.4rem 1.15rem;
        align-items: center;
    }

    .scene-content {
        max-width: 100%;
        width: 100%;
    }

    /* 1. Sahne (Hoş Geldiniz) Mobil Düzen */
    .eyebrow-tag {
        font-size: 0.7rem;
        letter-spacing: 0.18em;
        padding: 0.25rem 0.65rem;
        margin-bottom: 0.5rem;
    }

    .hero-title {
        font-size: clamp(2.35rem, 9.5vw, 3.2rem);
        margin-bottom: 0.6rem;
    }

    .scene-title {
        font-size: clamp(1.95rem, 7.8vw, 2.65rem);
        margin-bottom: 0.75rem;
    }

    .lead-text {
        font-size: 0.88rem;
        line-height: 1.52;
        margin-bottom: 1rem;
        color: rgba(255, 248, 240, 0.9);
    }

    /* 6 Hızlı Erişim Butonu: Mobilde 2 Sütunlu Kompakt Grid */
    .quick-access-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .quick-btn {
        padding: 0.7rem 0.75rem;
        gap: 0.55rem;
        border-radius: 12px;
        font-size: 0.8rem;
        background: rgba(16, 14, 26, 0.76);
    }

    .btn-index {
        font-size: 1.05rem;
        min-width: 20px;
    }

    .btn-label {
        font-size: 0.78rem;
        line-height: 1.22;
    }

    /* 2. Sahne (Ben Kimim): Üstteki Portre Kartının Altına Hizala */
    #ben-kimim {
        padding-top: 15.2rem;
        text-align: center;
    }

    #ben-kimim .scene-description {
        font-size: 0.9rem;
        line-height: 1.56;
        margin-bottom: 0;
        background: rgba(16, 14, 26, 0.65);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 16px;
        padding: 1rem 1.1rem;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    /* 3. Sahne (Eğitim Bilgilerim) */
    #egitim-bilgilerim .scene-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .education-card {
        max-width: 100%;
        border-radius: 16px;
    }

    .education-image-wrapper {
        height: 175px;
    }

    .education-info {
        padding: 1rem 1.1rem;
    }

    .education-school {
        font-size: 1rem;
    }

    .education-date {
        font-size: 0.88rem;
    }

    /* 4. & 5. Sahne (Sertifikalarım ve Faaliyet Geçmişim) */
    .cert-header-row {
        align-items: center;
        gap: 0.65rem;
        margin-bottom: 0.6rem;
    }

    .cert-section-title {
        font-size: clamp(1.45rem, 6vw, 1.95rem);
        line-height: 1.05;
    }

    .cert-nav-controls {
        gap: 0.4rem;
        flex-shrink: 0;
    }

    .cert-nav-btn {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 1.05rem;
    }

    .certificates-chain {
        gap: 0.55rem;
        padding: 0.35rem 0.15rem 0.9rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .cert-card {
        flex: 0 0 236px;
        max-width: 236px;
        scroll-snap-align: center;
    }

    .cert-card .education-image-wrapper {
        height: 140px;
    }

    .cert-card .education-info {
        padding: 0.8rem 0.85rem;
        min-height: 92px;
    }

    .cert-card .education-school {
        font-size: 0.86rem;
        line-height: 1.28;
    }

    .cert-card .education-date {
        font-size: 0.8rem;
    }

    .chain-arrow {
        width: 26px;
        height: 18px;
    }

    .chain-continuation {
        padding: 0.8rem 1.1rem;
        font-size: 1.2rem;
    }

    .section-hint-footer {
        margin-top: 0.45rem;
    }

    .section-hint-note {
        padding: 0.4rem 0.85rem;
        font-size: 0.75rem;
        text-align: center;
        line-height: 1.3;
        border-radius: 14px;
    }

    /* 6. Sahne (Projelerim) */
    .project-row-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 1rem;
        padding: 1.2rem 1.15rem;
        border-radius: 16px;
    }

    .project-row-name {
        font-size: 1.85rem;
    }

    .project-row-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
        width: 100%;
    }

    .project-action-btn {
        width: 100%;
        padding: 0.72rem 1rem;
        font-size: 0.88rem;
    }

    /* 7. Sahne (Bana Ulaş) */
    #bana-ulas {
        padding-top: 12.6rem;
    }

    #bana-ulas .scene-title {
        text-align: center;
        font-size: 1.9rem;
        margin-bottom: 0.55rem;
    }

    .contact-card {
        padding: 1.1rem 1.15rem;
        gap: 1rem;
        border-radius: 16px;
    }

    .contact-social-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .contact-info-list {
        gap: 0.75rem;
        padding-top: 0.85rem;
    }

    .contact-info-item {
        gap: 0.7rem;
    }

    .contact-item-icon {
        width: 26px;
        height: 26px;
    }

    .contact-item-text {
        font-size: 0.88rem;
        word-break: break-all;
    }

    /* Alt Kontroller: Üst Üste Binmeyi Önle */
    .scroll-indicator {
        bottom: 0.9rem;
        gap: 0.25rem;
    }

    .scroll-text {
        font-size: 0.62rem;
        letter-spacing: 0.18em;
    }

    /* Mobilde 1-6. sahnelerde "Yukarı Çık" butonu aktifken kaydırma yazısını gizle ki çakışmasın */
    body:not([data-active-scene="0"]) .scroll-indicator {
        opacity: 0 !important;
        pointer-events: none;
    }

    .back-to-top-btn.fixed-bottom-btn {
        bottom: 1rem;
        padding: 0.5rem 1.15rem;
        font-size: 0.82rem;
    }

    .lang-toggle-btn {
        left: 1rem;
        bottom: 0.95rem;
        width: 44px;
        height: 31px;
        padding: 2.5px;
    }

    /* Popup Modallar Mobil Uyumluluk */
    .cert-popup-dialog {
        width: 95vw;
        max-height: 90dvh;
        padding: 0.9rem 0.95rem 1rem;
        border-radius: 16px;
        gap: 0.65rem;
    }

    .cert-popup-header {
        padding-bottom: 0.65rem;
        gap: 0.6rem;
    }

    .cert-popup-title {
        font-size: 0.9rem;
        line-height: 1.28;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .cert-popup-close {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
    }

    .cert-popup-body {
        height: calc(85dvh - 70px);
    }

    /* LinkedIn Popup Mobil */
    .li-top-bar {
        padding: 10px 12px;
    }

    .li-brand {
        font-size: 13px;
    }

    .li-ext-btn {
        font-size: 11.5px;
        padding: 4px 10px;
    }

    .li-author-row {
        padding: 12px 12px 10px;
        gap: 10px;
    }

    .li-avatar {
        width: 40px;
        height: 40px;
    }

    .li-author-name {
        font-size: 14px;
    }

    .li-author-sub {
        font-size: 11px;
    }

    .li-post-text {
        padding: 0 12px 12px;
        font-size: 13px;
    }

    .li-images-grid img {
        height: 125px;
    }

    .li-actions-row {
        padding: 4px 4px;
    }

    .li-action-item {
        padding: 8px 6px;
        font-size: 11.5px;
        gap: 4px;
    }

    /* GitHub Popup Mobil */
    .cert-popup-dialog.gh-mode {
        width: 96vw;
        height: 91dvh;
        max-height: 91dvh;
    }

    .gh-global-header {
        padding: 12px 12px 0;
    }

    .gh-header-top {
        gap: 8px;
        margin-bottom: 10px;
    }

    .gh-owner,
    .gh-slash,
    .gh-repo-title {
        font-size: 14px;
    }

    .gh-action-btn {
        display: none;
    }

    .gh-header-actions a.gh-action-btn {
        display: inline-flex;
        font-size: 11px;
        padding: 2px 8px;
    }

    .gh-main-container {
        padding: 12px;
        gap: 16px;
    }

    .gh-file-controls {
        gap: 8px;
        margin-bottom: 10px;
    }

    .gh-branch-left:last-child .gh-btn:not(.gh-btn-green) {
        display: none;
    }

    .gh-commit-bar {
        padding: 8px 10px;
        font-size: 12px;
    }

    .gh-readme-content {
        padding: 14px;
        font-size: 14px;
    }
}

/* Çok Kısa / Küçük Mobil Ekranlar (iPhone SE vb. yükseklik <= 700px) */
@media (max-width: 860px) and (max-height: 700px) {
    .portrait-showcase[data-scene="1"] {
        top: 3.3rem;
        width: 112px;
    }

    #ben-kimim {
        padding-top: 10.5rem;
    }

    #ben-kimim .scene-description {
        font-size: 0.82rem;
        line-height: 1.45;
        padding: 0.75rem 0.9rem;
    }

    .portrait-showcase[data-scene="6"] {
        top: 3.2rem;
        width: 90px;
    }

    #bana-ulas {
        padding-top: 8.2rem;
    }

    .cert-card .education-image-wrapper {
        height: 115px;
    }

    .cert-card .education-info {
        min-height: 78px;
        padding: 0.65rem 0.75rem;
    }

    .quick-btn {
        padding: 0.55rem 0.65rem;
    }
}
