/* Motosiklet Kategori Sayfası Stilleri */
.motorcycle-category-header {
    background-color: #f5f5f5;
    padding: 60px 0 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.category-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}


.category-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.category-navigation {
    margin-top: 30px;
}

.category-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-menu li {
    margin: 0 5px 10px;
}

.category-menu li a {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid #ddd;
}

.category-menu li a:hover {
    background-color: #f0f0f0;
    border-color: #ccc;
}

.category-menu li.active a {
    background-color: #CC0000;
    color: white;
    border-color: #CC0000;
}

/* Motosiklet Grid Stilleri */
.motorcycle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.motorcycle-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.motorcycle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Motosiklet resim alanı için stil */
.motorcycle-image {
    position: relative;
    height: 0;
    padding-top: 100%; /* 1:1 en-boy oranı (kare) */
    overflow: hidden;
    background-color: #f8f8f8; /* Açık gri arka plan */
}

.motorcycle-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Resmin tamamını göster, kesilmesini önle */
    padding: 0px; /* Resim etrafında boşluk bırak */
    transition: transform 0.5s;
}

.motorcycle-card:hover .motorcycle-image img {
    transform: scale(1.05);
}

.no-image {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-style: italic;
}

.motorcycle-type {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.motorcycle-type.benzinli {
    background-color: #CC0000;
}

.motorcycle-type.elektrikli {
    background-color: #00AA55;
}

.motorcycle-info {
    padding: 20px;
}

.motorcycle-title {
    font-size: 1.3rem;
    margin: 0 0 10px;
    color: #333;
    font-weight: 700;
}

.motorcycle-slogan {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 20px;
    font-style: italic;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.motorcycle-detail-button {
    display: inline-block;
    background-color: #CC0000;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.motorcycle-detail-button:hover {
    background-color: #AA0000;
    color: white;
}

/* Sayfalama Stilleri */
.pagination {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 60px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination .page-numbers.current {
    background-color: #CC0000;
    color: white;
    border-color: #CC0000;
}

.pagination .page-numbers:hover:not(.current) {
    background-color: #f0f0f0;
    border-color: #ccc;
}

/* Boş Kategori Mesajı */
.no-motorcycles {
    text-align: center;
    padding: 50px 0;
    color: #666;
    font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .motorcycle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .motorcycle-category-header {
        padding: 40px 15px 20px;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .category-description {
        font-size: 1rem;
    }
    
    .motorcycle-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
