body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}
section {
    padding: 20px;
    margin: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#main-header {
    background-size: 400% 400%;
    background-image: linear-gradient(
        -45deg, 
        #e33d3d, 
        #ff8c00, 
        #3d9e00, 
        #1e90ff, 
        #9932cc
    );
    animation: gradient-animation 15s ease infinite;
    color: white; 
    display: flex;
    align-items: center;
    min-height: 450px; 
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
#main-header img {
    max-width: 200px; 
    height: auto; 
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); 
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border-radius: 12px; 
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}
#main-header img:hover {
    transform: scale(1.05); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); 
}
#main-header h1, 
#main-header p, 
#main-header a {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); 
}
#hakkimda {
    background-color: #f8f9fa; 
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}
.btn {
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    transition: all 0.3s ease;
}
.btn:hover {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px); 
}
#iletisim form {
    border-radius: 12px; 
}
.container h2 {
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 30px !important;
}
.container h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px; 
    background-color: #9932cc; 
    position: absolute;
    bottom: 0;
    left: 50%; 
    transform: translateX(-50%); 
    border-radius: 2px;
    transition: width 0.3s ease-in-out; 
}
.container h2:hover::after {
    width: 120px;
}
.fab {
    transition: transform 0.3s ease-out;
}
.fab:hover {
    transform: translateY(-5px);
}
.vurgu-isim {
    color: #9932cc !important; /* !important eklenmiş hali */
    font-weight: 700;
}
#page-header {
    background-color: #9932cc; 
    padding: 70px 0 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}
.timeline {
    position: relative;
    padding: 0;
    list-style: none; 
}
.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: #dee2e6;
    margin-left: -1.5px; 
}
.timeline-item {
    margin-bottom: 20px;
    position: relative;
    width: 50%; 
}
.timeline-item:nth-child(even) {
    left: 50%; 
}
.timeline-panel {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease; 
}
.timeline-panel:hover {
    transform: translateY(-3px); 
}
.timeline-badge {
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px; 
    font-size: 1.2em;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%; 
    margin-left: -25px; 
    background-color: #9932cc;
    border-radius: 50%; 
    z-index: 100;
}
.timeline-panel:before, .timeline-panel:after {
    content: " ";
    position: absolute;
    top: 26px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}
.timeline-item:nth-child(odd) .timeline-panel:after {
    border-left: 15px solid #fff; 
    left: 100%;
    border-right: 0; 
}
.timeline-item:nth-child(odd) .timeline-panel:before {
    border-left: 15px solid #dee2e6; 
    left: 100%;
    margin-left: -1px; 
    border-right: 0; 
}
.timeline-item:nth-child(odd) .timeline-panel {
    padding: 20px 10px 20px 30px; 
}
.timeline-item:nth-child(even) .timeline-panel:after {
    border-right: 15px solid #fff; 
    right: 100%;
    border-left: 0; 
}
.timeline-item:nth-child(even) .timeline-panel:before {
    border-right: 15px solid #dee2e6; 
    right: 100%;
    margin-right: -1px; 
    border-left: 0; 
}
.timeline-item:nth-child(even) .timeline-panel {
    padding: 20px 10px 20px 30px;
}
.timeline-item:nth-child(even) .timeline-badge {
    left: 0; 
    margin-left: -25px; 
}
.timeline-item:nth-child(odd) .timeline-badge {
    left: 100%; 
    margin-left: -25px;
}
@media (max-width: 767.98px) {
    .timeline:before {
        left: 30px; 
    }
    .timeline-item {
        width: 100%; 
        left: 0 !important;
    }
    .timeline-item:nth-child(even) {
        left: 0 !important; 
    }
    .timeline-badge {
        left: 30px;
        margin-left: -25px; 
    }
    .timeline-panel {
        margin-left: 70px; 
    }
    .timeline-panel:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
    }
    .timeline-panel:before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -15px;
        right: auto;
    }
}
.progress {
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}
.progress-bar {
    border-radius: 5px; 
}
.skill-card {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.text-primary { color: #0d6efd !important; }
.text-warning { color: #ffc107 !important; }
.text-success { color: #198754 !important; }
.project-card {
    border-radius: 12px;
    overflow: hidden; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}
.project-card img {
    height: 100%;
    width: 100%;
    object-fit: cover; 
}

/* YENİ EKLENEN KISIM: project-cover-img sınıfının tanımı */
.project-card .project-cover-img {
    height: 100%;       /* Dikey yüksekliği tam doldur */
    width: 100%;        /* Yatay genişliği tam doldur */
    object-fit: cover;  /* En/boy oranını koruyarak tüm alanı kapla (kritik ayar) */
}
/* YENİ EKLENEN KISIM SONU */


.badge.bg-secondary {
    background-color: #e9ecef !important; 
    color: #495057 !important; 
    font-weight: 600;
}
.btn-primary {
    background-color: #9932cc !important;
    border-color: #9932cc !important;
} 
.proje-detay {
    background-color: #f8f9fa; /* Hafif arka plan rengi */
}
.proje-detay-gorsel {
    max-height: 500px; 
    width: 100%;
    object-fit: contain; /* Görselin tamamının kutu içinde görünmesini sağlar */
    border: 1px solid #dee2e6;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px; /* HTML'de 'rounded' sınıfı zaten var, bu sadece ek güvence */
}
.proje-detay h2 {
    color: #9932cc; /* Başlık rengi mor */
    border-bottom: 3px solid #e9ecef; /* Hafif bir çizgi */
    padding-bottom: 5px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    /* YENİ EKLEME */
    text-align: center; 
}
.proje-detay h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px; 
    background-color: #9932cc; /* Mor vurgu */
    position: absolute;
    bottom: -3px; /* Çizginin hemen altına konumlandır */
    /* GÜNCELLENEN KISIMLAR */
    left: 50%; 
    transform: translateX(-50%);
    /* GÜNCELLENEN KISIMLAR SONU */
    border-radius: 0; 
}
.proje-detay article ul li {
    list-style: none; /* Varsayılan listeyi kaldır */
    padding-left: 1.5em; 
    position: relative;
    margin-bottom: 5px;
}
.proje-detay article ul li:before {
    content: "•"; /* Vurgu işareti (Mor nokta) */
    color: #9932cc; 
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}
.proje-detay pre code {
    white-space: pre-wrap; 
    word-break: break-all;
    display: block;
    padding: 15px;
    background-color: #f4f4f4;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 0.9em;
}
.custom-control {
    width: 50px; /* Buton alanını büyütme */
    height: 50px; /* Buton alanını büyütme */
    border-radius: 50%; /* Dairesel şekil verme */
    top: 50%;
    transform: translateY(-50%);
    opacity: 1 !important; /* Her zaman görünür kılma */
    background-color: rgba(0, 0, 0, 0.6); /* Hafif şeffaf siyah arka plan */
    transition: background-color 0.3s ease;
}
.custom-control:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Mouse üzerine gelince daha belirginleşme */
}
.custom-control i {
    color: white;
    font-size: 2rem !important; /* İkon boyutunu büyütme */
    position: relative;
}
.carousel-control-prev.custom-control i {
    right: 1px;
}
.carousel-control-next.custom-control i {
    left: 1px;
}
.custom-control .carousel-control-prev-icon,
.custom-control .carousel-control-next-icon {
    display: none;
}
.carousel-control-prev.custom-control {
    left: 10px; /* Galerinin sol kenarından uzaklaştırma */
}
.carousel-control-next.custom-control {
    right: 10px; /* Galerinin sağ kenarından uzaklaştırma */
}
