﻿/* Base Styles */
:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --accent-color: #fd79a8;
    --background-dark: #0f0f0f;
    --background-light: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-accent: #6c5ce7;
    --border-color: #2d2d2d;
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --error-color: #ff7675;
    --transition-speed: 0.3s;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --neon-text-color: #f40;
    --neon-border-color: #08f;
}
#stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Tüm içeriklerin arkasında kalır */
    background: black; /* Arkaplan rengi */
}

.typing-text {
    font-weight: bold;
    color: #ffffff;
    border-right: 2px solid #ffffff;
    padding-right: 5px;
    white-space: nowrap;
    overflow: hidden;
}

/* Hareketli yuvarlak cisim - düzeltilmiş versiyon */
.animated-circle {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(30px);
    animation: morphCircle 15s ease-in-out infinite, floatCircle 20s ease-in-out infinite;
    z-index: 0;
    pointer-events: none; /* Tıklamayı engellememesi için */
}

.hero {
    position: relative;
}

@keyframes morphCircle {
    0%, 100% {
        border-radius: 50%;
    }

    25% {
        border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%;
    }

    50% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    75% {
        border-radius: 30% 70% 70% 30% / 50% 60% 40% 50%;
    }
}

@keyframes floatCircle {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }

    25% {
        transform: translateY(-60%) translateX(50px);
    }

    50% {
        transform: translateY(-40%) translateX(100px);
    }

    75% {
        transform: translateY(-60%) translateX(50px);
    }
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(108, 92, 231, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(253, 121, 168, 0.1) 0%, transparent 50%);
    z-index: 0;
}

/* Projects bölümü için arka plan efektleri */
.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(108, 92, 231, 0.05) 0%, transparent 30%), radial-gradient(circle at 90% 90%, rgba(253, 121, 168, 0.05) 0%, transparent 30%), linear-gradient(135deg, rgba(108, 92, 231, 0.03) 0%, rgba(15, 15, 15, 0) 70%);
    z-index: 0;
}

/* Skills bölümü için ek parçacıklar */
.skills::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(108, 92, 231, 0.1) 0, rgba(108, 92, 231, 0) 20px), radial-gradient(circle at 80% 20%, rgba(253, 121, 168, 0.1) 0, rgba(253, 121, 168, 0) 20px), radial-gradient(circle at 40% 80%, rgba(108, 92, 231, 0.1) 0, rgba(108, 92, 231, 0) 20px), radial-gradient(circle at 70% 60%, rgba(253, 121, 168, 0.1) 0, rgba(253, 121, 168, 0) 20px);
    z-index: 0;
    pointer-events: none;
}

/* Contact bölümü için arka plan efektleri */
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.05) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(253, 121, 168, 0.05) 0%, transparent 50%);
    z-index: 0;
}

/* Footer için arka plan efektleri */
footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 90%, rgba(108, 92, 231, 0.1) 0%, transparent 30%), radial-gradient(circle at 70% 10%, rgba(253, 121, 168, 0.1) 0%, transparent 30%);
    z-index: 0;
    pointer-events: none;
}

/* Yıldız efekti */
.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: white;
    opacity: 0.5;
    border-radius: 50%;
    animation: twinkle 5s infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.8;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color var(--transition-speed) ease;
}

    a:hover {
        color: var(--primary-color);
    }

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        z-index: -1;
        transform: translateX(-100%);
        transition: all 0.4s ease;
    }

    .btn:hover::before {
        transform: translateX(0);
    }

.primary-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

    .primary-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 7px 20px rgba(108, 92, 231, 0.6);
        color: white;
    }

.secondary-btn {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

    .secondary-btn:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-3px);
    }

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

    .section-header h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }

.underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

    .underline::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
        filter: blur(5px);
        opacity: 0.7;
    }

