/*PROJEDE KULLANILAN FONTLAR*/

/*Google Fonts Inter Font*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* CSS SAYFA RESETLEME BAŞLANGIÇ*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Open Sans", sans-serif;
}

/*Web Sayfası Renkleri*/
/*Root isminde "--" ile değişken oluşturarak rekleri kolayca yönetmeyi amaçladım.*/
:root {
    --background-color: #080808;
    --second-background-color: #131313;
    --text-color: #fff;
    --main-color: #00ffee;
}

/*Html etiketine doğrudan müdahale ederek sayfayı responsive şekilde tasarlamayı kolaylaştırmak için bu şekilde bir tercih yaptım.*/
html {
    font-size: 70%;
    overflow-x: hidden; /*sayfada sodan sağa x düzleminde hareketi engeller.*/
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
}

span {
    color: var(--main-color);
}

section {
    min-height: 100vh;
    padding: 10rem 12% 10rem;
}

/* CSS SAYFA RESETLEME BİTİŞ */


/*HEDER Bölümü Başlangıç*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 4rem 12% 4rem;
    background-color: rgba(0,0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

/*Logo Tasarımı*/
.logo {
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.1);
}

.logo span {
    text-shadow: 0 0 25px var(--main-color);
    color: var(--main-color);
}

/*Nav Bar Tasarımı */
.navbar a {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

.navbar a:hover,
.navbar a:active {
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--main-color);
    display: none;
}

/*HEDER Bölümü Son*/


/*ANASAYFA BÖLÜMÜ BAŞLANGIÇ*/

.home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15rem;
}

.home-content {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    text-align: left;
    margin-top: 3rem;
}

.home-content h1 {
    font-size: 7rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1;
}

.home-content h3 {
  margin-bottom: 2rem;
  margin-top: 1rem;
  font-size: 3.5rem;  
}

.home-img {
    border-radius: 50%;
}

.home-img img {
    width: 32vm;
    position: relative;
    top: 3rem;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.4s ease-in-out;
}

.home-img img:hover {
    box-shadow: 0 0 25px var(--main-color)
    50px var(--main-color),
    0 0 100px var(--main-color);
}

.home-content p {
    font-size: 1.5rem;
    font-weight: 500;
    text-align: justify;
    line-height: 1.8;
    max-width: 1000px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background-color: transparent;
    border: 2px solid var(--main-color);
    font-size: 2.5rem;
    border-radius: 50%;
    color: var(--main-color);
    margin: 2rem 1.5rem 2rem 0;
    transition: 300ms ease-in-out;
}

.social-icons a:hover {
   color: var(--text-color);
   transform: scale(1.3) translateY(-5px);
   box-shadow: 0 0 25px var(--main-color);
   background-color: var(--main-color); 
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 2rem;
    font-size: 1.6rem;
    color: black;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 300ms ease-in-out;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--main-color);
}

.btn-group {
    display: flex;
    align-items: center;
    gap: 1.9rem;
}

.btn-group a:nth-of-type(2) {
    background-color: black;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;
}

.btn-group a:nth-of-type(2):hover {
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
    color: black;
}

/* Text Animasyon Yapımı*/

.text-animation {
    font-size: 34px;
    font-weight: 600;
    /* En uzun kelimeye göre genişliği biraz artırdık */
    min-width: 350px; 
    display: inline-block;
}

.text-animation span {
    position: relative;
    display: inline-block;
}

.text-animation span::before {
    content: "";
    color: var(--main-color);
    /* 7 kelime x 4 saniye = 28s toplam süre */
    animation: words 28s infinite;
}

.text-animation span::after {
    content: "";
    background-color: var(--background-color);
    height: 100%;
    width: calc(100% + 8px);
    position: absolute;
    right: -8px;
    border-left: 3px solid var(--background-color);
    /* Yazma efekti her kelime için 4 saniyede bir başa döner */
    animation: cursor 0.6s infinite, typing 4s steps(20) infinite;
}

@keyframes cursor {
    to {
        border-left: 3px solid var(--main-color);
    }
}

@keyframes words {
    0%, 14.28% { content: "Web Developer'ım"; }
    14.29%, 28.56% { content: "Front-End Developer'ım"; }
    28.57%, 42.84% { content: "Graphic Designer'ım"; }
    42.85%, 57.12% { content: "UI/UX Designer'ım"; }
    57.13%, 71.40% { content: "Computer Teacher'ım"; }
    71.41%, 85.68% { content: "IT Specialist'im"; }
    85.69%, 100% { content: "Content Creator'ım"; }
}

