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

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #050509;
    color: #f5f5f5;
    line-height: 1.5;
}

/* Tema sınıfları */
body.dark-theme {
    background: #050509;
    color: #f5f5f5;
}

body.light-theme {
    background: #f5f5f9;
    color: #15151a;
}

/* Global link hissi */
a {
    cursor: pointer;
}

/* GENEL LAYOUT */

.layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 320px 1fr;
    background: radial-gradient(circle at top left, #1a1a1f, #050509 55%);
}

body.light-theme .layout {
    background: radial-gradient(circle at top left, #ffffff, #f0f0f5 55%);
}

/* SIDEBAR */

.sidebar {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    overflow-y: auto; /* uzun içerikte scroll */
}

body.light-theme .sidebar {
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.profile {
    text-align: center;
    margin-bottom: 8px;
}

.photo-ring {
    width: 140px;
    height: 140px;
    margin: 0 auto 12px auto;
    border-radius: 50%;
    padding: 4px;
    background: conic-gradient(
        from 0deg,
        #ff003c,
        #ff9100,
        #ff003c,
        #ff3b8d,
        #ff003c
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #050509;
    background: #111;
}

body.light-theme .photo-ring img {
    border-color: #f5f5f9;
    background: #f5f5f9;
}

.name {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.profile .title {
    font-size: 0.85rem;
    color: #bbbbc5;
    margin-top: 2px;
}

body.light-theme .profile .title {
    color: #555566;
}

/* BLOK BAŞLIKLAR */

.block-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #a3a3b0;
    margin-bottom: 6px;
}

body.light-theme .block-title {
    color: #4b4b55;
}

/* BİLGİLER */

.info-block {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    padding: 10px 12px;
}

body.light-theme .info-block {
    background: rgba(0, 0, 0, 0.02);
}

.info-list {
    list-style: none;
    font-size: 0.85rem;
    display: grid;
    gap: 4px;
}

.info-list span {
    color: #a0a0aa;
}

body.light-theme .info-list span {
    color: #555566;
}

/* SKILL CIRCLE’LAR */

.skills-block {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    padding: 10px 12px;
}

body.light-theme .skills-block {
    background: rgba(0, 0, 0, 0.02);
}

.skill-circles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.skill-circle {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    background: radial-gradient(circle at top left, #18181d, #050509);
}

body.light-theme .skill-circle {
    border-color: rgba(0, 0, 0, 0.06);
    background: radial-gradient(circle at top left, #ffffff, #f0f0f5);
}

.skill-circle .value {
    color: #ff3b3b;
    font-weight: 600;
}

/* SOSYAL */

.social-block {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    padding: 10px 12px;
}

body.light-theme .social-block {
    background: rgba(0, 0, 0, 0.02);
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.social-links a {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    text-decoration: none;
    color: #f5f5f5;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 0;
    transition: background 0.2s, transform 0.1s, border-color 0.2s, color 0.2s;
}

body.light-theme .social-links a {
    color: #15151a;
    border-color: rgba(0, 0, 0, 0.08);
}

.social-links a:hover {
    background: #ff003c;
    border-color: #ff003c;
    transform: translateY(-1px);
    color: #fff;
}

/* CV BUTTON */

.cv-block {
    margin-top: auto;
}

.cv-button {
    width: 100%;
    display: inline-block;
    text-align: center;
    padding: 10px 0;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #ff003c, #ff9100);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.15s ease-out;
}

.cv-button:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(255, 0, 60, 0.35);
}

/* ANA İÇERİK */

.content {
    padding: 32px 40px;
}

/* TOP BAR (TEMA + DİL) */

.top-bar {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}

.control-btn {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #f5f5f5;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
}

.control-btn:hover {
    background: #ff003c;
    border-color: #ff003c;
    transform: translateY(-1px);
}

body.light-theme .control-btn {
    border-color: rgba(0, 0, 0, 0.3);
    color: #15151a;
}

body.light-theme .control-btn:hover {
    color: #fff;
}

/* SECTIONS */

.section {
    margin-bottom: 54px;
}

.section-title {
    font-size: 1.2rem;
    margin-bottom: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c7c7d5;
}

body.light-theme .section-title {
    color: #3a3a45;
}

.section-content {
    font-size: 0.95rem;
    color: #d5d5df;
    line-height: 1.6;
}

body.light-theme .section-content {
    color: #33333f;
}

.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

/* HERO */

.hero {
    padding-bottom: 40px;
}

.hero-text {
    max-width: 650px;
}

.hello {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #bbbbc5;
    margin-bottom: 6px;
}

body.light-theme .hello {
    color: #6a6a77;
}

.hero-name {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 0 18px rgba(255, 0, 60, 0.5); /* neon etkisi */
}

body.light-theme .hero-name {
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.0rem;
    color: #e2e2ea;
    margin-bottom: 10px;
}

body.light-theme .hero-subtitle {
    color: #3d3d48;
}

.hero-desc {
    font-size: 0.95rem;
    color: #bdbdd0;
    max-width: 580px;
}

body.light-theme .hero-desc {
    color: #4a4a57;
}

.hero-actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid transparent;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.btn.primary {
    background: linear-gradient(135deg, #ff003c, #ff9100);
    color: #fff;
}

.btn.ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: #f5f5f5;
}

body.light-theme .btn.ghost {
    border-color: rgba(0, 0, 0, 0.2);
    color: #15151a;
}

/* SKILLS GRID */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.15s ease-out,
                box-shadow 0.15s ease-out,
                border-color 0.15s ease-out;
}

body.light-theme .skill-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.06);
}

.skill-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.skill-card p {
    font-size: 0.9rem;
    color: #c8c8d6;
}

body.light-theme .skill-card p {
    color: #444455;
}

.skill-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 16px rgba(255, 0, 60, 0.25);
    border-color: rgba(255, 0, 60, 0.6);
}

/* PROJELER */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.project-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.15s ease-out, 
                box-shadow 0.15s ease-out, 
                border-color 0.15s ease-out,
                background 0.15s ease-out;
}

body.light-theme .project-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.06);
}

.project-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.project-card p {
    font-size: 0.9rem;
    color: #c8c8d6;
}

body.light-theme .project-card p {
    color: #444455;
}

.project-card .tagline {
    margin-top: 6px;
    font-size: 0.8rem;
    color: #ff9100;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.3);
    border-color: rgba(255, 0, 60, 0.7);
    background: rgba(255, 255, 255, 0.04);
}

body.light-theme .project-card:hover {
    background: #ffffff;
}

/* İLETİŞİM */

.contact-block {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

body.light-theme .contact-block {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.06);
}

.contact-list {
    list-style: none;
    margin-top: 10px;
    display: grid;
    gap: 6px;
    font-size: 0.9rem;
}

.contact-list span {
    color: #a0a0aa;
}

body.light-theme .contact-list span {
    color: #555566;
}

.contact-list a {
    color: #ff4b4b;
    text-decoration: none;
}

/* FOOTER */

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 14px;
    font-size: 0.8rem;
    color: #9c9cb0;
}

body.light-theme .footer {
    border-top-color: rgba(0, 0, 0, 0.06);
    color: #555566;
}

/* RESPONSIVE */

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

    .sidebar {
        position: static;
        height: auto;
        flex-direction: column;
    }

    .content {
        padding: 20px;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .hero-name {
        font-size: 2.1rem;
    }
}