section {
    padding: 100px 0;
    position: relative;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease;
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.cube {
    position: absolute;
    top: 80vh;
    left: 45vw;
    width: 10px;
    height: 10px;
    border: 1px solid rgba(108, 92, 231, 0.2);
    transform-origin: top left;
    transform: scale(0) rotate(0deg) translate(-50%, -50%);
    animation: cube 12s ease-in forwards infinite;
}

    .cube:nth-child(2) {
        animation-delay: 2s;
        left: 25vw;
        top: 40vh;
    }

    .cube:nth-child(3) {
        animation-delay: 4s;
        left: 75vw;
        top: 50vh;
    }

    .cube:nth-child(4) {
        animation-delay: 6s;
        left: 90vw;
        top: 10vh;
    }

    .cube:nth-child(5) {
        animation-delay: 8s;
        left: 10vw;
        top: 85vh;
    }

    .cube:nth-child(6) {
        animation-delay: 10s;
        left: 50vw;
        top: 10vh;
    }

@keyframes cube {
    from {
        transform: scale(0) rotate(0deg) translate(-50%, -50%);
        opacity: 1;
    }

    to {
        transform: scale(20) rotate(960deg) translate(-50%, -50%);
        opacity: 0;
    }
}

/* Hello Animation */
.hello-animation {
    position: absolute;
    top: 50px;
    right: 50px;
    z-index: 10;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.7);
    animation: pulse 2s infinite;
}

    .hello-animation img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* New class for the code animation in the marked area */
.code-animation {
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
    z-index: 10;
    width: 300px;
    height: 300px;
    border-radius: 10px; /* Square shape as requested */
    overflow: hidden;
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.7);
    animation: pulse 2s infinite;
}

    .code-animation img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

@media screen and (max-width: 1200px) {
    .code-animation {
        width: 250px;
        height: 250px;
        right: 10%;
    }
}

@media screen and (max-width: 992px) {
    .code-animation {
        width: 200px;
        height: 200px;
        right: 5%;
    }
}

@media screen and (max-width: 768px) {
    .code-animation {
        width: 180px;
        height: 180px;
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        margin: 30px auto;
    }
}

@media screen and (max-width: 576px) {
    .code-animation {
        width: 150px;
        height: 150px;
    }
}


@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(108, 92, 231, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(108, 92, 231, 0);
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(15, 15, 15, 0.95) 100%);
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 50% 50%, rgba(108, 92, 231, 0.1) 0%, rgba(15, 15, 15, 0) 70%);
    }

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.typing-text {
    position: relative;
    color: var(--text-primary);
    border-right: 4px solid var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    animation: typing 4s steps(30) infinite, blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    0%, 100% {
        width: 0
    }

    50% {
        width: 100%
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary-color)
    }
}

.hero h2 {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--background-light);
    color: var(--text-primary);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

    .social-icon::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .social-icon i {
        position: relative;
        z-index: 1;
    }

    .social-icon:hover::before {
        opacity: 1;
    }

    .social-icon:hover {
        transform: translateY(-3px) rotate(360deg);
        box-shadow: 0 0 15px rgba(108, 92, 231, 0.7);
    }

.hero-image {
    position: relative;
    z-index: 0;
}

.shape {
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 32% 68% 65% 35% / 57% 32% 68% 43%;
    animation: morphShape 15s ease-in-out infinite;
    opacity: 0.2;
    filter: blur(5px);
}

