:root {
    --bg-primary: #07080c;
    --bg-secondary: #0f111a;
    --bg-card: rgba(20, 23, 34, 0.72);
    --bg-card-hover: rgba(28, 32, 48, 0.9);
    --gold-primary: #f5b942;
    --gold-light: #ffe08a;
    --gold-dark: #c68b18;
    --gold-glow: rgba(245, 185, 66, 0.25);
    --text-primary: #f8f9fc;
    --text-secondary: #a6adc8;
    --text-muted: #6c738f;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(245, 185, 66, 0.38);
    --radius-lg: 22px;
    --radius-md: 14px;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

/* Arka Plan Işık ve Grid Efektleri */
.bg-glow {
    position: fixed;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: -2;
    opacity: 0.35;
}

.glow-1 {
    top: -180px;
    right: -120px;
    background: radial-gradient(circle, rgba(245, 185, 66, 0.35), transparent 70%);
}

.glow-2 {
    bottom: 10%;
    left: -200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.22), transparent 70%);
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Üst Navigasyon */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 8, 12, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #090a0f;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px var(--gold-glow);
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--gold-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-edit-mode {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 185, 66, 0.12);
    color: var(--gold-light);
    border: 1px solid var(--border-gold);
    padding: 9px 16px;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-edit-mode:hover,
.btn-edit-mode.active {
    background: var(--gold-primary);
    color: #090a0f;
    box-shadow: 0 0 22px var(--gold-glow);
}

.btn-reset {
    background: rgba(239, 68, 68, 0.14);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.35);
    padding: 9px 14px;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.84rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-reset:hover {
    background: rgba(239, 68, 68, 0.28);
}

.edit-banner {
    background: linear-gradient(90deg, rgba(245, 185, 66, 0.18), rgba(245, 185, 66, 0.06));
    border-bottom: 1px solid var(--border-gold);
    color: var(--gold-light);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.hidden {
    display: none !important;
}

/* Düzenlenebilir Metin Vurgusu */
body.editing-active .editable {
    outline: 1px dashed rgba(245, 185, 66, 0.55);
    outline-offset: 4px;
    border-radius: 6px;
    cursor: text;
    transition: outline 0.2s ease, background 0.2s ease;
}

body.editing-active .editable:focus {
    outline: 2px solid var(--gold-primary);
    background: rgba(245, 185, 66, 0.08);
}

/* HERO BÖLÜMÜ */
.hero-section {
    padding: 84px 0 64px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    background: rgba(245, 185, 66, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-primary);
    box-shadow: 0 0 12px var(--gold-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.65; }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 6vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #ffffff 30%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 22px;
}

.hero-bio {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--gold-light);
    margin-top: 8px;
    max-width: 620px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #08090d;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    box-shadow: 0 8px 28px var(--gold-glow);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(245, 185, 66, 0.42);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--gold-primary);
    color: var(--gold-light);
    transform: translateY(-2px);
}

/* Hero Sağ Görsel Kartı */
.hero-main-photo-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 10px;
    background: linear-gradient(145deg, rgba(245, 185, 66, 0.35), rgba(255, 255, 255, 0.04));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.hero-main-photo {
    width: 100%;
    height: 490px;
    object-fit: cover;
    object-position: center top;
    border-radius: calc(var(--radius-lg) - 6px);
    display: block;
    cursor: zoom-in;
    transition: var(--transition);
}

.hero-main-photo:hover {
    transform: scale(1.015);
}

.hero-photo-badge {
    position: absolute;
    bottom: 26px;
    left: -18px;
    background: rgba(12, 14, 22, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6);
}

.trophy-icon {
    font-size: 1.8rem;
}

.hero-photo-badge strong {
    display: block;
    font-size: 0.92rem;
    letter-spacing: 0.8px;
    color: var(--gold-light);
}

.hero-photo-badge span {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* BÖLÜM BAŞLIKLARI */
.section-header {
    text-align: center;
    margin-bottom: 54px;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold-primary);
    background: rgba(245, 185, 66, 0.1);
    border: 1px solid var(--border-gold);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 3.8vw, 2.85rem);
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* YETENEKLER & İSTATİSTİKLER */
.skills-section {
    padding: 64px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 36px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
    opacity: 0.75;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 6px;
}

.stat-label {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.skills-bars-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.skill-pill:hover {
    border-color: var(--gold-primary);
    background: rgba(245, 185, 66, 0.08);
    transform: translateY(-2px);
}

.skill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-primary);
}

/* FOTOĞRAFLI HİKAYELER / PORTFOLYO (1-7) */
.stories-section {
    padding: 72px 0 96px;
}

.stories-list {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.story-row {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
    position: relative;
}

.story-row:hover {
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55);
}

.story-row.reverse {
    grid-template-columns: 0.95fr 1.05fr;
}

.story-row.reverse .story-media {
    order: 2;
}

.story-row.reverse .story-text-box {
    order: 1;
}

.story-media {
    position: relative;
}

.story-number {
    position: absolute;
    top: -18px;
    left: -18px;
    z-index: 3;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #07080c;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.image-frame {
    border-radius: 16px;
    overflow: hidden;
    background: #08090e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.screenshot-frame .story-img {
    object-fit: contain;
    max-height: 440px;
    background: #000000;
}

.document-frame {
    background: #ffffff;
    padding: 8px;
}

.document-frame .story-img {
    object-fit: contain;
    max-height: 480px;
    background: #ffffff;
}

.story-row:hover .story-img {
    transform: scale(1.03);
}

.story-text-box {
    padding: 12px 8px;
}

.story-category {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: var(--gold-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.story-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.55rem, 2.5vw, 2.1rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
    line-height: 1.25;
}

.story-description {
    font-size: 1.18rem;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 18px;
    border-left: 3px solid var(--gold-primary);
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 40px 0;
    background: rgba(7, 8, 12, 0.9);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-brand strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.8px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-copy {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* LIGHTBOX MODAL */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(5, 6, 10, 0.92);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.lightbox img {
    max-width: 92vw;
    max-height: 82vh;
    border-radius: 14px;
    border: 1px solid var(--border-gold);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85);
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 16px;
    color: var(--gold-light);
    font-size: 1.05rem;
    font-weight: 500;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-subtle);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--gold-primary);
    color: #000;
}

/* KAYDIRMA ANİMASYONU */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* MOBİL UYUMLULUK (RESPONSIVE) */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-row,
    .story-row.reverse {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 24px;
    }

    .story-row.reverse .story-media {
        order: 1;
    }

    .story-row.reverse .story-text-box {
        order: 2;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-main-photo {
        height: 360px;
    }

    .hero-photo-badge {
        left: 12px;
        right: 12px;
        bottom: 14px;
    }
}
