/* Global Styles */
body {
    background-color: #000000; /* Dark background */
    color: #ffffff; /* Light text */
}
.about-section {
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(65, 9, 9, 0.8)); /* Dark gradient background */
    border-radius: 10px; /* Rounded corners */
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5); /* Soft shadow around the section */
    color: #f4f4f4; /* Light text color for readability */
}

.about-section h2 {
    font-size: 2.5em;
    color: #fff; /* White text for the heading */
    font-weight: 600;
}

.about-section .lead {
    font-size: 1.2em;
    color: #f0f0f0;
    line-height: 1.6; /* Better readability */
    font-family: 'Arial', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Adds a subtle text shadow */
}

.about-section .text-center {
    text-align: center;
}
h5{
    margin-top: 30px;
}
h1, h2, h3 {
    color: #fff; /* White color for headings */
}

.c {
    border: #333 5px solid;
    border-radius: 20px;
}

.i{
    border: #333 5px solid;
    border-radius: 20px;
}
.horse{
    background-image: url(https://www.horse.cars/app/uploads/2024/02/hp-banner-desktop-2024-v2.jpg.webp) ;
    background-size: cover; /* Ensures the image covers the whole element */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
}
.eva{
    background-color: #13083a;
}
.magicpay{
    background-image: url(magicpay.png) ;
    background-size: cover; /* Ensures the image covers the whole element */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
}
.cap{
    background-image: url(https://static.vecteezy.com/system/resources/thumbnails/048/956/212/small_2x/abstract-rings-becoming-wider-motion-circular-silhouettes-pulsating-and-spreading-all-over-the-screen-video.jpg) ;
    background-size: cover; /* Ensures the image covers the whole element */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
}
.arvis{
    background-image: url(https://www.shutterstock.com/image-photo/abstract-geometrical-background-futuristic-technology-600nw-631636766.jpg) ;
    background-size: cover; /* Ensures the image covers the whole element */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
}
.intellica{
    background-image: url(https://static.wixstatic.com/media/de00e2_9cd63a317e79484890327b53e4321672~mv2.png/v1/fill/w_647,h_918,al_c,q_90,enc_avif,quality_auto/Frame%20427321394.png) ;
    background-size: cover; /* Ensures the image covers the whole element */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
}
.ford{
    background-image: url(https://www.fordotosan.com.tr/documents/Icerik/Faaliyetlerimiz/motor-teknolojileri-3.jpg) ;
    background-size: cover; /* Ensures the image covers the whole element */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
}
.vervo{
    background-image: url(https://www.vervo.com.tr/images/section5_1.jpg) ;
    background-size: cover; /* Ensures the image covers the whole element */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
}
ul {
    list-style-type: none;
    padding-left: 0;
}

/* Section Padding */
section {
    padding: 40px 0;
}

footer {
    width: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(65, 9, 9, 0.8));
    color: #f7f7f7;
}
/* Timeline container */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    padding-left: 0;
    position: relative;
}

/* Timeline hattı */
.timeline::before {
    content: '';
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    top: 0;
    z-index: 1;
    transform: translateX(-50%);
}

/* Her bir item için düzen */
.timeline-item {
    display: flex;
    position: relative;
    width: 100%;
}

/* Tek sayılı öğeler (sol taraf) */
.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

/* Çift sayılı öğeler (sağ taraf) */
.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

/* İçerik kutuları için genel stil */
.timeline-content {
    padding: 20px;
    border-radius: 10px;
    width: 45%;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sol hizalanmış içerik (tekli öğeler) */
.timeline-item:nth-child(odd) .timeline-content {
    background-color: #ffffff;
}

/* Sağ hizalanmış içerik (çiftli öğeler) */
.timeline-item:nth-child(even) .timeline-content {
    background-color: #ffffff;
}

/* Çizgiler için yuvarlak işaretler */
.timeline-item::before {
    content: '';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #af0c07;
    left: 50%;
    width: 20px;
    height: 20px;
    z-index: 2;
    top: 20px;
    transform: translateX(-50%);
}

/* Hover efekti */
.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.timeline-item h5 {
    font-size: 1.2rem;
    color: #6a1a08;
}

.timeline-item p {
    font-size: 1rem;
    color: #434343;
}



/* Ana konteyner stilini ayarlama */
.achievement-section {
    background-color: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(65, 9, 9, 0.8)); 
    padding: 40px 0;
    border-radius: 15px;
    margin-bottom: 30px;
}

.achievement-section h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.achievements-list {
    list-style: none;
    padding-left: 0;
    max-width: 800px;
    margin: 0 auto;
}

.achievement-item {
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(65, 9, 9, 0.8)); 
    border: #333 5px solid;
    border-left: 8px solid #e82222;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}
/* Hover efekti */
.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Badge stil */
.achievement-badge {
    min-width: 40px;
    height: 40px;
    background: #e82222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    margin-right: 20px;
    box-shadow: 0 3px 8px rgba(34, 192, 232, 0.3);
}

/* İçerik stil */
.achievement-content {
    flex: 1;
}

.achievement-title {
    color: white;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.achievement-place {
    color: #e82222;
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-block;
    margin-right: 10px;
}

.achievement-project {
    color: #d4d9df;
    font-style: italic;
}

/* Küçük ekranlarda responsive düzenleme */
@media (max-width: 768px) {
    .achievement-item {
        padding: 15px;
    }
    
    .achievement-badge {
        min-width: 30px;
        height: 30px;
        margin-right: 15px;
    }
    
    .achievement-title {
        font-size: 1rem;
    }
}

/* Ana proje bölümü için stilllendirme */
.projects-section {
    padding: 40px 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.projects-section h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.projects-section h4 {
    color: #e82222;
    margin: 30px 0 20px;
    font-weight: 600;
    border-left: 4px solid #e82222;
    padding-left: 12px;
}

/* Canlı projeler bölümü */
.live-projects {
    margin-bottom: 40px;
}

.project-card {
    background: linear-gradient(90deg, #000000, #5e0404);
    border-radius: 10px;
    border-top: #333 5px solid;
    border-bottom: #333 5px solid;
    border-right: #333 5px solid;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(90deg, #e82222, #5e0404);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.project-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e82222;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 3px 8px rgba(34, 192, 232, 0.3);
    flex-shrink: 0;
}

.project-icon i {
    color: white;
    font-size: 1.5rem;
}

.project-content {
    flex: 1;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.project-description {
    color: #d4d9df;
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.project-link {
    color: #8f0808;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #ff5733;
}

.project-link i {
    margin-left: 5px;
    font-size: 0.9rem;
}

/* GitHub Projeler Bölümü */
.github-projects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.github-card {
    background: linear-gradient(135deg, rgba(98, 12, 12, 0.8), rgba(35, 35, 35, 0.9));
    border-radius: 10px;
    border-right: #333 5px solid;
    border-left: #333 5px solid;
    border-bottom: #333 5px solid ;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.github-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #db0707, #7f0707);
}

.github-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.github-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.github-icon {
    color: #ffffff;
    font-size: 1.5rem;
    margin-right: 10px;
}

.github-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.github-description {
    color: #d4d9df;
    flex-grow: 1;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.github-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.github-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

.github-stat {
    display: flex;
    align-items: center;
    color: #bbbbbb;
    font-size: 0.85rem;
}

.github-stat i {
    margin-right: 5px;
    font-size: 0.9rem;
}

.github-language {
    display: flex;
    align-items: center;
    color: #bbbbbb;
    font-size: 0.85rem;
}

.language-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
}

.language-javascript { background-color: #f1e05a; }
.language-html { background-color: #e34c26; }
.language-css { background-color: #563d7c; }
.language-python { background-color: #3572A5; }
.language-typescript { background-color: #2b7489; }
.language-java { background-color: #b07219; }
.language-csharp { background-color: #178600; }

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .github-projects {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .project-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
}






/* Ana skills bölümü için stilllendirme */
.skills-section {
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

/* Arka plan dekoratif elementleri */
.skills-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(34, 192, 232, 0.1) 0%, rgba(34, 192, 232, 0) 70%);
    border-radius: 50%;
}

.skills-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(156, 39, 176, 0.1) 0%, rgba(156, 39, 176, 0) 70%);
    border-radius: 50%;
}

.skills-section h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Başlık altındaki dekoratif çizgi */
/* .skills-section h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff5733, #9c27b0);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
} */

/* Skill Tag Cloud stillleri */
.skills-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.skill-tag {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
}

/* Farklı kategorilerde farklı ana renkler */
.skill-tag.backend {
    background: linear-gradient(135deg, #283593, #1565c0);
    color: white;
}

.skill-tag.frontend {
    background: linear-gradient(135deg, #d32f2f, #c2185b);
    color: white;
}

.skill-tag.database {
    background: linear-gradient(135deg, #00796b, #00acc1);
    color: white;
}

.skill-tag.design {
    background: linear-gradient(135deg, #6a1b9a, #4527a0);
    color: white;
}

.skill-tag.ml {
    background: linear-gradient(135deg, #558b2f, #00695c);
    color: white;
}

.skill-tag.tools {
    background: linear-gradient(135deg, #e65100, #f57c00);
    color: white;
}

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

.skill-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.skill-tag:hover::before {
    transform: translateX(0);
}

/* Skill kategori bölümleri */
.skills-category {
    margin-bottom: 30px;
}

.category-title {
    color: #e82222;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.category-title::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 2px;
    background: #e82222;
    margin-right: 10px;
}

/* Yetenek çubukları */
.skill-bars-container {
    margin-top: 30px;
}

.skill-bar {
    margin-bottom: 25px;
}

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

.skill-name {
    color: #ffffff;
    font-weight: 500;
}

.skill-percentage {
    color: #ffffff;
    font-weight: 600;
}

.skill-progress {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.skill-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(to right, #e82222, #721111);
    transition: width 1.5s ease-in-out;
    width: 0;
}

/* Yetenek seviyesi rozeti */
.skill-level {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    margin-left: 8px;
}

.level-expert {
    background-color: rgba(76, 175, 80, 0.8);
    color: white;
}

.level-advanced {
    background-color: rgba(33, 150, 243, 0.8);
    color: white;
}

.level-intermediate {
    background-color: rgba(255, 152, 0, 0.8);
    color: white;
}

.level-beginner {
    background-color: rgba(244, 67, 54, 0.8);
    color: white;
}

/* Animasyon */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-tag {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.skill-tag:nth-child(1) { animation-delay: 0.1s; }
.skill-tag:nth-child(2) { animation-delay: 0.2s; }
.skill-tag:nth-child(3) { animation-delay: 0.3s; }
.skill-tag:nth-child(4) { animation-delay: 0.4s; }
.skill-tag:nth-child(5) { animation-delay: 0.5s; }
.skill-tag:nth-child(6) { animation-delay: 0.6s; }
.skill-tag:nth-child(7) { animation-delay: 0.7s; }
.skill-tag:nth-child(8) { animation-delay: 0.8s; }
.skill-tag:nth-child(9) { animation-delay: 0.9s; }
.skill-tag:nth-child(10) { animation-delay: 1.0s; }
.skill-tag:nth-child(11) { animation-delay: 1.1s; }
.skill-tag:nth-child(12) { animation-delay: 1.2s; }
.skill-tag:nth-child(13) { animation-delay: 1.3s; }
.skill-tag:nth-child(14) { animation-delay: 1.4s; }
.skill-tag:nth-child(15) { animation-delay: 1.5s; }
.skill-tag:nth-child(16) { animation-delay: 1.6s; }
.skill-tag:nth-child(17) { animation-delay: 1.7s; }
.skill-tag:nth-child(18) { animation-delay: 1.8s; }
.skill-tag:nth-child(19) { animation-delay: 1.9s; }
.skill-tag:nth-child(20) { animation-delay: 2.0s; }
.skill-tag:nth-child(21) { animation-delay: 2.1s; }
.skill-tag:nth-child(22) { animation-delay: 2.2s; }
.skill-tag:nth-child(23) { animation-delay: 2.3s; }
.skill-tag:nth-child(24) { animation-delay: 2.4s; }
.skill-tag:nth-child(25) { animation-delay: 2.5s; }


/* Mobil cihazlar için düzenleme */
@media (max-width: 768px) {
    .skills-cloud {
        justify-content: flex-start;
    }
    
    .skill-tag {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}