@charset "utf-8";
/* CSS Document - Mustafa Büyükçelik Portfolio - FULL VERSION WITH MOBILE FIXES */

/* -------------------------------------------
   TEMEL AYARLAR & RESET
------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Mobilde tıklama hatasını önler */
}

:root {
    --primary: #dae1e8;
    --secondary: #d946ef;
    --accent: #7c3aed;
    --dark: #0a0a0f;
    --darker: #050508;
    --light: #ffffff;
    --gray: #6b7280;
    --success: #00ff88;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
}

p a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

    p a:hover {
        color: var(--success);
        text-decoration: none;
        transition: color 0.3s ease;
    }

/* -------------------------------------------
   ARKA PLAN ANİMASYONLARI
------------------------------------------- */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle at center, #1a1a2e 0%, #0a0a0f 40%, #000000 100%);
}

.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.node {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 4s infinite;
}

.connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
    animation: flow 6s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes flow {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }

    100% {
        opacity: 0;
        transform: scaleX(0);
    }
}

/* ALTIGENLERİ GİZLEME (İsteğin üzerine) */
.hex-decoration {
    display: none !important;
    visibility: hidden;
    width: 0;
    height: 0;
    opacity: 0;
}

/* -------------------------------------------
   HEADER & NAV (MOBİL ENTEGRASYONLU)
------------------------------------------- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: transform 0.3s ease;
    z-index: 1002; /* Hamburger menü üzerinde kalsın */
}

    .logo:hover {
        transform: translateY(-2px);
    }

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* DESKTOP MENÜ */
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

    .nav-links a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        padding: 0.6rem 1.2rem;
        border-radius: 25px;
        font-weight: 500;
        font-size: 0.95rem;
        background: transparent;
    }

        .nav-links a:hover {
            color: var(--light);
            background: rgba(255, 255, 255, 0.05);
        }

        .nav-links a.active {
            color: var(--dark);
            background: linear-gradient(45deg, var(--primary), var(--accent));
            font-weight: 600;
        }

/* MOBİL MENÜ BUTONU (Hamburger) */
.mobile-menu {
    display: none; /* Desktopta gizli, media query ile açılacak */
    flex-direction: column;
    cursor: pointer;
    z-index: 1002;
    padding: 0.5rem;
    border-radius: 8px;
}

    .mobile-menu span {
        width: 25px;
        height: 2px;
        background: var(--light);
        margin: 3px 0;
        transition: 0.3s;
    }

    .mobile-menu.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

/* MOBİL MENÜ LİSTESİ */
.mobile-nav {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.98), rgba(20, 20, 30, 0.98));
    backdrop-filter: blur(20px);
    z-index: 1001;
    padding-top: 80px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Animasyon Hazırlığı */
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    pointer-events: none;
}

    .mobile-nav.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
        display: flex; /* Aktif olunca flex yap */
    }

    .mobile-nav a {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-size: 1.2rem;
        margin: 0.5rem 0;
        padding: 1rem 2rem;
        border-radius: 30px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        min-width: 250px;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: 0.4s ease;
    }

    /* Mobil linklerin sırayla gelmesi */
    .mobile-nav.active a {
        opacity: 1;
        transform: translateY(0);
    }

        .mobile-nav.active a:nth-child(1) {
            transition-delay: 0.1s;
        }

        .mobile-nav.active a:nth-child(2) {
            transition-delay: 0.2s;
        }

        .mobile-nav.active a:nth-child(3) {
            transition-delay: 0.3s;
        }

        .mobile-nav.active a:nth-child(4) {
            transition-delay: 0.4s;
        }

        .mobile-nav.active a:nth-child(5) {
            transition-delay: 0.5s;
        }

/* -------------------------------------------
   HERO SECTION
------------------------------------------- */
.hero {
    min-height: 100vh; /* height: 100vh yerine min-height, mobilde taşmayı önler */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 60px; /* Header boşluğu */
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.3));
    }

    to {
        filter: drop-shadow(0 0 30px rgba(255, 0, 255, 0.5));
    }
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    display: block;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: var(--dark);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
    }

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}

    .btn-secondary:hover {
        background: var(--primary);
        color: var(--dark);
    }

/* -------------------------------------------
   GENEL SECTION STİLLERİ
------------------------------------------- */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

    .section h2 {
        font-size: clamp(2rem, 4vw, 3rem);
        text-align: center;
        margin-bottom: 3rem;
        background: linear-gradient(45deg, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

/* Boşluk Düzeltmeleri */
#about {
    padding-bottom: 1rem;
    margin-bottom: 0;
}

#skills {
    padding-top: 1rem;
    margin-top: 0;
}

