body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    font-family: 'Roboto', sans-serif; /* Genel yazı tipi */
    padding-top: 100px;
}

nav.navbar {
    position: fixed; /* Sabit */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 1s ease-in-out !important; /* 1 saniye kaydırma */
    transform: translateY(0); /* Görünür */
}

/* Navbar kaybolduğunda */
nav.navbar.hidden {
    transform: translateY(-100%); /* Yukarı kayar */
}

/* Mobil cihazlarda (768px ve altı) sabitleme yok */
@media (max-width: 768px) {
    body {
        padding-top: 0; /* Mobilde boşluk kalksın */
    }
    nav.navbar {
        position: static;
        transform: none;
        transition: none;
    }
    nav.navbar.hidden {
        transform: none; /* Mobilde kayma yok */
    }
}


.container {
    flex: 1 0 auto;
    max-width: 1200px; /* Varsayılan 1140px’ten 900px’e düşürdük */

}

.divider:last-child {
    display: none; /* Son <hr> gizlenir */
}

.card-img-top {
    max-height: 200px;
    object-fit: cover;
}

/* Özel Renkler */
:root {
    --primary-color: #2c3e50;  /* Koyu mavi (navbar ve footer) */
    --secondary-color: #3498db; /* Açık mavi (butonlar) */
    --accent-color: #3498db;   /* Sarı (vurgular) */
}

.navbar-dark {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--secondary-color)!important;
    border-color: var(--secondary-color)!important;
}

.btn-primary:hover {
    background-color: #2980b9 !important; /* Daha koyu mavi hover efekti */
    border-color: #2980b9 !important;
}


h1{
    font-family: monospace;
}


/* Animasyonlar */
.card {
    border:none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.navbar-nav .nav-link {
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link.active {
    background-color: #495057;
    border-radius: 5px;
}

section h2 {
    animation: fadeIn 1s ease-in;
}

/* Başlık stilleri */
h2 {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 10px; /* Çizgi ile başlık arası boşluk */
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); /* Ortaya hizala */
    width: 500px; /* Çizgi uzunluğu */
    height: 2px; /* Çizgi kalınlığı */
    background-color: var(--primary-color); /* Koyu mavi */
}
@media (max-width: 768px) {
    h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%); /* Ortaya hizala */
        width: 150px; /* Çizgi uzunluğu */
        height: 2px; /* Çizgi kalınlığı */
        background-color: var(--primary-color); /* Koyu mavi */
    }
}

/* Bölüm arka planları */
section:nth-child(odd) {
    background-color: #f8f9fa; /* Açık gri */
    padding: 35px 0;
}

section:nth-child(even) {
    background-color: #fff; /* Beyaz */
    padding: 20px 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icons i {
    color: #333333; /* Koyu gri, siyaha yakın */
    padding: 25px; /* İç boşluk */
    border-radius: 33% 15% 33% 10%; /* Yuvarlak */
    background-color: #e0e0e0; /* Açık gri arka plan */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Hafif gölge */
    transition: all 0.3s ease; /* Akıcı geçiş */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px; /* Sabit genişlik */
    height: 48px; /* Sabit yükseklik */
}

.social-icons i:hover {
    color: var(--secondary-color); /* Açık mavi: #3498db */
    background-color: #f0f0f0; /* Hover’da biraz daha açık gri */
    transform: translateY(-3px); /* Yukarı kalkma */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Daha belirgin gölge */
}

.social-icons i:hover {
    transform: translateY(-3px) rotate(15deg);
}

.contact-form {
    padding: 25px; /* Çevre boşluğu */
}

.contact-info {
    padding: 20px; /* Çevre boşluğu */
}

.contact-info h3 {
    font-size: 2rem; /* Büyük */
    font-weight: 700; /* Kalın */
    color: var(--primary-color); /* Koyu mavi */
    margin-bottom: 40px; /* Daha fazla boşluk */
}

@media (max-width: 576px) {
    .contact-info h3{
        font-size: 1.5rem;
    }
}


.contact-item {
    margin-bottom: 30px; /* Kartlar arası boşluk */
    transition: all 0.3s ease; /* Hover için geçiş */
    border: none; /* Kenarlık tamamen kaldırıldı */
}

.contact-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Hover’da daha büyük gölge */
    transform: translateY(-5px); /* Yukarı kalkma */
}