.floating-icons {
    position: static;
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.floating-icon {
    position: relative;
    font-size: 2rem;
    color: var(--text-primary);
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

    .floating-icon:nth-child(1) {
        animation-delay: 0s;
        color: #512bd4; /* .NET color */
    }

    .floating-icon:nth-child(2) {
        animation-delay: 1s;
        color: #2496ed; /* Docker color */
    }

    .floating-icon:nth-child(3) {
        animation-delay: 2s;
        color: #cc2927; /* MSSQL color */
    }

    .floating-icon:nth-child(4) {
        animation-delay: 3s;
        color: #f05032; /* Git color */
    }

    .floating-icon:nth-child(5) {
        animation-delay: 4s;
        color: #68a063; /* API/Server color */
    }

/* Hero image shape'i kaldırıyoruz */
.hero-image {
    display: none;
}

@keyframes morphShape {
    0% {
        border-radius: 32% 68% 65% 35% / 57% 32% 68% 43%;
    }

    25% {
        border-radius: 46% 54% 34% 66% / 63% 46% 54% 37%;
    }

    50% {
        border-radius: 73% 27% 46% 54% / 54% 73% 27% 46%;
    }

    75% {
        border-radius: 54% 46% 73% 27% / 27% 54% 46% 73%;
    }

    100% {
        border-radius: 32% 68% 65% 35% / 57% 32% 68% 43%;
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

    .scroll-down a {
        display: block;
        font-size: 1.5rem;
        color: var(--text-primary);
    }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Glowing Text */
.glowing-text {
    color: #fff;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px var(--primary-color), 0 0 20px var(--primary-color), 0 0 25px var(--primary-color), 0 0 30px var(--primary-color), 0 0 35px var(--primary-color);
    animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px var(--primary-color), 0 0 20px var(--primary-color), 0 0 25px var(--primary-color);
    }

    to {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px var(--primary-color), 0 0 40px var(--primary-color), 0 0 50px var(--primary-color);
    }
}

/* Rainbow Text */
.rainbow-text {
    animation: rainbow 5s linear infinite;
}

@keyframes rainbow {
    0% {
        color: #ff0000;
    }

    14% {
        color: #ff7f00;
    }

    28% {
        color: #ffff00;
    }

    42% {
        color: #00ff00;
    }

    57% {
        color: #0000ff;
    }

    71% {
        color: #4b0082;
    }

    85% {
        color: #9400d3;
    }

    100% {
        color: #ff0000;
    }
}

/* Neon Text */
.neon-text {
    color: #fff;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px var(--neon-text-color), 0 0 20px var(--neon-text-color), 0 0 25px var(--neon-text-color), 0 0 30px var(--neon-text-color), 0 0 35px var(--neon-text-color);
}

/* About Section */
.about {
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.about-image {
    flex: 1;
}

.image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-dark);
    height: 400px;
    color: var(--text-secondary);
    font-size: 1.2rem;
    position: relative;
}

.image-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(108, 92, 231, 0.2), rgba(253, 121, 168, 0.2));
    mix-blend-mode: overlay;
    pointer-events: none;
}

.about-text {
    flex: 1;
}

    .about-text h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .about-text p {
        margin-bottom: 20px;
        color: var(--text-secondary);
    }

.about-details {
    margin: 30px 0;
}

.detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

    .detail i {
        font-size: 1.5rem;
        color: var(--primary-color);
    }

    .detail h4 {
        margin-bottom: 5px;
    }

.about-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* Glitch Effect */
.glitch-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--background-dark);
}

.glitch {
    position: relative;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-primary);
    letter-spacing: 3px;
    z-index: 1;
}

    .glitch:before,
    .glitch:after {
        content: attr(data-text);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .glitch:before {
        left: 2px;
        text-shadow: -2px 0 var(--primary-color);
        clip: rect(24px, 550px, 90px, 0);
        animation: glitch-anim-1 2s infinite linear alternate-reverse;
    }

    .glitch:after {
        left: -2px;
        text-shadow: -2px 0 var(--secondary-color);
        clip: rect(85px, 550px, 140px, 0);
        animation: glitch-anim-2 2s infinite linear alternate-reverse;
    }

@keyframes glitch-anim-1 {
    0% {
        clip: rect(52px, 9999px, 121px, 0);
    }

    20% {
        clip: rect(33px, 9999px, 144px, 0);
    }

    40% {
        clip: rect(54px, 9999px, 18px, 0);
    }

    60% {
        clip: rect(82px, 9999px, 69px, 0);
    }

    80% {
        clip: rect(26px, 9999px, 13px, 0);
    }

    100% {
        clip: rect(25px, 9999px, 11px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(70px, 9999px, 100px, 0);
    }

    20% {
        clip: rect(29px, 9999px, 24px, 0);
    }

    40% {
        clip: rect(15px, 9999px, 7px, 0);
    }

    60% {
        clip: rect(35px, 9999px, 52px, 0);
    }

    80% {
        clip: rect(66px, 9999px, 144px, 0);
    }

    100% {
        clip: rect(95px, 9999px, 5px, 0);
    }
}

/* Projects Section */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background-color: var(--background-light);
    border: none;
    border-radius: 50px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

    .filter-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: -1;
    }

    .filter-btn.active::before, .filter-btn:hover::before {
        opacity: 1;
    }

    .filter-btn.active, .filter-btn:hover {
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
    }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.project-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    position: relative;
}

    .project-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(108, 92, 231, 0.5);
    }