/* -------------------------------------------
   ABOUT SECTION
------------------------------------------- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-text {
    font-size: 1.1rem;
    color: var(--gray);
    position: relative;
}

    .about-text p {
        margin-bottom: 1.5rem;
        line-height: 1.8;
    }

    .about-text::before {
        content: '';
        position: absolute;
        left: -2rem;
        top: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(to bottom, var(--primary), var(--secondary));
        border-radius: 2px;
    }

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.about-stat {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

    .about-stat:hover {
        transform: translateY(-5px);
        border-color: var(--accent);
        box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
    }

.about-stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.blockchain-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    justify-items: center;
    position: relative;
}

.block {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-weight: bold;
    font-size: 0.9rem;
    animation: hexPulse 8s infinite;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

    .block::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        animation: hexShine 6s infinite;
    }

@keyframes hexPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
    }

    50% {
        transform: scale(1.1) rotate(180deg);
        box-shadow: 0 0 40px rgba(255, 0, 255, 0.6);
    }
}

@keyframes hexShine {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: -100%;
    }
}

/* -------------------------------------------
   PROJECTS & SKILLS GRIDS
------------------------------------------- */
.projects-grid, .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 58, 237, 0.25);
}

    .project-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
        border-color: var(--secondary);
    }

.project-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.project-desc {
    color: var(--gray);
    font-size: 0.9rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(124, 58, 237, 0.25);
    transition: all 0.3s ease;
}

    .skill-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
        border-color: var(--secondary);
    }

    .skill-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        color: var(--primary);
    }

    .skill-card p {
        color: var(--gray);
        font-size: 0.95rem;
        line-height: 1.6;
    }

/* -------------------------------------------
   CONTACT SECTION
------------------------------------------- */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
    position: relative;
    z-index: 2;
}

.contact-info-section {
    padding: 4rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.15);
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    width: 100%;
    align-items: center;
}

.contact-form-column {
    background: rgba(255, 255, 255, 0.04);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-title, .contact-info-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

    .form-field label {
        color: var(--light);
        font-size: 0.95rem;
        font-weight: 600;
        margin-left: 5px;
    }

    .form-field input, .form-field textarea {
        padding: 1rem 1.2rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        color: var(--light);
        font-size: 1rem;
        transition: all 0.3s ease;
        width: 100%;
    }

        .form-field input:focus, .form-field textarea:focus {
            outline: none;
            border-color: var(--primary);
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
        }

    .form-field textarea {
        resize: vertical;
        min-height: 120px;
    }

.contact-submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border: none;
    border-radius: 30px;
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: 100%;
    letter-spacing: 1px;
}

    .contact-submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
    }

.contact-info-column {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

    .contact-icon svg {
        width: 26px;
        height: 26px;
        fill: var(--dark);
    }

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
}

.contact-value {
    color: var(--light);
    font-size: 1.1rem;
    font-weight: 500;
}

    .contact-value a {
        color: var(--light);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .contact-value a:hover {
            color: var(--primary);
            text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
        }

/* -------------------------------------------
   FOOTER
------------------------------------------- */
.modern-footer {
    background-color: #050508;
    color: #ffffff;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    background: linear-gradient(45deg, #7c3aed, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #a3a3a3;
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 2px solid #7c3aed;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: #a3a3a3;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .footer-links a:hover {
            color: var(--secondary);
            padding-left: 8px;
        }

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

    .social-btn svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }

    .social-btn:hover {
        transform: translateY(-3px);
        border-color: transparent;
    }

    .social-btn.instagram:hover {
        background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    }

    .social-btn.twitter:hover {
        background-color: #000;
        border: 1px solid #333;
    }

    .social-btn.github:hover {
        background-color: #7c3aed;
    }

    .social-btn.linkedin:hover {
        background-color: #0077b5;
    }

.copyright {
    margin-top: 20px;
    font-size: 12px;
    color: #666;
}

