/* All Parts Section Styling */
.all-parts-section {
    padding: 20px 0; /* Üst boşluğu azalttım */
    background-color: #fff; /* Arka planı beyaz yaptım */
}

.all-parts-section .section-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.all-parts-section .section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #dc3545;
}

.all-parts-carousel {
    margin-top: 20px;
    padding: 0 20px; /* Carousel kenarlarına boşluk ekleyerek oklar için daha fazla yer açtım */
}

/* Mobil görünümde carousel düzenlemeleri */
@media (max-width: 767px) {
    .all-parts-carousel {
        padding: 0 5px; /* Yanlardaki boşlukları minimuma indir */
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .all-parts-carousel .owl-stage {
        display: flex;
        justify-content: center;
    }
}

.all-parts-item {
    text-align: center;
    padding: 20px 15px;
    transition: all 0.3s ease;
    background-color: #fff;
    border-radius: 8px;
    margin: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 160px; /* Sabit yükseklik */
    width: 160px; /* Sabit genişlik */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Mobil görünümde tüm parçalar bölümü öğeleri için özel stil */
@media (max-width: 767px) {
    .all-parts-item {
        margin: 10px; /* Kutular arası boşluğu ayarla */
        height: auto; /* Yüksekliği otomatik yap */
        width: calc(50% - 20px); /* Genişliği %50'ye ayarla */
        padding: 15px;
    }
}

.all-parts-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.all-parts-item a {
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.all-parts-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
}

.all-parts-icon img {
    max-width: 54px;
    height: 54px; /* Sabit yükseklik */
    width: 54px; /* Sabit genişlik */
    object-fit: contain;
    transition: all 0.3s ease;
}

.all-parts-item:hover .all-parts-icon img {
    transform: scale(1.1);
}

.all-parts-item h3 {
    font-size: 16px;
    margin: 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .all-parts-item h3 {
        font-size: 14px; /* Mobilde metin boyutunu küçült */
    }
    
    .all-parts-icon {
        margin-bottom: 10px; /* İkon altındaki boşluğu azalt */
    }
    
    .all-parts-icon img {
        max-width: 48px;
        height: 48px; /* İkon boyutunu küçült */
        width: 48px;
    }
}

.all-parts-item:hover h3 {
    color: #dc3545;
}

/* Owl Carousel Navigasyon Stilleri */
.all-parts-section .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    color: #333 !important;
    font-size: 20px !important;
    line-height: 1 !important;
}

.all-parts-section .owl-nav button:hover {
    background: #dc3545 !important;
    color: #fff !important;
}

.all-parts-section .owl-prev {
    left: -30px; /* Oku daha uzağa taşıdım */
}

.all-parts-section .owl-next {
    right: -30px; /* Oku daha uzağa taşıdım */
}

/* Responsive Ayarlamalar */
@media (max-width: 767px) {
    .all-parts-section .owl-nav button {
        width: 30px !important;
        height: 30px !important;
        font-size: 16px !important;
    }
    
    .all-parts-section .owl-prev {
        left: -15px; /* Sol oku konumlandır */
    }
    
    .all-parts-section .owl-next {
        right: -15px; /* Sağ oku konumlandır */
    }
    
    .all-parts-item {
        height: 140px;
        width: 140px;
    }
    
    .all-parts-item h3 {
        font-size: 14px;
    }
}@media (max-width: 576px) {
    .all-parts-section .owl-nav {
        display: none;
    }
    
    .all-parts-item {
        padding: 10px;
    }
}