@keyframes typing {
    0% { width: calc(100% + 8px); } /* Kelime gizli başlar */
    30%, 60% { width: 0; }            /* 1.2sn'de yazılır, 2.4sn'ye kadar ekranda kalır */
    90%, 100% { width: calc(100% + 8px); } /* 3.6sn'de silinir ve yeni kelimeye hazırlanır */
}
/*ANASAYFA BÖLÜMÜ BİTİŞ*/


/*EĞİTİM BÖLÜMÜ BAŞLANGIÇ*/

/* Başlık Stili */
.heading {
    text-align: center;
    font-size: 8rem;
    margin: 5rem 0;
}

/* Genel Bölüm Arka Planı */
.education {
    background-color: var(--second-background-color);
    padding: 100px 15px;
}

/* Timeline Ana Kapsayıcı */
.timeline-items {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column; /* Ögeleri alt alta dizer */
    position: relative;
}

/* Ortadan geçen dikey çizgi */
.timeline-items::before {
    content: "";
    position: absolute;
    width: 4px; /* Çizgi genişliği */
    height: 100%;
    background-color: var(--main-color);
    left: 50%; /* Tam ortaya hizalar */
    transform: translateX(-50%); /* Kendi genişliği kadar geri çekerek tam merkezi bulur */
}

/* Her bir içerik ögesi (Satır) */
.timeline-item {
    margin-bottom: 40px;
    width: 100%;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Tek sayılı ögeler (Sol taraf) */
.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
}

/* Çift sayılı ögeler (Sağ taraf) */
.timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
}

/* Çizgi üzerindeki parlayan noktalar */
.timeline-dot {
    height: 20px;
    width: 20px;
    background-color: var(--main-color);
    box-shadow: 0 0 15px var(--main-color), 0 0 30px var(--main-color);
    border-radius: 50%;
    position: absolute;
    left: 50%; /* Merkeze yerleştirir */
    transform: translateX(-50%); /* Tam ortalar */
    top: 10px;    
    z-index: 10; /* Çizginin üstünde görünmesi için */
}

.timeline-date {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 6px 0 15px;
}

/* İçerik Kutusu (Okunabilirliği artırmak için eklenmiştir) */
.timeline-content {
    background-color: var(--background-color); /* Kart arka planı */
    padding: 20px;
    border: 2px solid var(--main-color);
    border-radius: 20px;
    box-shadow: 0 0 10px var(--main-color);
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--main-color);
}

.timeline-content h3 {
    font-size: 25px;
    color: #fff;
    margin: 0 0 10px;
    font-weight: 500;
}

.timeline-content h4 {
    font-size: 20px;
    color: #fff;
    margin: 0 0 10px;
    font-weight: 400;
}

.timeline-content p {
    font-size: 15px;
    font-weight: 300;
    line-height: 22px;
    text-align: justify;
    color: #fff;
    margin: 0 0 10px;
}


/* Scrool Bar değişikliği için ayar yaptım.*/
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
    border-radius: 4px;
}

::-webkit-scrollbar-track {
    background-color: var(--background-color);
    width: 50px;
}

/*EĞİTİM BÖLÜMÜ BİTİŞ*/


/*SERTİFİKALAR BÖLÜMÜ BAŞLANGIÇ*/

.certificates {
    background-color: var(--background-color);
    padding: 10rem 12%; /* Senin orijinal padding değerin */
}

.header-content {
    text-align: center;
    margin-bottom: 6rem;
}

.header-line {
    width: 8rem;
    height: 0.4rem;
    background: var(--main-color);
    margin: 2rem auto;
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(--main-color);
}

/* 2x3 Grid Yapısı (Her satırda 2 kutu) */
.certificates-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 5rem 6rem; /* Satırlar arası 5rem, sütunlar arası 6rem boşluk */
    max-width: 1100px;
    margin: 0 auto;
}

.cert-item {
    display: flex;
    flex-direction: column;
}

/* Dikdörtgen Sertifika Kutusu */
.cert-rect-box {
    width: 100%;
    aspect-ratio: 16 / 9; /* Dikdörtgen form (Standart sertifika oranı) */
    background-color: var(--second-background-color);
    border-radius: 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
}

.cert-rect-box img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Sertifikayı dikdörtgenin içine tam yayar */
    transition: 0.5s ease;
}

/* Hover Efekti */
.cert-item:hover .cert-rect-box {
    border-color: var(--main-color);
    transform: translateY(-0.8rem);
    box-shadow: 0 10px 25px rgba(0, 255, 238, 0.15);
}

