/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #000000;
    --bg-2: #060606;
    --bg-3: #0c0c0c;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.5);
    --text: #f5f5f5;
    --text-dim: #a8a8a8;
    --text-mute: #5c5c5c;
    --neon: #ffffff;
    --neon-glow: rgba(255, 255, 255, 0.6);
    --neon-glow-soft: rgba(255, 255, 255, 0.15);
    --font-sans: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Hafif grid arka plan */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

a { color: inherit; text-decoration: none; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-mark {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    background: #ffffff;
    color: #000000;
    font-weight: 800;
    font-size: 13px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}

.logo-text {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.nav-links {
    display: flex;
    gap: 34px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-dim);
    font-weight: 500;
    transition: all 0.25s ease;
    position: relative;
}

.nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 0; height: 1px;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    transition: width 0.25s ease;
}

.nav-links a:hover::after { width: 100%; }

.menu-toggle {
    display: none;
    background: none; border: none;
    flex-direction: column; gap: 5px;
    cursor: pointer; padding: 6px;
}

.menu-toggle span {
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -20%; right: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.09) 0%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 70px;
    align-items: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1.2px;
    color: #ffffff;
    margin-bottom: 28px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.08) inset;
}

.status-dot {
    width: 6px; height: 6px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 12px #ffffff, 0 0 4px #ffffff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 12px #ffffff, 0 0 4px #ffffff; }
    50% { opacity: 0.5; box-shadow: 0 0 4px #ffffff; }
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow:
        0 0 30px rgba(255, 255, 255, 0.35),
        0 0 60px rgba(255, 255, 255, 0.15);
}

.hero-subtitle {
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 500;
    color: #e8e8e8;
    margin-bottom: 24px;
    font-family: var(--font-mono);
    letter-spacing: -0.2px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.hero-intro {
    font-size: 17px;
    color: var(--text-dim);
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.7;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 26px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.25s ease;
    cursor: pointer;
    font-family: var(--font-sans);
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Portrait */
.hero-portrait { display: flex; justify-content: center; }

.portrait-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4/5;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #0c0c0c, #060606);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.8),
        0 0 80px rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.portrait-frame:hover {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.8),
        0 0 100px rgba(255, 255, 255, 0.15);
}

.portrait-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%) contrast(1.1);
}

.portrait-overlay {
    position: absolute;
    bottom: 16px; left: 16px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: #ffffff;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.portrait-placeholder {
    background:
        radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.12), transparent 60%),
        linear-gradient(135deg, #0c0c0c, #000000);
}

.portrait-placeholder::before {
    content: 'DXKQV // SYSTEM ONLINE';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 13px;
    color: #ffffff;
    letter-spacing: 2px;
    opacity: 0.7;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* ===== SECTIONS ===== */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header { margin-bottom: 70px; }

.section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: #ffffff;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 16px;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.section-title {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.15;
    color: var(--text);
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    color: var(--text-dim);
    font-size: 17px;
    margin-bottom: 22px;
    line-height: 1.75;
}

.about-text p:last-child {
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.stat-card {
    padding: 22px 20px;
    background: linear-gradient(145deg, #0c0c0c, #060606);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.08);
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.stat-label {
    font-size: 13px;
    color: var(--text-mute);
    line-height: 1.4;
}

/* ===== SKILLS ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.skill-card {
    padding: 30px 26px;
    background: linear-gradient(145deg, #0c0c0c, #060606);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    opacity: 0;
    transition: opacity 0.35s;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.skill-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 255, 255, 0.06);
}

.skill-card:hover::before { opacity: 1; }

.skill-icon {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 18px;
    display: block;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.skill-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.skill-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ===== PROJECTS ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

.project-card {
    padding: 34px 30px;
    background: linear-gradient(145deg, #0c0c0c, #060606);
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.project-card::after {
    content: '';
    position: absolute;
    bottom: -60%; right: -20%;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
    pointer-events: none;
    transition: opacity 0.4s;
    opacity: 0;
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(255, 255, 255, 0.06);
}

.project-card:hover::after { opacity: 1; }

.project-index {
    font-family: var(--font-mono);
    font-size: 12px;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 18px;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.project-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.4px;
    line-height: 1.3;
}

.project-desc {
    font-size: 14.5px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 22px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tags span {
    font-family: var(--font-mono);
    font-size: 11px;
    color: #d0d0d0;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
}

.project-card:hover .project-tags span {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.contact-card {
    padding: 26px 24px;
    background: linear-gradient(145deg, #0c0c0c, #060606);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s ease;
    display: block;
}

.contact-card:not(.static):hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 255, 255, 0.08);
}

.contact-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    transition: all 0.25s ease;
}

.contact-card:not(.static):hover .contact-value {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    margin-top: 60px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: var(--text-mute);
}

.footer-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: #ffffff;
    letter-spacing: 1.5px;
    opacity: 0.8;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; gap: 50px; }
    .hero-portrait { order: -1; }
    .portrait-frame { max-width: 280px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
    .nav-links {
        position: fixed;
        top: 70px; left: 0; right: 0;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px 28px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
    }
    .nav-links.open { transform: translateY(0); }
    .menu-toggle { display: flex; }

    .section { padding: 80px 0; }
    .section-header { margin-bottom: 45px; }
    .container { padding: 0 20px; }

    .hero { padding: 110px 0 60px; }
    .hero-actions { width: 100%; }
    .btn { flex: 1; justify-content: center; }

    .footer-container { flex-direction: column; text-align: center; }
}
