body {
    background-attachment: fixed; 
    background: linear-gradient(to bottom,#fff, #0D0469,#fff);
    background-size: cover;
    background-position: center;
    font-family: Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}
/* Navbar */
.navbar {
    background: linear-gradient(
    to left,
    #6F98FA 0%,
    #0D0469 20%,
    #0D0469 80%,
    #6F98FA 100%
    ); 
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    display: flex; /* Flexbox kullanarak hizalama */
    justify-content: center; /* Elemanları yatayda ortalar */
    align-items: center; /* Elemanları dikeyde ortalar */
    height: auto;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    padding: 8px 18px;
    margin: 0 15px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.navbar a:hover {
    background-color: #0056EB; /* Açık lacivert */
    border-radius: 5px;
}

/* Menü ikonu */
.navbar .menu-icon {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    position: absolute; 
    right: 30px;         
    top: 50%;
    transform: translateY(-50%);
}

/* Sidebar - Kategoriler */
.sidebar {
    width: 250px;
    background-color: #1a2a44;
    color: white;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 60px; /* Navbar'ın hemen altına yerleştirmek için */
    right: -250px; /* Başlangıçta sidebar gizli */
    height: auto; /* Yükseklik kategori sayısına göre değişecek */
    max-height: calc(100vh - 60px); /* Sidebar, navbar'ın üstüne çıkmasın */
    overflow-y: auto;
    border-radius: 8px;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    margin-top: 20px;
}

.sidebar h3 {
    color: white;
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 20px;
}

.sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px;
    font-size: 1.2em;
    margin: 5px 0;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.sidebar a:hover {
    background-color: #0056EB; /* Açık lacivert */
}

/* Sayfa içeriği (main content) */
.content {
    margin: 0 auto;
    padding: 40px 20px;
    width: 60%;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 1;
    min-height: 90vh;
}

h1 {
    text-align: center;
    font-size: 3em;
    color: #1a2a44;
    margin-bottom: 40px;
    font-weight: 600;
}

/* Blog yazı kartları */
.blog-post {
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    display: flex; /* Flexbox düzeni ekleniyor */
    flex-direction: row; /* Resim sol, içerik sağ olacak şekilde düzenliyoruz */
}

.blog-post:hover {
    transform: translateY(-10px);
}

.blog-post img {
    min-height: 100%; /* Yüksekliği otomatik olacak */
    width: 40%; /* Resmin genişliği %40 olacak */
    object-fit: cover;
    border-right: 5px solid #ddd; /* Görselin sağında ince bir çizgi */
}

.blog-post-content {
    padding: 20px;
    background-color: #fff;
    width: 60%; /* İçeriğin genişliği %60 olacak */
}

.blog-post h2 {
    font-size: 2em;
    margin: 15px 0;
    font-weight: 700;
    color: #1a2a44;
}

.blog-post p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.blog-post .read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: #1a2a44;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-post .read-more:hover {
    color: #23334b;
}
.blog-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
/*Proje Yazı Kartları*/
.project-post {
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    display: flex; /* Flexbox düzeni ekleniyor */
    flex-direction: row; /* Resim sol, içerik sağ olacak şekilde düzenliyoruz */
}

.project-post:hover {
    transform: translateY(-10px);
}

.project-post img {
    min-height: 100%; /* Yüksekliği otomatik olacak */
    width: 40%; /* Resmin genişliği %40 olacak */
    object-fit: cover;
    border-right: 5px solid #ddd; /* Görselin sağında ince bir çizgi */
}

.project-post-content {
    padding: 20px;
    background-color: #fff;
    width: 60%; /* İçeriğin genişliği %60 olacak */
}

.project-post h2 {
    font-size: 2em;
    margin: 15px 0;
    font-weight: 700;
    color: #1a2a44;
}

.project-post p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.project-post .read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: #1a2a44;
    text-decoration: none;
    transition: color 0.3s;
}

.project-post .read-more:hover {
    color: #23334b;
}
.project-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Footer */
.footer {
    background-color: #1a2a44;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    margin-bottom: 0%;
    width: 100%;
}