.cert-item:hover img {
    transform: scale(1.05); /* Üzerine gelince çok hafif zoom */
}

/* Kutunun Altındaki Detaylar */
.cert-details {
    margin-top: 1.8rem;
    padding-left: 0.5rem;
}

.cert-details h4 {
    font-size: 2rem;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.cert-details span {
    font-size: 1.5rem;
    color: #999;
    display: block;
}

/* Tüm Sertifikalar Butonu */
.btn-container {
    text-align: center;
    margin-top: 8rem;
}

.btn {
    display: inline-block;
    padding: 1.5rem 4rem;
    background-color: var(--main-color);
    color: var(--background-color);
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 4rem;
    transition: 0.3s ease;
    border: 2px solid var(--main-color);
    text-transform: uppercase;
}

.btn:hover {
    background-color: transparent;
    color: var(--main-color);
    box-shadow: 0 0 2rem var(--main-color);
}

/* Mobil Uyumluluk */
@media (max-width: 850px) {
    .certificates-container {
        grid-template-columns: 1fr; /* Mobilde ve küçük tabletlerde tek sütuna düşer */
        gap: 4rem;
    }
}
/*SERTİFİKALAR BÖLÜMÜ BİTİŞ*/


/*HİZMETLER BÖLÜMÜ BAŞLANGIÇ*/
.services {
    background-color: var(--background-color);
    padding: 100px 15px; /* Bölümün üst ve alt boşluğu */
}

.services-container {
    display: grid;
    /* Ekran genişliğine göre kutu sayısını otomatik ayarlar (min 300px) */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2.5rem; /* Kutular arası boşluk */
    max-width: 1200px;
    margin: 0 auto;
}

.services-box {
    background-color: var(--main-color);
    min-height: 350px; /* Sabit height yerine min-height taşmaları önler */
    border-radius: 3rem;
    border: 5px solid transparent; /* Hover'da titremeyi önlemek için görünmez border */
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    display: flex;
    padding: 2rem; /* İçerik ve kenar arası boşluk */
    color: #000; /* Başlangıç yazı rengi */
}

.services-box:hover {
    background-color: #fff; /* Arka plan beyaza döner */
    color: #750c75; /* Yazılar siyaha döner */
    border: 5px solid var(--main-color); /* Kenarlık görünür olur */
    transform: translateY(-10px) scale(1.02); /* Hafif yukarı kalkma ve büyüme */
}

.services-info {
    display: flex;
    flex-direction: column;
    justify-content: center; /* İçeriği dikeyde ortalar */
    text-align: left;
}

.services-info h4 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.services-info p {
    font-size: 1.5rem;
    line-height: 1.6;
    overflow: hidden; 
    /* Çok uzun metinlerin dışarı taşmasını engeller */

}

/*HİZMETLER BÖLÜMÜ BİTİŞ*/


/*BLOG BÖLÜMÜ BAŞLANGIÇ*/
/* Blog Bölümü Genel Ayarları */
.blog {
    background-color: var(--background-color);
    padding: 10rem 12%; /* Mevcut section yapınla uyumlu */
}

.blog-header {
    text-align: center;
    margin-bottom: 5rem;
}

/* Başlık altındaki neon çizgi */
.blog-header .header-line {
    width: 8rem;
    height: 0.4rem;
    background: var(--main-color);
    margin: 2rem auto;
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(--main-color);
}

/* Blog Kartları Düzeni (3'lü Grid) */
.blog-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 eşit sütun */
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Bireysel Kart Tasarımı */
.blog-card {
    display: flex;
    flex-direction: column;
    transition: 0.4s ease;
}

/* Büyük Kare Görsel Kutusu */

.blog {
    background-color: var(--second-background-color);
    padding: 100px 15px;
}

.blog-img-box {
    width: 100%;
    aspect-ratio: 1 / 1; /* Görseli tam kare yapar */
    background-color: var(--second-background-color);
    border-radius: 2rem;
    overflow: hidden;
    border: 2px solid transparent;
    transition: 0.4s ease;
    cursor: pointer;
}

.blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Görseli bozmadan kareye sığdırır */
    transition: 0.5s ease;
}

/* Kart Hover Efekti */
.blog-card:hover .blog-img-box {
    border-color: var(--main-color);
    transform: translateY(-1rem);
    box-shadow: 0 0 2rem rgba(0, 255, 238, 0.2);
}