.contact-info i {
    color: var(--secondary-color); /* Açık mavi */
    font-size: 2.5rem; /* Büyük ikon */
    width: 60px; /* Sabit genişlik */
    flex-shrink: 0; /* İkon boyutu değişmesin */
    text-align: center; /* İkonu ortala */
    margin-right: 20px; /* İkonla metin arası boşluk */
    padding: 10px;
}

.contact-text {
    display: flex;
    flex-direction: column; /* Başlık üstte, değer altta */
    line-height: 1.2; /* Başlık ve değer arası boşluk */
}

.contact-text strong {
    margin-bottom: 5px; /* Başlık ve değer arası küçük boşluk */
}

.contact-info a {
    color: var(--secondary-color); /* Açık mavi */
    text-decoration: none; /* Varsayılan çizgi yok */
}

.contact-info a:hover {
    color: var(--secondary-color); /* Hover’da açık mavi kalır */
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}
.skill{
    padding: 0.5rem !important;
}

.card-body {
    padding: 1rem;
}

.card-title {
    color: var(--primary-color); /* Koyu mavi */
    font-size: 1.2rem;
    margin-bottom: 10px;
    align-items: center; /* İkon ve başlığı dikey hizala */
}

.subheading{
    margin-left: 10px;
}


.card-text {
    color: #333;
    font-size: 1rem;
    line-height: 2; /* Satır aralığı */
    margin-bottom: 1.5rem;
    text-align: justify; /* Sağ ve sol eşit hizada */
}

.card-date {
    color: #bd5d38 ; /* Turuncu renk */
    font-size: 0.9rem;
    font-style: italic;
    margin: 0; /* Varsayılan boşluğu sıfırla */
}

.card-sub-field {
    color: #555; /* Koyu gri */
    font-size: 0.95rem;
}

.card-gpa {
    font-size: 12px;
}

.certificate-icon {
    margin-right: 10px; /* İkon ile başlık arası boşluk */
    color: #f1c40f; /* Altın sarısı, kupa için */
    font-size: 1.2rem; /* İkon boyutu */
}

.skill-icon {
    margin-right: 10px; /* İkon ile başlık arası boşluk */
    color: #6c757d; /* Gri, yetenekler için */
    font-size: 1.2rem; /* İkon boyutu */
}




.hero {
    padding: 30px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1518770660439-4636190af475') no-repeat center center;
    background-size: cover;
    color: #fff;
    position: relative;
}

.animated-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.8), 
        0 0 10px rgba(52, 152, 219, 0.6), 
        0 0 20px rgba(52, 152, 219, 0.4), 
        0 0 40px rgba(52, 152, 219, 0.2);
    animation: fadeIn 1.5s ease-in-out;
}

/* Mobil için düzenleme (768px ve altı) */
@media (max-width: 768px) {
    .hero {
        padding: 30px 0 !important; /* Padding’i yarıya düşürdük */
    }

    .animated-title {
        font-size: 25px !important; /* Yazı boyutunu 40px’e düşürdük */
    }
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animated-title {
    font-family: 'Montserrat', sans-serif; /* Yeni yazı tipi */
    font-size: 3.5rem; /* Daha büyük */
    font-weight: 750; /* Çok kalın */
    color: #fff; /* Beyaz baz renk */
    position: relative;
    z-index: 1; /* Arka planın üstünde */
    text-shadow: 
        0 0 5px rgba(52, 152, 219, 0.8),  /* Açık mavi glow */
        0 0 10px rgba(52, 152, 219, 0.6),
        0 0 20px rgba(52, 152, 219, 0.4),
        0 0 40px rgba(52, 152, 219, 0.2); /* Neon efekti */
    animation: neonGlow 1.5s ease-in-out infinite alternate; /* Hafif parlama */
}

@keyframes neonGlow {
    0% { text-shadow: 
        0 0 5px rgba(52, 152, 219, 0.8), 
        0 0 10px rgba(52, 152, 219, 0.6), 
        0 0 20px rgba(52, 152, 219, 0.4); }
    100% { text-shadow: 
        0 0 10px rgba(52, 152, 219, 1), 
        0 0 20px rgba(52, 152, 219, 0.8), 
        0 0 30px rgba(52, 152, 219, 0.6), 
        0 0 60px rgba(52, 152, 219, 0.4); }
}


.content-left {
    flex: 1;
}

.content-right {
    margin-left: 20px;
    text-align: right;
}


.progress {
    height: 15px; /* Varsayılan yükseklik 10px */
    background-color: #e9ecef;
    border-radius: 5px; /* Köşeleri biraz daha az yuvarlak */
    overflow: hidden; /* Taşmayı engelle */
}

.progress-bar {
    background-color: var(--secondary-color); /* Açık mavi */
    transition: width 1s ease-in-out;
    font-size: 0.50rem; /* Yüzde yazısı küçültüldü */
}


/* Footer */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px 0;
}