.profile-img {
    width: 1000;
    height: 1000;
    border-radius: 50%;
    border: 5px solid white;
}
.bg-light-alt {
    background-color: #ffffff;
}
.footer-bg {
    background-color: #1a2a44;
    color: white;
}
h3, h5 {
    color: #1a2a44;
}
.text-primary {
    color: #1a2a44;
}
.btn-primary {
    background-color: #1a2a44;
    border-color: #1a2a44;
}
.btn-primary:hover {
    background-color: #253b67;
    border-color: #253b67;
}
.carousel {
    background-color: white;
    margin-bottom: 30px;
}
.carousel-inner {
    border-radius: 10px;
    min-height: 50vh;
    align-content: center;
}
/* Override Bootstrap's container class */
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.carousel-control-next-icon {
    background-color: black; /* Ok işaretlerinin rengi için kontrast bir renk (isteğe bağlı) */
}
.carousel-control-prev-icon {
    background-color: black; /* Ok işaretlerinin rengi için kontrast bir renk (isteğe bağlı) */
}
.background-transparent-White{
    background-color: #ffffff18;
}
.container-space-between {
    display: flex;
    flex-direction: row; /* Yatay yönü belirler */
    justify-content: space-between; /* Öğeler arasında boşluk bırakır */
    gap: 0px; /* Sağ ve sol kısımlar arasındaki mesafe */
}

.left-section, .right-section {
    padding: 20px;
    border-radius: 0px;
}

.left-section {
    flex: 0.5; /* Sol kısma daha fazla genişlik verir */
    background-color: #0D0469; /* Sol kısmın arka plan rengi */
    color: white;
    text-align: center;
    align-content: center;
}

.right-section {
    flex: 0.5; /* Sağ kısmı daha küçük yapar */
    background-color: #f5f7fa; /* Sağ kısmın arka plan rengi */
    color:#222;
}
.right-section input, .right-section textarea{
    border: 1px solid #000; /* 3px kalın siyah çerçeve */
    border-radius: 6px;     /* köşeleri biraz yumuşatma */
    padding: 8px;           
}
#skills {
    padding-top: 20px;
}

/* Her Bir Kategori Kartının Stili */
.category-card {
    background-color: rgba(0, 0, 0, 0.2); /* Arka plana göre hafif aydınlık bir ton */
    border-radius: 15px; /* Köşeleri yuvarlatma */
    padding: 25px; /* Kartın iç boşluğu */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Karta derinlik hissi veren gölge */
    border: 1px solid rgba(255, 255, 255, 0.1); /* İnce bir kenarlık */
    backdrop-filter: blur(10px); /* Arka planı bulanıklaştıran modern bir etki (isteğe bağlı) */
    -webkit-backdrop-filter: blur(10px);
}

/* Kategori Başlık Stili */
.category-card .category-title {
    margin-bottom: 15px;
    color: #f0f0f0; /* Başlık rengi */
    font-weight: bold;
}

/* Kart içindeki ayırıcı çizgi */
.category-card hr {
    border-color: rgba(255, 255, 255, 0.2);
}
.skill {
    background-color: #E9ECEF;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.skill h5 {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    color: #333;
}

.progress-bar {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background-color: #e0e0e0;
    overflow: hidden; /* İçindeki span'ın dışarı taşmasını engeller */
}

