﻿:root {
    --bg-body: #020617;
    --bg-card: #111827;
    --accent: #38bdf8;
    --accent-soft: rgba(56, 189, 248, 0.15);
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border-soft: #1f2937;
}
/** --text-muted: #9ca3af;*/
/* GENEL LAYOUT – sadece KOYU tema */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

#projects p.text-muted {
    color: #e5e7eb !important;
    /*color: #0bb0f8 !important;*/
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #0f172a 0, #020617 45%, #000 100%);
    color: var(--text-main);
    overflow-x: hidden;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

/* Arka plan efektleri */
.code-bg {
    position: relative;
}

    .code-bg::before {
        content: "";
        position: absolute;
        inset: 0; /* dışarı taşmasın, footer sonrası scroll yok */
        background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.25) 0, transparent 40%), radial-gradient(circle at 80% 0, rgba(129, 140, 248, 0.25) 0, transparent 35%), radial-gradient(circle at 60% 90%, rgba(45, 212, 191, 0.18) 0, transparent 40%);
        opacity: 0.45;
        pointer-events: none;
        z-index: -2;
    }

.blur-orb {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.45;
    z-index: -1;
}

    .blur-orb.orb-1 {
        background: #38bdf8;
        top: -40px;
        left: 10%;
    }

    .blur-orb.orb-2 {
        background: #a855f7;
        bottom: -40px;
        right: 8%;
    }

    .blur-orb.orb-3 {
        background: #22c55e;
        top: 40%;
        left: -60px;
    }

/* Navbar */
.nav-glass {
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: blur(18px);
}

.brand-text {
    letter-spacing: .14em;
    font-size: .8rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #38bdf8, #a855f7);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.75);
}

.nav-link {
    position: relative;
    color: var(--text-muted) !important;
    font-size: .9rem;
}

    .nav-link:hover {
        color: #e5e7eb !important;
    }

    .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -0.3rem;
        width: 0;
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(90deg, #38bdf8, #a855f7);
        transition: width .25s ease-out;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

.navbar-toggler {
    border-color: rgba(148, 163, 184, 0.6);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28248,250,252,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.hero-title {
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(2.4rem, 3.4vw, 3.4rem);
}

.hero-highlight {
    background: linear-gradient(120deg, #38bdf8, #a855f7, #22c55e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 34rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: .3rem .8rem .3rem .4rem;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), rgba(15, 23, 42, 0.95));
    font-size: .75rem;
    color: var(--text-muted);
}

    .chip span {
        padding: .25rem .5rem;
        border-radius: 999px;
        font-size: .7rem;
        text-transform: uppercase;
        background: rgba(15, 23, 42, .8);
        border: 1px solid rgba(56, 189, 248, 0.4);
        color: #e5e7eb;
    }

/* Buttons */
.btn-primary-custom {
    border-radius: 999px;
    font-size: .9rem;
    padding: .7rem 1.6rem;
    border: none;
    background-image: linear-gradient(120deg, #38bdf8, #a855f7);
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.55);
    color: #f9fafb;
}

.btn-outline-custom {
    border-radius: 999px;
    font-size: .9rem;
    padding: .7rem 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.55);
    color: var(--text-muted);
    background: rgba(15, 23, 42, 0.6);
}

    .btn-outline-custom:hover {
        border-color: rgba(248, 250, 252, 0.9);
        color: #e5e7eb;
        background: rgba(15, 23, 42, 0.9);
    }

/* Sections */
section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

#projects {
    padding-bottom: 3rem;
}

#contact {
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

    .section-title span {
        color: var(--accent);
    }

/* Cards */
.project-card,
.contact-card {
    border-radius: 1.25rem;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(31, 41, 55, 0.9);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.85);
    color: var(--text-main);
}

    /* ÖNEMLİ: Card içi yazılar okunaklı gri */
    .project-card p,
    .contact-card p,
    .project-card .text-muted,
    .contact-card .text-muted {
       /* color: var(--text-muted);*/
        color: #e5e0e0 !important; /* örnek daha açık gri */
    }

