/* Arac Modelleri Sayfa Stilleri */
.arac-modelleri-page {
    padding: 40px 0 60px;
    background: #f8f9fa;
}

/* ========== MARKA BİLGİ ALANI ========== */
.marka-bilgi {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.marka-bilgi-logo {
    flex: 0 0 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
}

.marka-bilgi-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

.no-logo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
}

.marka-bilgi-text h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.marka-bilgi-text p {
    color: #666;
    font-size: 16px;
}

/* ========== MODELLER GRID ========== */
.modeller-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.model-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.model-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,107,107,0.1);
    border-color: #ff6b6b;
}

.model-link {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 15px 15px;
}

.model-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.model-card:hover .model-icon {
    transform: rotate(360deg);
    background: #ff6b6b;
}

.model-adi {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    text-align: center;
    color: #333;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.model-card:hover .model-adi {
    color: #ff6b6b;
}

.model-yil,
.model-motor {
    font-size: 11px;
    color: #666;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.model-yil i {
    color: #ff6b6b;
    font-size: 10px;
}

.model-urun-sayisi {
    text-align: center;
    margin: 10px 0;
}

.urun-sayisi-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.urun-sayisi-badge.empty {
    background: #ffe5e5;
    color: #ff6b6b;
}

.model-card:hover .urun-sayisi-badge {
    background: #ff6b6b;
    color: #fff;
}

.model-incele {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #ff6b6b;
    font-size: 12px;
    font-weight: 500;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.model-card:hover .model-incele {
    opacity: 1;
    transform: translateY(0);
}

.model-incele i {
    font-size: 10px;
    transition: transform 0.3s;
}

.model-card:hover .model-incele i {
    transform: translateX(3px);
}

/* ========== MODEL ÜRÜNLERİ ALANI ========== */
/* Geri Dön Linki */
.geri-don-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.geri-don-link:hover {
    color: #e63946;
}

.geri-don-link i {
    margin-right: 5px;
}

/* Model Bilgi Alanı (Ürün listeleme modu) */
.model-bilgi {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.model-bilgi-logo {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #e63946;
}

.model-bilgi-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.model-bilgi-text h1 {
    margin: 0 0 10px 0;
    color: #333;
}

.model-yillari,
.model-motor-bilgi,
.model-urun-sayisi {
    margin: 5px 0;
    color: #666;
}

.model-yillari i,
.model-motor-bilgi i {
    margin-right: 5px;
    color: #e63946;
}

/* Model Ürünleri Grid */
.model-urunleri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 30px 0;
}

/* ========== ÜRÜN KARTI ========== */
.urun-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

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

.urun-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.badge-out {
    background: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.urun-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.urun-card-image {
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
}

.urun-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.urun-card-info {
    padding: 15px;
}

.urun-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
}

.urun-card-brand {
    color: #e63946;
    font-weight: 600;
}

.urun-card-code {
    color: #6c757d;
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 4px;
}

.urun-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 45px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #333;
}

.urun-card-price {
    margin-top: 10px;
}

.price {
    font-size: 20px;
    font-weight: 700;
    color: #e63946;
}

.price-sor {
    font-size: 16px;
    color: #6c757d;
}

.urun-card-actions {
    padding: 0 15px 15px;
}

.btn-add-to-cart,
.btn-inquire,
.btn-out-of-stock {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-add-to-cart {
    background: #e63946;
    color: white;
}

.btn-add-to-cart:hover {
    background: #c82333;
}

.btn-inquire {
    background: #ffc107;
    color: #333;
}

.btn-inquire:hover {
    background: #e0a800;
}

.btn-out-of-stock {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

/* ========== SAYFALAMA ========== */
.urunler-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 10px;
}

.pagination-prev,
.pagination-next {
    padding: 8px 15px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.pagination-prev:hover,
.pagination-next:hover {
    background: #e63946;
    color: white;
}

.pagination-numbers {
    display: flex;
    gap: 5px;
}

.pagination-number {
    display: inline-block;
    padding: 8px 12px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.pagination-number:hover,
.pagination-number.active {
    background: #e63946;
    color: white;
}

.pagination-dots {
    padding: 8px 5px;
    color: #666;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .model-urunleri-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .modeller-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .marka-bilgi {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .marka-bilgi-text h1 {
        font-size: 24px;
    }
    
    .modeller-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .model-link {
        padding: 12px 10px;
    }
    
    .model-urunleri-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .model-bilgi {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .modeller-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .model-link {
        padding: 15px;
    }
    
    .model-urunleri-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== MODEL LOGO STILLERI ========== */
.model-logo-container {
    width: 45px;
    height: 45px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s ease;
}

.model-logo {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.model-card:hover .model-logo {
    transform: scale(1.1);
}