.progress-bar span {
    display: block;
    height: 100%;
    border-radius: 5px;
}
.container-fluid{
    margin-top: 61px;
}
.conteiner-section{
    background-color: whitesmoke;
}
.section-title {
    color: #1a2a44;
    margin-bottom: 30px;
    margin-top: 75px;
}
.card {
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.card-body h5 {
    color: #1a2a44;
}
.meta, .category {
    color: #888;
    font-size: 14px;
    margin-bottom: 10px;
}
.comment-section {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.comment-section h2 {
    color: #333;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-form input,
.comment-form textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.comment-form button {
    padding: 10px 20px;
    background-color: #1a2a44;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.comment-form button:hover {
    background-color: #1a2a44;
}

.comment-list {
    margin-top: 30px;
}

.comment-card {
    background-color: #f9f9f9;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comment-card .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-card .user-info img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.comment-card .user-info .username {
    font-weight: bold;
    color: #333;
}

.comment-card p {
    margin-top: 10px;
    color: #555;
}

.comment-card .timestamp {
    font-size: 12px;
    color: #aaa;
    margin-top: 10px;
}

.bold-hr {
    border: 0;                /* varsayılan kenarlığı sıfırla */
    height: 4px;              /* kalınlık */
    background-color: #000000;/* renk */
    border-radius: 2px;       /* köşeleri yuvarla (isteğe bağlı) */
}

/* Ana Konteyner */
.contact-container {
    margin-top: 5rem;
    display: flex; /* Kartları yan yana dizer */
    justify-content: center; /* Kartları sayfada ortalar */
    align-items: stretch; /* Kartların yüksekliklerini eşitler */
    gap: 2rem; /* Kartlar arasına boşluk koyar */
    flex-wrap: wrap; /* Küçük ekranlarda kartları alt alta indirir */
    padding: 2rem;
    background-color: transparent; /* Sayfanın genel arkaplan rengi */
}

/* Genel Kart Stili */
.contact-card {
    flex: 1; /* Kartların eşit genişlikte büyümesini sağlar */
    min-width: 300px; /* Kartların çok fazla küçülmesini engeller */
    padding: 2.5rem;
    border-radius: 12px; /* Köşeleri yuvarlatır */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Gölgelendirme efekti */
    color: #333;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px); /* Kartın üzerine gelince hafifçe yukarı kalkar */
}

/* Sol Kart: Bilgi Kartı */
.info-card {
    background-color: #0d2c54; /* Koyu mavi arkaplan */
    color: #ffffff; /* Beyaz yazı rengi */
}

.info-card h2 {
    color: #f9a826; /* Başlık için altın sarısı renk */
    margin-top: 0;
    border-bottom: 2px solid #f9a826;
    padding-bottom: 10px;
}

.info-card p {
    line-height: 1.7;
    font-size: 1rem;
}

.info-card a {
    color: #ffff; /* Link rengi */
    text-decoration: none;
    font-weight: bold;
    font-size: 30px;
}

.info-card a:hover {
    text-decoration: underline;
}

/* Sağ Kart: Form Kartı */
.form-card {
    background-color: #ffffff; /* Beyaz arkaplan */
}

.form-card h2 {
    margin-top: 0;
    color: #0d2c54;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0d2c54;
    box-shadow: 0 0 5px rgba(13, 44, 84, 0.3);
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #0d2c54;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #1f427a;
}

/* Küçük Ekranlar İçin (Mobil Uyumluluk) */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column; /* Kartları alt alta dizer */
        padding: 1rem;
    }
}

.skill-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}
.skill-card:hover {
    transform: translateY(-5px);
}
.skill-card h5 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    font-weight: 500;
}
.progress-bar {
    background-color: #e9ecef;
    border-radius: 20px;
    height: 12px;
    width: 100%;
    overflow: hidden;
}
.progress-level {
    height: 100%;
    border-radius: 20px;
    display: block;
}
.category-title {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #343a40;
    padding-bottom: 5px;
    border-bottom: 2px solid #e0e0e0;
}
.info-card {
    display: flex;
    justify-content: space-between;  /* sol - sağ ayır */
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;  /* mobilde alta geçsin */
}

.contact-info {
    flex: 2;
}

.cv-download {
    background-color: #243b55;   /* koyu mavi kutu (değiştirilebilir) */
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;  /* dikey hizalama */
    align-items: center;     /* ortala */
    justify-content: center;
    width: 180px;            /* daha dikey/dar dikdörtgen */
    min-height: 250px;       /* boy vermek için */
    text-align: center;
}

.cv-download .cv-photo {
    width: 100px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

.cv-download .btn {
    font-size: 0.95rem;
    padding: 8px 15px;
}