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

body {
    font-family: Arial, sans-serif;
    background-color:whitesmoke; /* Arka plan whitesmoke */
    color: black; /* Yazı rengi siyah */
    height: 200vh;
}
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}
#container {
    width: 100%;
    padding-top: 10vh; /* Header yüksekliği kadar boşluk bırakıyoruz */
}

/* Header */
#header {
    position: fixed; /* Sabitleme */
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 10vh;
    padding: 0 20px;
    background-color: whitesmoke; /* Header arka planı whitesmoke */
    color: black; /* Yazı rengi siyah */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Hafif gölge efekti */
    border-bottom: 2px solid black; /* Header altına siyah çizgi */
    z-index: 1001; /* CV panelinin (z-index: 1000) üstünde olmalı */
}
/* Yazı */
#yazı {
    font-size: 1.5em;
    font-weight: bold;
}

/* Menü */
#menü {
    display: flex;
    gap: 20px;
}

#menü a {
    color:black; /* Yazı rengi siyah */
    text-decoration: none;
    font-size: 1.2em;
    padding: 5px 0; /* Menü elemanlarına iç boşluk */
    border-bottom: 2px solid transparent; /* Başlangıçta çizgi görünmesin */
    transition: border-bottom 0.3s;
}

#menü a:hover {
    border-bottom: 2px solid black; /* Hoverda siyah alt çizgi */
}

/* Sağ Menü */
#menü-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Header içindeki butonlar (CV ve Türkçe) */
#menü-right button {
    padding: 8px 12px;
    font-size: 1em;
    border: 1px solid black; /* Kenar siyah */
    background-color: black; /* Arka plan siyah */
    color: whitesmoke; /* Yazı whitesmoke */
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

#menü-right button:hover {
    background-color: whitesmoke; /* Hoverda arka plan whitesmoke */
    color: black; /* Yazı rengi siyah */
    border: 1px solid black;
}

/* Header içindeki select */
#menü-right select {
    padding: 8px 12px;
    font-size: 1em;
    border: 1px solid black;
    background-color: black;
    color: whitesmoke;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

#menü-right select:hover {
    background-color: whitesmoke;
    color: black;
    border: 1px solid black;
}

/* CV Paneli */
#cv-panel {
    position: fixed;
    top: 0;
    right: -450px; /* Başlangıçta gizli */
    width: 450px;
    height: 100vh;
    background-color: whitesmoke;
    color: black;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.5);
    transition: right 0.5s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
}

/* Açıldığında */
#cv-panel.open {
    right: 0;
}

#cv-placeholder {
    text-align: center;
    padding: 20px;
}

#cv-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* İndirme linkleri */
#cv-downloads a {
    text-decoration: none;
    background-color: black; /* İndirme link arka planı siyah */
    color: whitesmoke; /* Yazı whitesmoke */
    padding: 12px 15px;
    border-radius: 5px;
    margin: 10px 0;
    width: 100%;
    display: inline-block;
    text-align: center;
    border: 1px solid black;
    transition: background-color 0.3s, color 0.3s;
}

#cv-downloads a:hover {
    background-color: whitesmoke; /* Hoverda arka plan whitesmoke */
    color: black; /* Yazı rengi siyah */
}

/* Kapatma butonu */
#cv-panel button {
    padding: 8px 12px;
    font-size: 1em;
    border: 1px solid black;
    background-color: black;
    color:whitesmoke;
    cursor: pointer;
    border-radius: 5px;
    align-self: flex-start;
    transition: background-color 0.3s, color 0.3s;
}

#cv-panel button:hover {
    background-color: whitesmoke;
    color: black;
}

/* Menü Responsive Ayarları */
@media (max-width: 768px) {
    #menü {
        flex-direction: column;
        align-items: center;
    }

    #menü-right {
        flex-direction: column;
        align-items: center;
    }

    #menü a {
        font-size: 1.5em;
    }

    #menü-right button, 
    #menü-right select {
        font-size: 1.2em;
    }
}

/* Hakkımda Bölümü */
#hakkimda {
    display: flex;
    align-items: flex-start; 
    justify-content: center;
    height: 400px;
    margin-top: 140px; /* Header'dan biraz daha fazla boşluk */
    padding: 0 40px; /* Sağ ve sol kenarlardan boşluk */
    gap: 50px; /* Sol ve sağ taraf arasında biraz daha geniş boşluk */
    position: relative;
}

#hakkimda-sol {
    background-color: black;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 420px; /* Resmi biraz daha genişletiyoruz */
    height: 470px; /* Yüksekliği artırıyoruz */
    margin-left: -130px; /* Kutuyu sola daha yakın yapalım */
    position: relative; /* Konumlandırma için */
    margin-top: -50px;
}

.resim-kutu {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    background-color: black;
   
}

.profil-resim {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 10px;
    transition: transform 0.3s ease; /* Smooth geçiş için */
}

/* Hover durumunda resmin boyutunu arttırmak */
#hakkimda-sol:hover .profil-resim {
    transform: scale(1.1); /* Resmi üzerine gelindiğinde biraz büyütür */
}
#hakkimda-sag {
      display: flex;
    max-width: 600px;
    color: black;
    margin-top:-100px;
    margin-left: 10px;
    padding-top: 100px !important; /* veya margin-top da kullanabilirsin */
}

#hakkimda-sag h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    margin-top: -50px;
    padding-left: 45px;
    
}

#hakkimda-sag p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-left: -110px;
    
}

/* Hakkımda'nın altına siyah çizgi */
#hakkimda:after {
    content: "";
    position: absolute;
    bottom: -120px; /* Çizginin konumu */
    left: 0;
    width: 100%;
    height: 2px; /* Çizgi yüksekliği */
    background-color: black; /* Siyah çizgi */
    
}
#projeler {
    padding: 100px 50px;
    background-color: whitesmoke;
    position: relative;
    margin-top: 120px;
}