.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform var(--transition-speed) ease;
    }

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(108, 92, 231, 0.8), rgba(253, 121, 168, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

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

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all var(--transition-speed) ease;
    transform: translateY(20px);
    opacity: 0;
}

.project-card:hover .project-link {
    transform: translateY(0);
    opacity: 1;
}

    .project-card:hover .project-link:nth-child(1) {
        transition-delay: 0.1s;
    }

    .project-card:hover .project-link:nth-child(2) {
        transition-delay: 0.2s;
    }

.project-link:hover {
    background-color: var(--background-dark);
    color: white;
    transform: rotate(360deg);
}

.project-info {
    padding: 20px;
}

    .project-info h3 {
        margin-bottom: 10px;
        font-size: 1.3rem;
    }

    .project-info p {
        color: var(--text-secondary);
        margin-bottom: 15px;
        font-size: 0.95rem;
    }

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

.tag {
    padding: 5px 10px;
    background-color: var(--background-dark);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all var(--transition-speed) ease;
}

.project-card:hover .tag {
    background-color: var(--primary-color);
    color: white;
}

.projects-more {
    text-align: center;
    margin-top: 30px;
}

.projects-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(108, 92, 231, 0.05) 0%, rgba(15, 15, 15, 0) 70%);
    z-index: -1;
}

/* Skills Section */
.skills {
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.skills-content {
    display: flex;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.skills-category {
    flex: 1;
}

    .skills-category h3 {
        font-size: 1.5rem;
        margin-bottom: 30px;
        text-align: center;
    }

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.skill-bar {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-progress {
    height: 8px;
    background-color: var(--background-dark);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

    .skill-progress::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transform: translateX(-100%);
        animation: shimmer 2s infinite;
    }

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.skill-progress-bar {
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease;
    position: relative;
}

.skill-icons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 20px;
}

.skill-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.skill-icon-inner {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--background-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

    .skill-icon-inner::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

.skill-icon i {
    font-size: 1.8rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    transition: all var(--transition-speed) ease;
}

.skill-icon:hover .skill-icon-inner::before {
    opacity: 1;
}

.skill-icon:hover .skill-icon-inner {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.4);
}

.skill-icon:hover i {
    color: white;
}

.skills-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.1;
    animation: float 15s infinite;
}

    .particle:nth-child(1) {
        width: 80px;
        height: 80px;
        top: 10%;
        left: 10%;
        animation-delay: 0s;
    }

    .particle:nth-child(2) {
        width: 120px;
        height: 120px;
        top: 70%;
        left: 80%;
        animation-delay: 1s;
        background: var(--secondary-color);
    }

    .particle:nth-child(3) {
        width: 60px;
        height: 60px;
        top: 40%;
        left: 30%;
        animation-delay: 2s;
    }

    .particle:nth-child(4) {
        width: 100px;
        height: 100px;
        top: 60%;
        left: 5%;
        animation-delay: 3s;
        background: var(--accent-color);
    }

    .particle:nth-child(5) {
        width: 70px;
        height: 70px;
        top: 80%;
        left: 50%;
        animation-delay: 4s;
    }

    .particle:nth-child(6) {
        width: 110px;
        height: 110px;
        top: 10%;
        left: 70%;
        animation-delay: 5s;
        background: var(--secondary-color);
    }

    .particle:nth-child(7) {
        width: 50px;
        height: 50px;
        top: 30%;
        left: 90%;
        animation-delay: 6s;
    }

    .particle:nth-child(8) {
        width: 90px;
        height: 90px;
        top: 20%;
        left: 40%;
        animation-delay: 7s;
        background: var(--accent-color);
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-20px) translateX(10px);
    }

    50% {
        transform: translateY(0) translateX(20px);
    }

    75% {
        transform: translateY(20px) translateX(10px);
    }
}