.blog-card:hover img {
    transform: scale(1.1); /* Görselde hafif yaklaşma efekti */
}

/* Metin Alanı (Görsel Altı) */
.blog-content {
    padding: 2rem 0.5rem;
}

.blog-content h3 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    transition: 0.3s;
}

.blog-card:hover .blog-content h3 {
    color: var(--main-color); /* Hover'da başlık rengi değişir */
}

.blog-content p {
    font-size: 1.5rem;
    color: #ccc; /* Koyu gri/beyaz metin */
    line-height: 1.6;
    /* Metni 3 satırla sınırla, fazlasını "..." yap */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Buton Tasarımı */
.blog-btn-container {
    text-align: center;
    margin-top: 6rem;
}

.blog-btn {
    display: inline-block;
    padding: 1.5rem 3.5rem;
    background-color: var(--main-color);
    color: var(--background-color);
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 4rem;
    border: 2px solid var(--main-color);
    transition: 0.3s ease-in-out;
}

.blog-btn:hover {
    background-color: transparent;
    color: var(--main-color);
    box-shadow: 0 0 2rem var(--main-color);
}

/* Blog Kartı İçindeki Küçük Buton Stili */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2rem;
    padding: 0.8rem 1.5rem;
    color: var(--main-color);
    font-size: 1.4rem;
    font-weight: 600;
    border: 1px solid var(--main-color);
    border-radius: 0.8rem;
    transition: 0.3s ease-in-out;
    text-decoration: none;
}

.read-more i {
    font-size: 1.8rem; /* Ok işareti boyutu */
    transition: 0.3s ease;
}

/* Küçük Buton Hover Efekti */
.read-more:hover {
    background-color: var(--main-color);
    color: var(--background-color);
    box-shadow: 0 0 1.5rem var(--main-color);
}

/* Hover yapıldığında ok işaretinin sağa doğru kayması */
.read-more:hover i {
    transform: translateX(5px);
}

/* Responsive (Mobil Uyumluluk) */
@media (max-width: 992px) {
    .blog-container {
        grid-template-columns: repeat(2, 1fr); /* Tabletlerde 2 kart */
    }
}

@media (max-width: 600px) {
    .blog-container {
        grid-template-columns: 1fr; /* Mobilde tek kart */
    }
    .blog {
        padding: 5rem 5%;
    }
}
/*BLOG BÖLÜMÜ BİTİŞ*/



/*YOUTUBE KANALI BÖLÜMÜ BAŞLAGIÇ*/

/* YouTube Bölümü Genel */
.youtube-section {
    background: var(--background-color);
    padding: 10rem 12%;
    text-align: center;
}

.videos-header {
    margin-bottom: 5rem;
}

/* 3 Sütunlu Video Izgarası */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* Video Kart Tasarımı */
.video-card {
    background: var(--second-background-color);
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.4s ease;
}

.video-card:hover {
    transform: translateY(-1rem);
    border-color: var(--main-color);
    box-shadow: 0 0 25px rgba(0, 255, 238, 0.15);
}

/* Video Oranı (16:9) Koruma */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 2rem 2rem 0 0;
}

/* Video Alt Bilgisi */
.video-info {
    padding: 2rem;
    text-align: left;
}

.video-info h4 {
    font-size: 1.8rem;
    color: var(--text-color);
    line-height: 1.4;
    font-weight: 600;
}

/* YouTube Butonu */
.youtube-footer {
    margin-top: 5rem;
}

.yt-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 4rem;
    background: transparent;
    border: 2px solid #ff0000; /* YouTube Kırmızısı */
    border-radius: 1.5rem;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.yt-btn:hover {
    background: #ff0000;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.4);
    transform: scale(1.05);
}

/* Mobil Uyumluluk */
@media (max-width: 1024px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
    .youtube-section {
        padding: 5rem 5%;
    }
}

/*YOUTUBE KANALI BÖLÜMÜ BİTİŞ*/



/*PROJELER BÖLÜMÜ BAŞLANGIÇ*/

/* Projeler Genel Alanı */

.projects {
    background: var(--background-color);
    padding: 10rem 12%;
}

.projects-header {

    text-align: center;
    margin-bottom: 5rem;
}

.category-subtitle {
    font-size: 2.6rem;
    color: var(--text-color);
    margin: 6rem 0 3rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.category-subtitle i {
    color: var(--main-color);
}

/* 3 Sütunlu Grid Yapısı */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Yan yana 3 kart */
    gap: 3.5rem;
}