#projeler h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2em;
}

.timeline {
    position: relative;
    max-width: 1400px;
    margin: auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: black;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    height: 400px; /* Her bir proje alanının yüksekliği   kaldırdım*/
    margin: 50px 0;
    margin-bottom: 180px; 
}








/*
üsttekileri sonradan ekledim
*/



.timeline-item:nth-child(odd) .text {
    order: 1;
}

.timeline-item:nth-child(odd) .image {
    order: 2;
}

.timeline-item:nth-child(even) .image {
    order: 1;
}

.timeline-item:nth-child(even) .text {
    order: 2;
}

/* Yazı Kutusu */
.text {
    width: 40%;
    height: 350px; /* EKLEDİM */
    background-color: black;
    color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center; /* Yazıyı dikey ortalar */
}

/* Resim Alanı */
.image {
    width: 40%;
    text-align: center;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    
}


.image img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* Noktalar */
.timeline-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: black;
    border: 4px solid whitesmoke;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        height: auto;
    }

    .text, .image {
        width: 100%;
    }
  
}
#iletisim {
    text-align: center;
    padding: 50px 0;
    background-color: whitesmoke;
    height: 750px;
    margin-top: -50px;
    position: relative;
}

#iletisim::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: black;
}

#iletisim h2 {
    font-size: 1.5em;
    color: black;
    margin: 0;
    position: relative;
    z-index: 1;
}

.iletisim-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.iletisim-info, .iletisim-form {
    background-color: white;
    padding: 30px;
    width: 48%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.iletisim-info h3, .iletisim-form h3 {
    color: black;
    margin-bottom: 15px;
}

/* Contact Item Styling */
.contact-item {
    font-size: 1.1em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 140px;
}

.contact-item i {
    font-size: 1.5em;
}

.contact-item p, .contact-item a {
    color: black;
    margin: 0;
}

/* QR Code Styling */
#qr-code img {
    width: 300px; /* genişlik arttı */
    height: 300px; /* yükseklik arttı */
    margin-top: 20px;
}

.iletisim-form form {
    display: flex;
    flex-direction: column;
}

.iletisim-form label {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: black;
}

.iletisim-form input, .iletisim-form textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.iletisim-form button {
    padding: 10px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.iletisim-form button:hover {
    background-color: #444;
}


.social-media {
    background-color: black;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; /* ikonlar arası boşluk */
    margin-top: 100px;
}

.social-media a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s, transform 0.3s;
}

.social-media a:hover {
    color: gray;
    transform: scale(1.1); /* üzerine gelince %10 büyüt */
}

.social-media i {
    font-size: 1.5em;
}


.teknolojiler {
    margin-top: 10px;
    font-size: 1em;
    background-color: whitesmoke;
    padding: 10px 14px;
    border-left: 0px solid black;
    border-radius: 6px;
    font-style: normal;
    color: #333;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.teknolojiler i {
    color: black;
    margin-right: 4px;
}




.bos-alan {
    height: 600px;
    background-color: whitesmoke; /* sen istediğin başka renge çevirebilirsin */
    width: 100%;
    position: relative;
    margin-top: 220px;
}

/* Altına siyah çizgi */
.bos-alan::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: black;
    margin-bottom:-120px;
}

/* Yetenekler başlığı */
.bolum-baslik {
    font-size: 2em;
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: 0;
    color: black;
}


/* Yetenek kapsayıcı */
.modern-yetenek-kapsayici {
    width: 80%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
    margin-left: 350px;
}

/* Yetenek kartı */
.modern-yetenek {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-yetenek:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Yetenek ikonları */
.modern-yetenek i {
    font-size: 2em;
    margin-right: 15px;
    color: black;
    width: 40px;
    text-align: center;
}

/* Yetenek adı */
.modern-yetenek span {
    font-weight: bold;
    font-size: 1.1em;
    color: black;
    min-width: 100px;
}

/* Bar kısmı 
.modern-bar {
    flex: 1;
    height: 12px;
    background-color: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    margin-left: 20px; 
}

.modern-fill {
    height: 100%;
    background-color: black;
    border-radius: 6px;
    position: relative; 
    transition: width 1s ease;
}

.modern-fill::after {
    content: attr(data-yuzde);
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9em;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: bold;
    pointer-events: none;
}

.modern-fill:hover::after {
    opacity: 1;
}
*/


/* Modern yetenek barı görünümü */
.modern-bar {
    width: 100%;
    height: 12px;
    background-color: #e0e0e0;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    margin-left: 20px;
}

.modern-fill {
    height: 100%;
    background-color: black;
    border-radius: 6px;
    position: relative;
    transition: width 1s ease;
}

/* Hover yüzdesi */
.modern-fill::after {
    content: attr(data-yuzde);
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9em;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: bold;
    pointer-events: none;
}

.modern-fill:hover::after {
    opacity: 1;
}

@media (max-width: 480px) {
    .modern-yetenek-kapsayici {
        width: 100%;
        padding: 0 10px;
        margin-left: 0;
        gap: 12px;
    }

    .modern-yetenek {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
        border-radius: 10px;
    }

    .modern-yetenek i {
        font-size: 1.4em;
        margin-bottom: 4px;
    }

    .modern-yetenek span {
        font-size: 0.95em;
        margin-bottom: 6px;
    }

    .modern-bar {
        width: 100%;
        margin-left: 0;
        height: 10px;
    }

    .modern-fill::after {
        font-size: 0.75em;
        right: 5px;
    }
}