/* Contact Section */
.contact {
    position: relative;
}

.contact-content {
    display: flex;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
    transition: all var(--transition-speed) ease;
}

    .contact-item:hover {
        transform: translateX(10px);
    }

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all var(--transition-speed) ease;
}

.contact-item:hover .contact-icon {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: rotate(360deg);
}

.contact-text h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-social {
    margin-top: 40px;
}

    .contact-social h3 {
        margin-bottom: 15px;
        font-size: 1.2rem;
    }

.form-group {
    position: relative;
    margin-bottom: 25px;
}

    .form-group input, .form-group textarea {
        width: 100%;
        padding: 15px;
        background-color: var(--background-dark);
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        color: var(--text-primary);
        font-size: 1rem;
        transition: all var(--transition-speed) ease;
    }

    .form-group textarea {
        min-height: 150px;
        resize: vertical;
    }

    .form-group label {
        position: absolute;
        top: 15px;
        left: 15px;
        color: var(--text-secondary);
        transition: all var(--transition-speed) ease;
        pointer-events: none;
    }

    .form-group input:focus, .form-group textarea:focus {
        border-color: var(--primary-color);
        outline: none;
        box-shadow: 0 0 10px rgba(108, 92, 231, 0.3);
    }

        .form-group input:focus ~ label,
        .form-group textarea:focus ~ label,
        .form-group input:not(:placeholder-shown) ~ label,
        .form-group textarea:not(:placeholder-shown) ~ label {
            top: -10px;
            left: 10px;
            font-size: 0.8rem;
            background-color: var(--background-dark);
            padding: 0 5px;
            color: var(--primary-color);
        }

    .form-group input::placeholder, .form-group textarea::placeholder {
        color: transparent;
    }

.glow-on-hover {
    position: relative;
    z-index: 1;
}

    .glow-on-hover:before {
        content: '';
        background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
        position: absolute;
        top: -2px;
        left: -2px;
        background-size: 400%;
        z-index: -1;
        filter: blur(5px);
        width: calc(100% + 4px);
        height: calc(100% + 4px);
        animation: glowing 20s linear infinite;
        opacity: 0;
        transition: opacity .3s ease-in-out;
        border-radius: 50px;
    }

    .glow-on-hover:hover:before {
        opacity: 1;
    }

    .glow-on-hover:after {
        z-index: -1;
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        left: 0;
        top: 0;
        border-radius: 50px;
    }

@keyframes glowing {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.contact-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: var(--background-light);
    clip-path: polygon(0 0, 100% 100%, 100% 100%, 0% 100%);
}

/* Footer */
footer {
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 60px 0;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--text-secondary);
}

.footer-links h3, .footer-newsletter h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .footer-links ul li a {
        color: var(--text-secondary);
        transition: all var(--transition-speed) ease;
        position: relative;
        padding-left: 0;
    }

        .footer-links ul li a::before {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 1px;
            background-color: var(--primary-color);
            transition: width var(--transition-speed) ease;
        }

        .footer-links ul li a:hover {
            color: var(--primary-color);
        }

            .footer-links ul li a:hover::before {
                width: 100%;
            }

.footer-newsletter p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

    .newsletter-form input {
        flex: 1;
        padding: 10px 15px;
        background-color: var(--background-dark);
        border: 1px solid var(--border-color);
        border-radius: 50px;
        color: var(--text-primary);
    }

        .newsletter-form input:focus {
            outline: none;
            border-color: var(--primary-color);
        }

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 999;
}

    .back-to-top.active {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        background-color: var(--secondary-color);
        transform: translateY(-5px);
        box-shadow: 0 0 15px rgba(108, 92, 231, 0.7);
    }

