/* 全局样式重置 */
* {
    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 {
    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;
}

/* 车型概览 */
.car-overview {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.car-gallery {
    width: 100%;
}

.main-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail-list img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.thumbnail-list img:hover {
    opacity: 0.8;
}

.car-info h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.price-info {
    margin-bottom: 20px;
}

.price {
    margin-bottom: 15px;
}

.price .label {
    font-size: 16px;
    color: #666;
}

.price .amount {
    font-size: 24px;
    color: #e60012;
    font-weight: bold;
    margin-left: 10px;
}

.btns {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn:not(.outline) {
    background-color: #0066B1;
    color: #fff;
    border: none;
}

.btn.outline {
    border: 1px solid #0066B1;
    color: #0066B1;
    background-color: transparent;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.car-tags {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.car-tags span {
    padding: 4px 12px;
    background-color: #f5f5f5;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
}

.car-desc {
    color: #666;
    line-height: 1.8;
}

/* 产品特点 */
.features {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.features h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066B1;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
}

.feature-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.feature-item p {
    color: #666;
}

/* 配置参数 */
.specifications {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.specifications h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066B1;
}

.spec-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.spec-group h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.spec-group table {
    width: 100%;
    border-collapse: collapse;
}

.spec-group td {
    padding: 12px;
    border: 1px solid #eee;
}

.spec-group td:first-child {
    width: 40%;
    background-color: #f9f9f9;
    color: #666;
}

/* 购车咨询 */
.consultation {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
}

.consultation h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066B1;
}

.consult-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.consult-form h3,
.contact-info h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #666;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #666;
}

.contact-info .icon {
    margin-right: 10px;
    font-size: 20px;
}

/* 页脚样式 */
.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;
} 