.project-badge {
    font-size: .7rem;
    border-radius: 999px;
    padding: .25rem .6rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: var(--text-muted);
}

.tag {
    font-size: .7rem;
    padding: .18rem .55rem;
    border-radius: 999px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    background: rgba(15, 23, 42, 0.95);
    color: var(--text-muted);
}

/* Proje görseli */
.project-thumb {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(55, 65, 81, 0.95);
}

    .project-thumb img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        filter: saturate(1.1) contrast(1.1);
        transform: scale(1.02);
        transition: transform .35s ease-out, filter .35s ease-out;
    }

.project-card:hover .project-thumb img {
    transform: scale(1.06);
    filter: saturate(1.25) contrast(1.2);
}

/* Contact inputs – sadece KOYU */
.form-control,
.form-control:focus {
    background-color: #020617;
    border-color: rgba(55, 65, 81, 0.9);
    color: var(--text-main);
}

    .form-control::placeholder {
        color: var(--text-muted);
    }

    .form-control:focus {
        box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.7);
    }

/* Footer */
footer {
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    padding: 1rem 0;
    font-size: .8rem;
    color: var(--text-muted);
    background: radial-gradient(circle at bottom, rgba(15, 23, 42, 0.8), rgba(2, 6, 23, 1));
    margin-top: 0;
}

/* İletişim sol açıklama */
#contact .text-muted {
    font-size: .9rem;
    line-height: 1.45;
}

#contact p.text-muted {
    /*color: #c283fe !important;*/
    color: #9ca3af !important;
}
#contact span.text-muted {
    color: #9ca3af !important;
    /*color: #c283fe !important;*/
}


/* VS CODE PENCERESİ – ANİMASYONLU */
/* (vscode-window.html'den taşındı) */
.vscode {
    width: 100%;
    max-width: 720px;
    height: 380px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .9);
    background: #020617;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(40px) scale(.96);
    animation: enter .8s ease-out forwards;
}

.vs-top {
    height: 32px;
    background: #111827;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: .8rem;
    color: #9ca3af;
    justify-content: space-between;
}

.vs-top-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vs-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #4b5563;
}

.vs-title {
    opacity: .8;
}

.vs-actions span {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    color: #9ca3af;
}

.vs-main {
    flex: 1;
    display: flex;
    background: #020617;
}

.vs-sidebar {
    width: 60px;
    background: #020617;
    border-right: 1px solid #0f172a;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 12px;
    gap: 12px;
    opacity: 0;
    transform: translateX(-20px);
    animation: sideIn .6s .4s ease-out forwards;
}

.vs-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #0f172a;
    border: 1px solid #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    color: #9ca3af;
}

.vs-explorer {
    width: 190px;
    border-right: 1px solid #0f172a;
    padding: 10px 10px;
    font-size: .8rem;
    opacity: 0;
    transform: translateX(-20px);
    animation: expIn .6s .55s ease-out forwards;
}

    .vs-explorer h4 {
        margin: 0 0 8px;
        font-size: .78rem;
        text-transform: uppercase;
        color: #9ca3af;
    }

.file {
    padding: 3px 4px;
    border-radius: 4px;
    color: #9ca3af;
}

    .file span.ext {
        color: #38bdf8;
    }

    .file.active {
        background: #0f172a;
        color: #e5e7eb;
    }

.vs-editor {
    flex: 1;
    padding: 12px 14px;
    font-family: "JetBrains Mono", monospace;
    font-size: 12px;
    color: #9ca3af;
    opacity: 0;
    transform: translateY(12px);
    animation: editorIn .7s .75s ease-out forwards;
}

.kw {
    color: #38bdf8;
}

.ty {
    color: #a5b4fc;
}

.str {
    color: #22c55e;
}

.cm {
    color: #4b5563;
}

@keyframes enter {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes sideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes expIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes editorIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 5.5rem;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .code-card {
        margin-top: 2rem;
    }

    .vscode {
        height: 320px;
    }
}