/* -------------------------------------------
   ANIMATIONS & EFFECTS
------------------------------------------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

    .animate-on-scroll.animated {
        opacity: 1;
        transform: translateY(0);
    }

.slide-left {
    transform: translateX(-50px);
}

    .slide-left.animated {
        transform: translateX(0);
    }

.slide-right {
    transform: translateX(50px);
}

    .slide-right.animated {
        transform: translateX(0);
    }

.scale-up {
    transform: scale(0.8);
}

    .scale-up.animated {
        transform: scale(1);
    }

.stagger-animation {
    animation-delay: calc(var(--stagger) * 0.1s);
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

    .project-tags span {
        background: rgba(124, 58, 237, 0.1);
        color: var(--primary);
        padding: 0.3rem 0.8rem;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 500;
        border: 1px solid rgba(124, 58, 237, 0.2);
        transition: all 0.3s ease;
    }

.project-card:hover .project-tags span {
    border-color: var(--secondary);
    color: var(--secondary);
}

.project-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: var(--dark);
    font-weight: bold;
    display: inline-block;
}

    .btn-sm:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
    }

    .btn-sm.outline {
        background: transparent;
        border: 1px solid var(--primary);
        color: var(--light);
    }

        .btn-sm.outline:hover {
            background: var(--primary);
            color: var(--dark);
        }

.project-image {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-category {
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--light);
    background: rgba(0,0,0,0.5);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.2);
}

.game-bg {
    background: linear-gradient(45deg, #ff0055, #7c3aed);
}

.web-bg {
    background: linear-gradient(45deg, #00ffff, #0055ff);
}

.code-bg {
    background: linear-gradient(45deg, #00ff88, #00aa55);
}

.creative-bg {
    background: linear-gradient(45deg, #ffaa00, #ff5500);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--secondary);
    }

::selection {
    background: #9966cc;
    color: #0a0a0f;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-100px) translateX(20px);
        opacity: 0;
    }
}

.particle {
    position: absolute;
    background: var(--primary);
    box-shadow: 0 0 5px var(--primary);
    border-radius: 50%;
    pointer-events: none;
}

/* -------------------------------------------
   THE ARCADE 
------------------------------------------- */
.arcade-wrapper {
    padding-top: 120px;
    min-height: 100vh;
    padding-bottom: 50px;
}

.neon-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--light);
    text-shadow: 0 0 10px var(--secondary), 0 0 20px var(--secondary);
    letter-spacing: 5px;
    margin-bottom: 0.5rem;
}

.neon-subtitle {
    color: var(--primary);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.game-card {
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

    .game-card:hover {
        transform: scale(1.05);
        box-shadow: 0 0 30px var(--secondary);
        border-color: var(--secondary);
        z-index: 10;
    }

.game-cover {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.6), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-overlay h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.game-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: bold;
}

.rating {
    color: var(--success);
    background: rgba(0, 255, 136, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
}

.hours {
    color: var(--light);
    opacity: 0.8;
}

.game-comment {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.4;
    font-style: italic;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.8rem;
}

/* -------------------------------------------
   ART PAGE 
------------------------------------------- */
.art-wrapper {
    padding-top: 120px;
    min-height: 100vh;
    padding-bottom: 50px;
}

.neon-art-title {
    font-size: 3rem;
    font-weight: 300;
    color: var(--light);
    letter-spacing: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 10px;
    text-shadow: 0 0 15px var(--accent);
}

.art-subtitle {
    color: var(--gray);
    font-style: italic;
    font-size: 1rem;
}

.art-gallery {
    columns: 3 300px;
    column-gap: 1.5rem;
    padding: 2rem 0;
}

.art-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: zoom-in;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .art-item img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
    }

    .art-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
        border-color: var(--accent);
    }

        .art-item:hover img {
            transform: scale(1.1);
        }

.art-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 1rem;
    backdrop-filter: blur(3px);
}

.art-item:hover .art-overlay {
    opacity: 1;
}

.art-tag {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--dark);
    background: var(--primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.art-overlay h3 {
    color: var(--light);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.2s;
}

.art-overlay p {
    color: var(--gray);
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.3s;
}

.art-item:hover .art-tag,
.art-item:hover .art-overlay h3,
.art-item:hover .art-overlay p {
    transform: translateY(0);
}

/* -------------------------------------------
   SKILLS PAGE 
------------------------------------------- */
.skills-wrapper {
    padding-top: 120px;
    min-height: 100vh;
    padding-bottom: 50px;
}

.neon-skill-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--light);
    text-shadow: 0 0 10px var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.skill-subtitle {
    color: var(--gray);
    letter-spacing: 1px;
    margin-bottom: 3rem;
}

.skills-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.skill-column {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

    .skill-column:hover {
        border-color: var(--primary);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

.column-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 255, 255, 0.2);
    padding-bottom: 10px;
    display: inline-block;
    letter-spacing: 1px;
}

