/* =====================================================
   VEHICLE CARDS - BAĞIMSIZ STİL DOSYASI
   Bu dosya araç kartları için tüm stilleri içerir
   Diğer CSS'lerle çakışmayı önlemek için !important kullanılır
   ===================================================== */

/* ===== VEHICLES GRID ===== */

.vehicles-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)) !important;
    gap: 25px !important;
    margin-top: 30px !important;
}

/* ===== VEHICLE CARD ===== */

.vehicle-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    border: 2px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    transform: none !important;
}

.vehicle-card.filtered-hidden {
    display: none !important;
}

.vehicle-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    border-color: #dc2626 !important;
}

.vehicle-card.selected {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2) !important;
}

/* ===== CARD HEADER ===== */

.vehicle-card .card-header {
    padding: 20px 20px 15px !important;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%) !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.vehicle-card .card-badges {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
    flex-wrap: wrap !important;
}

.vehicle-card .card-badge {
    padding: 6px 12px !important;
    border-radius: 50px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.vehicle-card .card-badge.category {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    color: #ffffff !important;
}

.vehicle-card .card-badge.insurance {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #ffffff !important;
}

.vehicle-card .card-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

/* ===== CARD IMAGE - BÜYÜK VE TAM KAPLAMA ===== */

.card-image-wrapper {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%) !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.vehicle-card .card-image {
    height: 200px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    padding: 0 !important;
}

.vehicle-card .card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.3s ease !important;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15)) !important;
    padding: 0 !important;
}

.vehicle-card:hover .card-image img {
    transform: scale(1.08) !important;
}

/* ===== CARD BODY ===== */

.vehicle-card .card-body {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    flex: 1 !important;
    background: #ffffff !important;
}

/* ===== SPECS ROW - YATAY GRID ===== */

.specs-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
    padding: 15px !important;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9) !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
}

.specs-row .spec-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
}

.specs-row .spec-item i {
    font-size: 20px !important;
    color: #dc2626 !important;
    margin-bottom: 2px !important;
}

.specs-row .spec-item span {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #334155 !important;
}

/* ===== FEATURES ===== */

.vehicle-card .card-features {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.vehicle-card .feature-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 7px 14px !important;
    background: #f1f5f9 !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
}

.vehicle-card .feature-chip i {
    color: #dc2626 !important;
    font-size: 11px !important;
}

.vehicle-card .feature-chip.benefit {
    background: linear-gradient(135deg, #fef2f2, #fee2e2) !important;
    border-color: #fecaca !important;
    color: #dc2626 !important;
}

/* ===== TRANSMISSION ===== */

.vehicle-card .transmission-selector {
    display: flex !important;
    gap: 8px !important;
}

.vehicle-card .transmission-btn {
    flex: 1 !important;
    padding: 8px 10px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

.vehicle-card .transmission-btn i {
    font-size: 13px !important;
    font-weight: 900 !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.06) !important;
    border-radius: 5px !important;
}

.vehicle-card .transmission-btn:hover {
    border-color: #dc2626 !important;
    color: #dc2626 !important;
    background: #fef2f2 !important;
}

.vehicle-card .transmission-btn.selected {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
}

.vehicle-card .transmission-btn.selected i {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

.vehicle-card .transmission-single {
    flex: 1 !important;
    padding: 8px 10px !important;
    background: linear-gradient(135deg, #eff6ff, #dbeafe) !important;
    border: 1.5px solid #93c5fd !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #1d4ed8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

.vehicle-card .transmission-single i {
    font-size: 13px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    border-radius: 5px !important;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.4) !important;
}

/* ===== PRICING GRID ===== */

.pricing-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-top: auto !important;
}

.price-card {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 16px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.price-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4) !important;
}

.price-card-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.price-card-header i {
    font-size: 10px !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.price-card-value {
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
}

.price-card .price-value {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.1 !important;
}

.price-card .price-period {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 500 !important;
}

.deposit-card {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 16px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.deposit-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4) !important;
}

.deposit-card-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.deposit-card-header i {
    font-size: 10px !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.deposit-card-value {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.1 !important;
}

.deposit-card-note {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500 !important;
}

/* ===== SELECT BUTTON ===== */

.vehicle-card .select-btn {
    width: 100% !important;
    padding: 16px !important;
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3) !important;
}

.vehicle-card .select-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4) !important;
}

/* ===== SELECTED INDICATOR ===== */

.vehicle-card .selected-indicator {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    width: 40px !important;
    height: 40px !important;
    background: #22c55e !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 18px !important;
    opacity: 0 !important;
    transform: scale(0) !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4) !important;
}

.vehicle-card.selected .selected-indicator {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* ===== MOBİL RESPONSIVE ===== */

@media screen and (max-width: 768px) {
    .vehicles-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .vehicle-card {
        border-radius: 16px !important;
    }
    .vehicle-card .card-header {
        padding: 15px !important;
    }
    .vehicle-card .card-title {
        font-size: 18px !important;
    }
    .vehicle-card .card-badge {
        font-size: 10px !important;
        padding: 5px 10px !important;
    }
    .card-image-wrapper {
        padding: 20px !important;
    }
    .vehicle-card .card-image {
        height: 180px !important;
    }
    .vehicle-card .card-body {
        padding: 15px !important;
        gap: 12px !important;
    }
    .specs-row {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
        padding: 12px !important;
    }
    .specs-row .spec-item i {
        font-size: 18px !important;
    }
    .specs-row .spec-item span {
        font-size: 11px !important;
    }
    .vehicle-card .feature-chip {
        font-size: 11px !important;
        padding: 5px 10px !important;
    }
    .vehicle-card .transmission-btn,
    .vehicle-card .transmission-single {
        padding: 7px 8px !important;
        font-size: 11px !important;
    }
    .pricing-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .price-card,
    .deposit-card {
        padding: 12px 10px !important;
    }
    .price-card .price-value {
        font-size: 22px !important;
    }
    .deposit-card-value {
        font-size: 20px !important;
    }
    .vehicle-card .select-btn {
        padding: 14px !important;
        font-size: 15px !important;
    }
}

@media screen and (max-width: 480px) {
    .vehicles-grid {
        gap: 15px !important;
    }
    .vehicle-card .card-image {
        height: 160px !important;
    }
    .specs-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .pricing-grid {
        grid-template-columns: 1fr !important;
    }
}