/* Animation Classes */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 0.8s;
}

.reveal-left, .reveal-right, .reveal-up {
    opacity: 0;
    transition: all 1s ease;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up {
    transform: translateY(50px);
}

    .reveal-left.active, .reveal-right.active, .reveal-up.active {
        opacity: 1;
        transform: translate(0);
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    max-width: 400px;
}

.tech-icon {
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: float 6s ease-in-out infinite;
}

    .tech-icon.windows {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%230078D4"><path d="M0,3.5v7.5h10.5V0H0V3.5z M12,0v11h12V0H12z M0,13v7.5h10.5V13H0z M12,13v11h12V13H12z"/></svg>');
        animation-delay: 0.2s;
    }

    .tech-icon.unity {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-unity" viewBox="0 0 16 16"> <path d="M15 11.2V3.733L8.61 0v2.867l2.503 1.466c.099.067.099.2 0 .234L8.148 6.3c-.099.067-.197.033-.263 0L4.92 4.567c-.099-.034-.099-.2 0-.234l2.504-1.466V0L1 3.733V11.2v-.033.033l2.438-1.433V6.833c0-.1.131-.166.197-.133L6.6 8.433c.099.067.132.134.132.234v3.466c0 .1-.132.167-.198.134L4.031 10.8l-2.438 1.433L7.983 16l6.391-3.733-2.438-1.434L9.434 12.3c-.099.067-.198 0-.198-.133V8.7c0-.1.066-.2.132-.233l2.965-1.734c.099-.066.197 0 .197.134V9.8z"/> </svg>');
        animation-delay: 0.4s;
    }

    .tech-icon.database {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 3C7.58 3 4 4.79 4 7V17C4 19.21 7.59 21 12 21S20 19.21 20 17V7C20 4.79 16.42 3 12 3M18 17C18 17.5 15.87 19 12 19S6 17.5 6 17V14.77C7.61 15.55 9.72 16 12 16S16.39 15.55 18 14.77V17M18 12.45C16.7 13.4 14.42 14 12 14C9.58 14 7.3 13.4 6 12.45V9.64C7.47 10.47 9.61 11 12 11C14.39 11 16.53 10.47 18 9.64V12.45M12 9C8.13 9 6 7.5 6 7S8.13 5 12 5C15.87 5 18 6.5 18 7S15.87 9 12 9Z" /></svg>');
        animation-delay: 0.6s;
    }

    .tech-icon.git {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23F05032"><path d="M23.546 10.93L13.067.452c-.604-.603-1.582-.603-2.188 0L8.708 2.627l2.76 2.76c.645-.215 1.379-.07 1.889.441.516.515.658 1.258.438 1.9l2.658 2.66c.645-.223 1.387-.078 1.9.435.721.72.721 1.884 0 2.604-.719.719-1.881.719-2.6 0-.539-.541-.674-1.337-.404-1.996L12.86 8.955v6.525c.176.086.342.203.488.348.713.721.713 1.883 0 2.6-.719.721-1.889.721-2.609 0-.719-.719-.719-1.879 0-2.598.182-.18.387-.316.605-.406V8.835c-.217-.091-.424-.222-.6-.401-.545-.545-.676-1.342-.396-2.009L7.636 3.7.45 10.881c-.6.605-.6 1.584 0 2.189l10.48 10.477c.604.604 1.582.604 2.186 0l10.43-10.43c.605-.603.605-1.582 0-2.187"/></svg>');
        animation-delay: 0.8s;
    }

    .tech-icon.server {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M4,1H20A1,1 0 0,1 21,2V6A1,1 0 0,1 20,7H4A1,1 0 0,1 3,6V2A1,1 0 0,1 4,1M4,9H20A1,1 0 0,1 21,10V14A1,1 0 0,1 20,15H4A1,1 0 0,1 3,14V10A1,1 0 0,1 4,9M4,17H20A1,1 0 0,1 21,18V22A1,1 0 0,1 20,23H4A1,1 0 0,1 3,22V18A1,1 0 0,1 4,17M9,5H10V3H9V5M9,13H10V11H9V13M9,21H10V19H9V21M5,3V5H7V3H5M5,11V13H7V11H5M5,19V21H7V19H5Z" /></svg>');
        animation-delay: 1s;
    }

    .tech-icon.green-server {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2300C853"><path d="M4,1H20A1,1 0 0,1 21,2V6A1,1 0 0,1 20,7H4A1,1 0 0,1 3,6V2A1,1 0 0,1 4,1M4,9H20A1,1 0 0,1 21,10V14A1,1 0 0,1 20,15H4A1,1 0 0,1 3,14V10A1,1 0 0,1 4,9M4,17H20A1,1 0 0,1 21,18V22A1,1 0 0,1 20,23H4A1,1 0 0,1 3,22V18A1,1 0 0,1 4,17M9,5H10V3H9V5M9,13H10V11H9V13M9,21H10V19H9V21M5,3V5H7V3H5M5,11V13H7V11H5M5,19V21H7V19H5Z" /></svg>');
        animation-delay: 1.2s;
    }

    .tech-icon.purple-windows {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%236200EA"><path d="M0,3.5v7.5h10.5V0H0V3.5z M12,0v11h12V0H12z M0,13v7.5h10.5V13H0z M12,13v11h12V13H12z"/></svg>');
        animation-delay: 1.4s;
    }

    .tech-icon.red-database {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23D50000"><path d="M12 3C7.58 3 4 4.79 4 7V17C4 19.21 7.59 21 12 21S20 19.21 20 17V7C20 4.79 16.42 3 12 3M18 17C18 17.5 15.87 19 12 19S6 17.5 6 17V14.77C7.61 15.55 9.72 16 12 16S16.39 15.55 18 14.77V17M18 12.45C16.7 13.4 14.42 14 12 14C9.58 14 7.3 13.4 6 12.45V9.64C7.47 10.47 9.61 11 12 11C14.39 11 16.53 10.47 18 9.64V12.45M12 9C8.13 9 6 7.5 6 7S8.13 5 12 5C15.87 5 18 6.5 18 7S15.87 9 12 9Z" /></svg>');
        animation-delay: 1.6s;
    }


@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Hero image shape'i kaldırıyoruz */
.hero-image {
    display: none;
}

    .tech-icon::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .tech-icon i {
        position: relative;
        z-index: 1;
        font-size: 1.2rem;
    }

    .tech-icon:hover::before {
        opacity: 1;
    }

    .tech-icon:hover {
        transform: translateY(-3px) rotate(360deg);
        box-shadow: 0 0 15px rgba(108, 92, 231, 0.7);
    }
.tech-stack {
    margin-top: 20px;
}

.tech-row {
    display: flex;
    align-items: center;
}

.tech-stack-img {
    max-width: 300px;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

/* Floating icons kısmını kaldırıyoruz */
.floating-icons {
    display: none;
}

/* Hero image shape'i kaldırıyoruz */
.hero-image {
    display: none;
}

@media screen and (max-width: 768px) {
    .tech-stack-img {
        max-width: 250px;
    }
}

@media screen and (max-width: 576px) {
    .tech-stack-img {
        max-width: 200px;
    }
}
.hero-text {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: 1;
}
/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .about-content, .contact-content {
        flex-direction: column;
    }

    .skills-content {
        flex-direction: column;
    }

    .shape {
        width: 400px;
        height: 400px;
    }
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .shape {
        width: 300px;
        height: 300px;
        right: -150px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hello-animation {
        width: 150px;
        height: 150px;
    }
}

@media screen and (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .shape {
        width: 200px;
        height: 200px;
        right: -100px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .project-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }

    .hello-animation {
        width: 120px;
        height: 120px;
    }

}