.footer p {
    font-size: 0.9rem;
    margin: 0; /* Çakışmayı önlemek için */
}

/* Yukarı çık butonu */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 40px;
    color: var(--primary-color);
    background-color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 33%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 0.7;
    visibility: visible;
}

.back-to-top:hover {
    opacity: 1;
    transform: translateY(-5px); /* Hover’da 5px yukarı */
}



/* Mobil düzenleme */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }
    .animated-title {
        font-size: 2.5rem;
    }
}




/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2c3e50; /* Koyu mavi */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease; /* Kaybolma efekti */
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    height: 100px;
    animation: fade 1.5s ease infinite; /* Solma animasyonu */
}

#loading-percentage {
    display: block;
    color: #fff;
    font-size: 1rem;
    margin-top: 10px;
    font-family: 'Roboto', sans-serif;
}

/* Solma animasyonu */
@keyframes fade {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* Preloader gizlendğinde */
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}




/* Test sayfası için stiller */
#question-area, #options-area {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 600px; /* Sorular çok sola yakın olmasın */
    margin: 0 auto; /* Ortaya hizalama */
}

#start-screen{
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#options-area .form-check {
    margin: 10px 0; /* Şıklar arasında boşluk */
}

/* Butonlar için boşluk */
#prev-btn, #next-btn, #submit-btn {
    margin: 0 15px; /* Butonlar arası mesafe */
}

#result {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.my-5{
    margin-top: 5rem !important;
    margin-bottom: 3rem !important;
}



.table th, .table td {
    max-width: 75px; /* Sütun genişliğini sınırla */
    overflow: hidden; /* Taşan içeriği gizle */
    text-overflow: ellipsis; /* Taşan metni "..." ile göster */
}

@media (max-width: 576px) {
    .table th, .table td {
        font-size: 0.8rem; /* Mobil cihazlarda yazı boyutunu küçült */
    }
}

@media (max-width: 576px) {
    .mt-5 {
        margin-top: 1rem !important;    }
    
    .mb-5 {
        margin-bottom: 1rem !important;    }

    .my-5 {
        margin-top: 2rem !important;    }
}


@media (max-width: 576px) {
    .social-icons i{
        padding: 20px;
        width: 24px;
        height: 24px;
        border-radius: 33% 15% 33% 10%;
    }
}

/*programlama ikonları*/
.dev-icons .list-inline-item i {
    font-size: 3rem; /* İkon boyutunu büyüt (48px) */
    color: #6c757d;
    transition: transform 0.3s ease, color 0.3s ease; /* Hover efekti için geçiş */
}

/* İkonlar arasında boşluk */
.dev-icons .list-inline-item {
    margin: 0 10px; /* İkonlar arasında daha fazla boşluk */
}

/* Hover efekti */
.dev-icons .list-inline-item i:hover {
    transform: scale(1.2); /* İkonu büyüt */
    color: #2c3e50; /* Hover sırasında renk değişimi */
}

/* Responsive tasarım: Mobilde ikon boyutunu küçült */
@media (max-width: 768px) {
    .dev-icons .list-inline-item i {
        font-size: 2rem; /* Mobilde ikon boyutu (32px) */
    }
    .dev-icons .list-inline-item {
        margin: 0 10px; /* Mobilde daha az boşluk */
    }
}