/* Kart Genel Tasarımı */
.project-card {
    background: var(--second-background-color);
    border-radius: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-1.5rem);
    border-color: var(--main-color);
    box-shadow: 0 15px 35px rgba(0, 255, 238, 0.1);
}

/* Görsel Konteynırı */
.project-img-container {
    width: 100%;
    height: 22rem; /* Dikdörtgen görsel alanı */
    overflow: hidden;
}

.project-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.project-card:hover .project-img-container img {
    transform: scale(1.1); /* Hover'da görsel yaklaşır */
}

/* İçerik Alanı */
.project-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h4 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: var(--text-color);
}

.project-content p {
    font-size: 1.4rem;
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Teknoloji Etiketleri (Badge) */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}

.tech-stack span {
    background: rgba(0, 255, 238, 0.05);
    padding: 0.5rem 1.2rem;
    border-radius: 5rem;
    font-size: 1.2rem;
    border: 1px solid rgba(0, 255, 238, 0.2);
    color: var(--main-color);
}

/* Gradyan Buton (Mor-Pembe Geçişli) */
.project-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1.3rem;
    background: linear-gradient(90deg, #00ffee, #00ffee);
    color: #fff;
    border-radius: 1.2rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: auto; /* Butonu her zaman en alta sabitler */
    transition: 0.3s ease;
}

.project-btn:hover {
    box-shadow: 0 0 2rem var(--main-color);
    transform: scale(1.03);
}

/* GitHub Alanını Saran ve Ortaya Alan Bölüm */
.more-projects-wrapper {
    width: 100%;
    display: flex;
    justify-content: center; /* Yatayda tam orta */
    padding: 6rem 0; /* Üst ve alttan boşluk */
    grid-column: 1 / -1; /* Eğer bir grid içindeyse tüm satırı kaplar */
}

.more-projects-box {
    width: 100%;
    max-width: 1100px; /* Yayvan görünüm için ideal genişlik */
    background: linear-gradient(135deg, rgba(19, 19, 19, 0.9), rgba(8, 8, 8, 0.95));
    border: 1px solid rgba(0, 255, 238, 0.2);
    border-radius: 2.5rem;
    padding: 5rem 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 238, 0.05);
    transition: 0.3s;
}

.more-projects-box:hover {
    border-color: var(--main-color);
    box-shadow: 0 10px 50px rgba(0, 255, 238, 0.1);
}

.more-icon {
    font-size: 3.5rem;
    color: #ffcc00;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.4));
}

