/* Vehicle Card Styles - Modern Tasarım */
.vehicle-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0;
    margin: 15px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* Üst kısım - Resim */
.vehicle-img-box {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-img-box img {
    display: none; /* Varsayılan olarak gizli, JavaScript ile gösterilecek */
}

/* Araç fotoğraf slider container */
.vehicle-img-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--primary);
    background: var(--card-bg);
    box-shadow: 0 4px 12px rgba(27, 73, 101, 0.3);
}

/* Fotoğraf container */
.vehicle-img-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Araç fotoğrafı */
.vehicle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    border-radius: 0;
}

/* Slider navigasyon butonları */
.vehicle-img-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(27, 73, 101, 0.9);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.vehicle-img-slider:hover .vehicle-img-nav {
    opacity: 1;
}

.vehicle-img-nav:hover {
    background: rgba(27, 73, 101, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.vehicle-img-nav.prev {
    left: 10px;
}

.vehicle-img-nav.next {
    right: 10px;
}

/* Slider noktaları */
.vehicle-img-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.vehicle-img-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.vehicle-img-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.vehicle-img-dot.active {
    background: var(--primary);
    border-color: white;
    transform: scale(1.3);
    box-shadow: 0 2px 6px rgba(27, 73, 101, 0.5);
}

/* Tek fotoğraf varsa navigasyon gizle */
.vehicle-img-slider.single-image .vehicle-img-nav,
.vehicle-img-slider.single-image .vehicle-img-dots {
    display: none;
}

.vehicle-card:hover .vehicle-img-box img {
    transform: none;
}

/* Alt kısım - Bilgiler */
.vehicle-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.vehicle-title {
    color: #000000;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.vehicle-plate {
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
    margin: 4px 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.vehicle-plate i {
    color: var(--primary);
    font-size: 0.9rem;
}

/* Özellik ikonları */
.vehicle-features {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 4px 0;
}

.vehicle-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #000000;
    font-size: 0.95rem;
    font-weight: 500;
}

.vehicle-features i {
    color: var(--primary);
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

/* Açıklama */
.vehicle-desc {
    color: #000000;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 4px 0;
}

/* Fiyat alanı */
.vehicle-price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

.vehicle-price {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.vehicle-price-desc {
    color: #000000;
    font-size: 0.85rem;
    line-height: 1.3;
    margin: 0;
}

/* Seç butonu - Gizli */
.vehicle-select-btn {
    display: none !important;
}

/* Seçili durum */
.vehicle-card.selected {
    border: 2px solid var(--primary);
    box-shadow: 0 8px 25px rgba(27, 73, 101, 0.2);
}

/* Karanlık tema için yazı ve simge renkleri */
body.dark-theme .vehicle-title {
    color: #000000 !important;
}

body.dark-theme .vehicle-features span {
    color: #000000 !important;
}

body.dark-theme .vehicle-features i {
    color: var(--primary) !important;
}

body.dark-theme .vehicle-plate {
    color: #000000 !important;
}

body.dark-theme .vehicle-plate i {
    color: var(--primary) !important;
}

body.dark-theme .vehicle-desc {
    color: #000000 !important;
}

body.dark-theme .vehicle-price {
    color: var(--primary) !important;
}

body.dark-theme .vehicle-price-desc {
    color: #000000 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .vehicle-card {
        margin: 10px 0;
        border-radius: 12px;
    }
    
    .vehicle-img-box {
        height: 200px;
    }
    
    .vehicle-img-box img {
        display: none; /* Varsayılan olarak gizli, JavaScript ile gösterilecek */
    }
    
    /* Mobilde slider */
    .vehicle-img-slider {
        border: 2px solid var(--primary);
    }
    
    /* Mobilde resim */
    .vehicle-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        padding: 0;
        border-radius: 0;
    }
    
    .vehicle-img-nav {
        width: 30px;
        height: 30px;
        font-size: 14px;
        opacity: 1; /* Mobilde her zaman görünür */
    }
    
    .vehicle-img-nav.prev {
        left: 8px;
    }
    
    .vehicle-img-nav.next {
        right: 8px;
    }
    
    .vehicle-img-dots {
        bottom: 8px;
        padding: 6px 10px;
        background: rgba(0, 0, 0, 0.4);
    }
    
    .vehicle-img-dot {
        width: 8px;
        height: 8px;
    }
    

    
    .vehicle-info {
        padding: 16px;
        gap: 6px;
        align-items: center;
        text-align: center;
    }
    
    .vehicle-title {
        font-size: 1.2rem;
    }
    
    .vehicle-features {
        gap: 12px;
        justify-content: center;
    }
    
    .vehicle-features span {
        font-size: 0.9rem;
    }
    
    .vehicle-price {
        font-size: 1.5rem;
    }
    
    .vehicle-desc {
        font-size: 0.85rem;
    }
    
    /* Mobilde seç butonlarını gizle */
    .vehicle-select-btn {
        display: none !important;
    }
    
    /* Mobilde yazıların taşmasını engelle */
    .vehicle-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .vehicle-desc {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .vehicle-features {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
} 