/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页头样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    height: 40px;
}

.search {
    display: flex;
    gap: 10px;
}

.search input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 300px;
}

.search button {
    padding: 8px 20px;
    background-color: #0066B1;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* 导航栏样式 */
.nav {
    background-color: #0066B1;
    padding: 15px 0;
}

.nav ul {
    max-width: 1200px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 10px;
}

.nav a:hover,
.nav a.active {
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb span {
    color: #0066B1;
}

/* 主要内容区 */
.main {
    padding: 40px 0;
}

/* 筛选区域 */
.filter {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.filter h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h3 {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-options a {
    padding: 6px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.filter-options a:hover,
.filter-options a.active {
    background-color: #0066B1;
    color: #fff;
    border-color: #0066B1;
}

/* 车型列表 */
.car-list {
    display: grid;
    gap: 30px;
}

.car-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    transition: transform 0.3s;
}

.car-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.car-image {
    width: 300px;
    overflow: hidden;
}

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

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

.car-info {
    flex: 1;
    padding: 20px;
}

.car-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.car-info h3 a {
    color: #333;
    text-decoration: none;
}

.price {
    color: #e60012;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.desc {
    color: #666;
    margin-bottom: 15px;
}

.car-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.car-tags span {
    padding: 4px 12px;
    background-color: #f5f5f5;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
}

.car-btns {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.btn.outline {
    border: 1px solid #0066B1;
    color: #0066B1;
}

.btn.outline:hover {
    background-color: #0066B1;
    color: #fff;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background-color: #0066B1;
    color: #fff;
    border-color: #0066B1;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-nav {
    margin-bottom: 20px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.copyright {
    color: #999;
    font-size: 14px;
}

.copyright p {
    margin: 5px 0;
} 