.more-content h3 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.more-content p {
    font-size: 1.6rem;
    color: #ccc;
    max-width: 800px; /* Metnin çok uzayıp okunurluğu bozmasını engeller */
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* GitHub Butonu (Outline Neon Stil) */
.github-full-btn {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 3.5rem;
    background: transparent;
    border: 2px solid var(--main-color);
    border-radius: 1.2rem;
    color: var(--main-color);
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.4s ease;
}

.github-full-btn:hover {
    background: var(--main-color);
    color: #000;
    box-shadow: 0 0 25px var(--main-color);
    transform: translateY(-3px);
}

/* Mobil için esneklik */
@media (max-width: 768px) {
    .more-projects-box {
        padding: 4rem 2rem;
    }
    
    .more-content h3 {
        font-size: 2.6rem;
    }
}

/*PROJELER BÖLÜMÜ BİTİŞ*/



/*YETENEKLER BÖLÜMÜ BAŞLANGIÇ*/

/* 1. Başlık Üstündeki Kod Rozeti (Badge) */

.skills {
    background: var(--second-background-color);
}

.file-badge {
    display: inline-block;
    background: var(--second-background-color);
    border: 1px solid #333; /* Hafif belirgin sınır */
    padding: 0.5rem 1.5rem;
    border-radius: 0.8rem;
    font-family: monospace; /* Kod görünümü için */
    font-size: 1.4rem;
    color: var(--main-color); /* Neon renk */
    margin-bottom: 2rem;
}

/* 2. Başlık ve Açıklama Alanı */
.skills-header {
    text-align: center;
    margin-bottom: 6rem; /* Alt kısımla ferah bir boşluk */
}

.skills-header .heading {
    margin: 1rem 0;
    font-size: 5rem;
}

.skills-header p {
    font-size: 1.6rem;
    color: #fff;
    max-width: 650px; /* Okunabilirlik için metin genişliği sınırlandı */
    margin: 0 auto;
    line-height: 1.6; /* Satır aralığı metni rahatlatır */
}

/* 3. Başlık Altındaki Neon Çizgi */
.header-line {
    width: 6rem;
    height: 0.4rem;
    background: var(--main-color);
    margin: 2rem auto;
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(--main-color); /* Neon parlama efekti */
}

/* 4. Yetenek Kartları Konteynırı (Grid Düzeni) */
.skills-container {
    display: grid;
    /* Responsive Yapı: Ekran boyutuna göre kutu genişliğini otomatik ayarlar */
    grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

/* 5. Bireysel Yetenek Kartı (Card) */
.skills-card {
    background: var(--background-color);
    border: 0.2rem solid #fff; /* Hover'da titremeyi önlemek için başlangıç border'ı */
    border-radius: 2.5rem;
    padding: 3rem;
    transition: all 0.4s ease-in-out; /* Akıcı animasyon */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 32rem; /* Kartların boyunu eşitler */
    overflow: hidden;
}

/* Kart Hover Efekti */
.skills-card:hover {
    border-color: var(--main-color); /* Kenarlar parlar */
    transform: translateY(-1rem); /* Hafif yukarı kalkma */
    background: rgba(255, 255, 255, 0.02); /* Çok hafif aydınlanma */
    box-shadow: 0 0 2rem rgba(0, 255, 238, 0.1);
}

/* 6. Kategori Başlığı (Frontend, Backend vb.) */
.category-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* 7. Yetenek Öğeleri Grid Yapısı (Kart İçindeki Kutucuklar) */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Kutucukları 2 sütun yapar */
    gap: 1.2rem;
}

/* 8. Her Bir Yetenek Kutucuğu (Item) */
.skill-item {
    background: rgba(255, 255, 255, 0.05); /* Şeffaf zemin */
    padding: 1.5rem;
    border-radius: 1.5rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: left; /* Metni merkeze alır */
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    font-weight: 500;
}

/* Kutucuk Hover Efekti */
.skill-item:hover {
    background: rgba(0, 255, 238, 0.1); /* Neon rengin hafif şeffaf hali */
    border-color: var(--main-color);
    color: var(--main-color);
}

/* Yazıların Yanındaki Küçük Parlayan Nokta (Opsiyonel Kullanım) */
.skill-dot {
    height: 0.8rem;
    width: 0.8rem;
    background-color: var(--main-color);
    border-radius: 50%;
    box-shadow: 0 0 0.8rem var(--main-color);
    flex-shrink: 0; /* Noktanın ezilmesini engeller */
}

/* 9. Mobil Uyumluluk (Responsive) */
@media (max-width: 768px) {
    .skills-header .heading {
        font-size: 3.5rem; /* Küçük ekranlarda başlık küçültüldü */
    }
    
    .skills-grid {
        /* Mobilde kutucuklar çok daralırsa tek sütuna düşürebilirsin */
        grid-template-columns: repeat(2, 1fr); 
    }
}

/*YETENEKLER BÖLÜMÜ BİTİŞ*/


/*SİZDEN GELENLER BÖLÜMÜ BAŞALNGIÇ*/

.testimonials {
    background: var(--background-color);
}

.testimonials-box {
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.testimonials-box img {
    width: 16rem;
    border-radius: 50%;
    border: 3px solid var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
}
    
.wrapper {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 3rem;
}

.testimonial-item {
    min-height: 550px;
    max-width: 450px;
    background-color: var(--second-background-color);
    border: 3px solid rgba(238, 238, 238, 0.2);
    border-radius: 2rem;
    margin: 0 2rem;
    padding: 30px 60px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    color: #fff;
    transition: 0.5s ease-in-out;
}

.testimonial-item:hover {
    border: 3px solid var(--main-color);
    box-shadow: 0 0 50px var(--main-color);
}

.testimonial-item h2 {
    font-size: 2.8rem;
}

.testimonial-item p {
    font-size: 1.3rem;
    text-align: center;
}

.bxs-star {
    font-size: 2rem;
}

.testimonial-item:nth-child(2) {
    border: 3px solid var(--main-color);
    box-shadow: 0 0 50px var(--main-color);
    transform: scale(1.1);
    animation: lighting 1s infinite alternate;
}

/*SİZDEN GELENLER BÖLÜMÜ BİTİŞ*/


/*İLETİŞİM BÖÜMÜ BAŞLANGIÇ*/

/* İletişim Bölümü Genel */
.contact {
    background: var(--second-background-color);
    padding: 10rem 12%;
    text-align: center;
}

.contact-header {
    margin-bottom: 5rem;
}

.contact-header p.sub-text {
    font-size: 1.6rem;
    color: #ccc;
    margin-top: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-main {
    margin-bottom: 6rem;
}

.contact-main h3 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
}

.contact-main p {
    font-size: 1.6rem;
    color: #aaa;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* E-posta Gösterim Kutusu */
.email-display {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 3rem;
    background: var(--background-color));
    border: 3px solid rgba(0, 255, 238, 0.2);
    border-radius: 1.5rem;
    font-size: 1.8rem;
    color: var(--main-color);
}

/* 4'lü Kart Gridi */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 kutu yan yana */
    gap: 2.5rem;
    margin-top: 4rem;
}

.contact-card {
    background: var(--background-color);
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-radius: 2rem;
    padding: 4rem 2rem;
    text-decoration: none;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-1rem);
    border-color: var(--main-color);
    box-shadow: 0 10px 30px rgba(0, 255, 238, 0.1);
}