.skill-bar-item {
    margin-bottom: 2rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.skill-name {
    color: var(--light);
    font-size: 1rem;
}

.skill-percent {
    color: var(--primary);
    font-family: monospace;
    font-size: 1.1rem;
}

.progress-track {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 6px;
    box-shadow: 0 0 15px var(--primary);
    width: 0;
    animation: fillBar 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: left;
}

    .progress-fill.secondary-color {
        background: linear-gradient(90deg, var(--secondary), var(--accent));
        box-shadow: 0 0 15px var(--secondary);
    }

@keyframes fillBar {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* -------------------------------------------
   SCROLL TOP
------------------------------------------- */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    background: linear-gradient(180deg, #c084fc 0%, #7c3aed 100%);
    color: var(--light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    #scrollTopBtn svg {
        width: 24px;
        height: 24px;
        filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3));
    }

    #scrollTopBtn.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    #scrollTopBtn:hover {
        background: linear-gradient(0deg, #c084fc 0%, #7c3aed 100%);
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 0 25px rgba(192, 132, 252, 0.6);
    }

/* -------------------------------------------
   GITHUB CARD
------------------------------------------- */
.github-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(124, 58, 237, 0.2);
    display: flex;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(124, 58, 237, 0.3);
    backdrop-filter: blur(10px);
    color: var(--light);
    gap: 2rem;
    transition: transform 0.3s ease;
}

    .github-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(124, 58, 237, 0.3);
        border-color: var(--secondary);
    }

.avatar-img {
    border-radius: 50%;
    border: 4px solid var(--accent);
    width: 150px;
    height: 150px;
    object-fit: cover;
    box-shadow: 0 0 15px var(--accent);
}

.user-info {
    color: var(--gray);
    flex: 1;
}

    .user-info h2 {
        margin-top: 0;
        color: var(--light);
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .user-info ul {
        display: flex;
        justify-content: space-between;
        list-style-type: none;
        padding: 0;
        max-width: 400px;
        margin: 1.5rem 0;
    }

        .user-info ul li {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
        }

            .user-info ul li strong {
                font-size: 1.1rem;
                color: var(--secondary);
            }

.repo-link {
    display: inline-block;
    background: rgba(124, 58, 237, 0.2);
    color: var(--light);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 5px;
    font-size: 0.8rem;
    border: 1px solid rgba(124, 58, 237, 0.5);
    transition: all 0.3s ease;
}

    .repo-link:hover {
        background: var(--accent);
        color: #fff;
        box-shadow: 0 0 10px var(--accent);
    }

/* -------------------------------------------
   ANİMASYON ZAMANLAMALARI (ALTIGENLER)
------------------------------------------- */
.block:nth-child(odd) {
    animation-delay: -4s;
}

.block:nth-child(even) {
    animation-delay: -2s;
}

.block:nth-child(3n) {
    animation-delay: -1s;
}

.block:nth-child(3n+1) {
    animation-delay: -3s;
}

.block:nth-child(7) {
    animation-delay: -5s;
}

/* =======================================================
   RESPONSIVE (MOBİL UYUMLULUK) - EN ÖNEMLİ BÖLÜM
======================================================= */

@media (max-width: 992px) {
    /* Tablet ve Küçük Laptoplar */
    .about-content {
        grid-template-columns: 1fr; /* Yan yana duranları alt alta al */
        text-align: center;
    }

    .about-text::before {
        display: none;
    }
    /* Yan çizgiyi kaldır */
    .about-visual {
        margin-top: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info-section {
        padding: 2rem;
        margin: 0 1rem 4rem 1rem;
    }
}

@media (max-width: 768px) {
    /* Mobil Cihazlar */

    /* NAVİGASYON */
    .nav-links {
        display: none;
    }
    /* Masaüstü menüyü gizle */
    .mobile-menu {
        display: flex;
    }
    /* Hamburger menüyü aç */
    nav {
        padding: 1rem;
    }

    /* GENEL DÜZEN */
    .section {
        padding: 3rem 1rem;
    }
    /* Padding'i küçült */

    /* HERO */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat {
        flex: 1 1 40%;
    }
    /* İstatistikleri 2'li dizersin */

    /* GITHUB CARD */
    .github-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .user-info ul {
        justify-content: center;
        gap: 1.5rem;
    }

    /* SKILLS LAYOUT */
    .skills-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skill-column {
        padding: 1.5rem;
    }

    /* FOOTER */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Çok Küçük Telefonlar */
    .block {
        width: 50px;
        height: 50px;
        font-size: 0.7rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Header İletişim Butonunu "Projelerimi Gör" ile Birebir Aynı Yap */
header .nav-links a.btn-primary {
    /* Projelerimi Gör butonunun arkaplanı */
    background: linear-gradient(45deg, var(--primary), var(--accent)) !important;
    /* Projelerimi Gör butonunun yazı rengi (Koyu renk) */
    color: var(--dark) !important;
    border: none;
    font-weight: 600;
    box-shadow: none; /* İlk etapta gölge olmasın */
}

    /* Üzerine gelince oluşan efekt (Hover) */
    header .nav-links a.btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3); /* Mor gölge efekti */
    }