/* Vehicles Sayfası - Minimal Glass Design */

/* Sayfa Başlığı */
.page-title-section {
    text-align: center;
    margin: 2rem 0 3rem 0;
}

.page-title-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0;
}

/* Filtreleme Bölümü - Glass Effect */
.filters-section {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 133, 27, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Araç Kartları - Minimal ve Küçük */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.vehicle-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 133, 27, 0.15);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 133, 27, 0.3);
}

.vehicle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff851b, #ffc107);
    border-radius: 16px 16px 0 0;
}

/* Araç Resmi - Kompakt */
.vehicle-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

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

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.1);
}

/* Problem/No Problem Badge - Küçük */
.problem-badge,
.no-problem-badge {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    backdrop-filter: blur(10px);
}

.problem-badge {
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.no-problem-badge {
    background: rgba(40, 167, 69, 0.9);
    color: white;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

/* Araç Bilgileri - Minimal */
.vehicle-info {
    padding: 1.2rem;
}

.vehicle-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

/* Araç Detayları - Yan yana iconlu */
.vehicle-details {
    margin-bottom: 1rem;
    display: flex;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #6c757d;
    flex: 1;
    min-width: 140px;
}

.detail-item i {
    width: 14px;
    color: #ff851b;
    flex-shrink: 0;
}

.detail-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* En Çok Yaşanan Arıza Kutusu */
.most-common-problem {
    background: rgba(255, 133, 27, 0.1);
    border: 1px solid rgba(255, 133, 27, 0.2);
    border-radius: 8px;
    padding: 0.6rem;
    font-size: 0.8rem;
}

.problem-title {
    color: #ff851b;
    font-weight: 600;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.problem-description {
    color: #666;
    line-height: 1.3;
}

/* Araç Aksiyonları - Minimal Butonlar */
.vehicle-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.vehicle-actions .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

.btn-primary {
    background: linear-gradient(135deg, #ff851b, #ffc107);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 133, 27, 0.3);
}

.btn-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ff851b;
    border: 1px solid rgba(255, 133, 27, 0.3);
}

.btn-warning:hover {
    background: #ff851b;
    color: white;
    transform: translateY(-2px);
}

/* Sonuç Bulunamadı - Glass Style */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 133, 27, 0.2);
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.no-results-icon {
    font-size: 4rem;
    color: #ff851b;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.no-results h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

/* Pagination - Glass Style */
.pagination-container {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 133, 27, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.page-link {
    padding: 0.5rem 0.8rem;
    border: none;
    background: transparent;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.page-link:hover {
    background: rgba(255, 133, 27, 0.1);
    color: #ff851b;
}

.page-link.active {
    background: #ff851b;
    color: white;
}

.page-numbers {
    display: flex;
    gap: 0.25rem;
}

.page-dots {
    padding: 0.5rem;
    color: #999;
}

.pagination-info {
    color: #6c757d;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Responsive */
@media (max-width: 768px) {
    .vehicles-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
    }

    .vehicle-card {
        margin: 0 0.5rem;
    }

    .vehicle-info {
        padding: 1rem;
    }

    .vehicle-details {
        gap: 0.3rem;
    }

    .detail-item {
        font-size: 0.8rem;
    }

    .vehicle-actions {
        flex-direction: column;
    }

    .vehicle-actions .btn {
        flex: none;
    }

    .page-title-section h1 {
        font-size: 2rem;
    }

    .filters-section {
        margin: 0 0.5rem 2rem 0.5rem;
        padding: 1.5rem;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .vehicle-image {
        height: 140px;
    }

    .vehicle-info {
        padding: 0.8rem;
    }

    .vehicle-title {
        font-size: 1.1rem;
    }
}

/* Vehicle Detail için de aynı stil */
.vehicle-detail-page .vehicle-header {
    background: none;
    padding: 2rem 0;
}

.vehicle-header-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: start;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 133, 27, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.vehicle-header .vehicle-image {
    border-radius: 12px;
    overflow: hidden;
    height: 150px;
    border: 2px solid rgba(255, 133, 27, 0.2);
}

@media (max-width: 768px) {
    .vehicle-header-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .vehicle-header .vehicle-image {
        height: 180px;
    }
}