/* İkon Stilleri */
.card-icon {
    width: 6rem;
    height: 6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    margin-bottom: 2rem;
    transition: 0.3s;
    color: var(--main-color); /* Neon mavi */
}

/* Görseldeki gibi her ikon kutusuna hafif farklı bir dokunuş */
.contact-card:hover .card-icon {
    background: var(--main-color);
    color: var(--background-color);
    box-shadow: 0 0 20px var(--main-color);
}

.contact-card h4 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.8rem;
}

.contact-card p {
    font-size: 1.4rem;
    color: #888;
}

/* Mobil Uyumluluk */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablette 2x2 */
    }
}

@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
    }
    .contact {
        padding: 5rem 5%;
    }
}
/*İLETİŞİM BÖLÜMÜ BİTİŞ*/


/*FOOTER BÖLÜMÜ BAŞLANGIÇ*/

.footer {
    background: var(--background-color);
    padding: 8rem 2rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo ve İsim */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.logo-box {
    background: linear-gradient(135deg, var(--main-color), #bc13fe); /* Neon maviden mora geçiş */
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.4rem;
    color: #fff;
    transform: rotate(-10deg);
}

.footer-logo h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
}

.footer-logo h2 span {
    color: var(--main-color);
}

.footer-tagline {
    font-size: 1.6rem;
    color: #888;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.footer-desc {
    font-size: 1.6rem;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 4rem;
}

/* Sosyal Medya İkonları */
.footer-socials {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-socials a {
    width: 5rem;
    height: 5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    transition: 0.3s ease;
}

.footer-socials a:hover {
    color: var(--main-color);
    border-color: var(--main-color);
    background: rgba(0, 255, 238, 0.05);
    box-shadow: 0 0 15px rgba(0, 255, 238, 0.2);
    transform: translateY(-5px);
}

/* Bilgi ve Telif Hakkı */
.footer-info {
    margin-bottom: 3rem;
    font-size: 1.4rem;
    color: #888;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.3rem;
    color: #666;
}

/* Mobil Uyumluluk */
@media (max-width: 600px) {
    .footer-logo h2 { font-size: 2.4rem; }
    .footer-desc { font-size: 1.4rem; }
}

/*FOOTER BÖLÜMÜ BİTİŞ*/


/*MEDYA SORGULARI BAŞLANGIÇ*/
@media (max-width: 1285px) {
    html {
        font-size: 55%;
    }

    .services-container {
        padding-bottom: 7rem;
        grid-template-columns: repeat(2,1fr);
        margin: 0 5rem;  
    }
}

@media (max-width: 991px) {
    header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .timeline-item::before {
        left: 7px;
    }

    .timeline-item:nth-child(odd) {
        padding-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 37px;
    }

    .timeline-dot {
        left: 0;
    }

    .testimonials .wrapper {
        grid-template-columns: repeat(1,1fr);
    }

    .footer {
        padding: 2rem 3%;
    
    }
}

@media (max-width: 895px) {
    #menu-icon {
        display: block; /* Hamburger ikonunu görünür yapar */
        cursor: pointer;
        font-size: 3rem; /* İkon boyutu */
        color: var(--text-color);
    }
    
    .navbar {
        position: absolute;
        top: 100%;
        right: -100%; /* Menüyü başlangıçta ekranın sağ dışına gizledim */
        width: 50%;
        padding: 1rem 3%;
        background-color: rgba(0, 0, 0, 0.9); /* 8 yerine 0.9 yapıldı */
        backdrop-filter: blur(20px);
        border-bottom-left-radius: 2rem;
        border-left: 2px solid var(--main-color);
        border-bottom: 2px solid var(--main-color);
        transition: 0.4s ease; /* Menünün kayarak gelmesi için */
        
        /* display: none; kaldırıldı çünkü animasyonu bozar, bunun yerine right kullanıyoruz */
    }

    /* JavaScript tıklandığında bu sınıf devreye girer */
    .navbar.active {
        right: 0; /* Gizli menüyü ekrana getirir */
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: #fff;
    }

    .home {
        flex-direction: column-reverse;
        margin: 5rem 4rem;
    }

    .home-content h3 {
        font-size: 2.6rem;
    }

    .home-content h1 {
        font-size: 8rem;
        margin-top: 3rem;
    }

    .header-content p {
        max-width: 600px;
    }

    .home-img img {
        width: 56vw;
    }

    .services h2 {
        margin-bottom: 3rem;
    }

    .services-container {
        grid-template-columns: repeat(1,1fr);
    }
}

@media (max-width: 575px) {
    .header a {
        font-size: 2.2rem;
    }

    .home {
        gap: 5rem;
        width: 100%;
        margin: 0;
    }

    .home-content h1 {
        font-size: 5rem;
        margin-bottom: 5rem;
    }

    .home-content h3 {
        font-size: 3.5rem;
    }

    .home-content p {
        font-size: 2rem;
    }

    .home-content .social-icons, .btn-group {
        margin: 0 auto;
    }

    .header-content .social-icons a {
        width: 6rem;
        height: 6rem;
    }

    .home-content .btn-group .btn {
        font-size: 2rem;
    }

    .education {
        width: 100%;
    }

    .education h2 {
        font-size: 6rem;
    }

    h2.heading {
        font-size: 4.5rem !important;
    }

    .services-container {
        margin: 0;
    }

    .services-info {
        padding: 0rem 2rem;
    }

    .services-info h4 {
        line-height: 1;
        margin-bottom: 14px;
    }

    .services-info p {
        font-size: 1.7rem;
        line-height: 1;
    }

    .testimonial-item:nth-child(2) {
        border: none;
        box-shadow: none;
        transform: scale(1);
        animation: none;
        min-height: 550px;
        max-width: 450px;
        background-color: rgba(0, 0, 0, 0.5);
        border: 3px solid rgba(238, 238, 238, 0.2);
        border-radius: 2rem;
        margin: 0 2rem;
        padding: 30px 60px;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        color: #fff;
        transition: 0.4s ease-in-out;
    }

    .testimonial-item:hover {
        border: 3px solid var(--main-color);
        box-shadow: 0 0 50px var(--main-color);
    }
}

/* --- PROJELER BÖLÜMÜ RESPONSIVE AYARLARI --- */

/* Tablet ve Küçük Ekranlar (Laptops) */
@media (max-width: 1200px) {
    .projects {
        padding: 8rem 5%; /* Yanlardaki %12 boşluğu azaltarak içeriğe yer açar */
    }

    .projects-grid {
        gap: 2.5rem; /* Kartlar arası boşluğu daraltır */
    }
}

/* Tablet Modu (Portre) */
@media (max-width: 991px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr); /* 3 sütundan 2 sütuna düşer */
    }

    .category-subtitle {
        font-size: 2.2rem; /* Başlığı hafif küçültür */
    }
}

/* Büyük Telefonlar ve Küçük Tabletler */
@media (max-width: 768px) {
    .projects {
        padding: 6rem 3%;
    }

    .projects-grid {
        grid-template-columns: 1fr; /* Kartları alt alta (tek sütun) dizer */
        max-width: 500px; /* Kartların aşırı yayılmasını önlemek için merkezde toplar */
        margin: 0 auto;
    }

    .project-img-container {
        height: 25rem; /* Mobilde görselin daha net görünmesi için yüksekliği artırır */
    }

    .more-projects-box {
        padding: 4rem 2rem;
        margin: 0 1rem;
    }

    .more-content h3 {
        font-size: 2.4rem;
    }

    .more-content p {
        font-size: 1.4rem;
    }
}

/* Küçük Telefonlar */
@media (max-width: 480px) {
    .projects-header h2.heading {
        font-size: 3.5rem !important; /* Ana başlığı küçültür */
    }

    .project-content h4 {
        font-size: 1.8rem; /* Kart başlıklarını küçültür */
    }

    .github-full-btn {
        width: 100%; /* Butonu tam genişlik yapar */
        justify-content: center;
        padding: 1.2rem 1.5rem;
    }
}
/*MEDYA SORGULARI BİTİŞ*/