/* 主布局容器 */
.main-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

/* 左侧主内容 */
.main-content {
    flex: 1;
}

/* 右侧边栏 */
.sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* 轮播广告位样式 */
.banner-carousel {
    position: relative;
    height: 305px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: white;
}

.carousel-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.carousel-desc {
    font-size: 16px;
    margin-bottom: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background-color: white;
    width: 30px;
    border-radius: 6px;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: rgba(0,0,0,0.8);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* 城市介绍 */
.city-intro {
    background-color: var(--card-color);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.city-intro h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.city-intro p {
    line-height: 1.6;
    color: var(--text-color);
}

/* 核心栏目样式 */
.core-section {
    background-color: var(--card-color);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* 移除左侧红色竖线 */
.core-section::before {
    display: none;
}

.core-section h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--text-color);
    padding-left: 15px;
}

/* 场地推荐样式 */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.facility-card {
    background-color: var(--card-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.facility-card:hover {
    transform: translateY(-5px);
    text-decoration:none;
}

.facility-image {
    height: 200px;
    overflow: hidden;
}

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

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

.facility-info {
    padding: 20px;
}

.facility-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
}

.facility-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--light-text);
    font-size: 14px;
}

.facility-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    padding: 4px 12px;
    background-color: var(--background-color);
    color: var(--light-text);
    border-radius: 16px;
    font-size: 12px;
}

/* 驾校推荐样式 */
.school-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.school-card {
    background-color: var(--card-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    gap: 15px;
    border: 1px solid var(--border-color);
}

.school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    text-decoration:none;
}

.school-card {
    cursor: pointer;
}

.school-logo {
    width: 80px;
    height: 80px;
    background-color: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary-color);
    font-weight: bold;
    flex-shrink: 0;
}

.school-details {
    flex: 1;
}

.school-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--text-color);
}

.school-rating {
    color: #ff9800;
    margin-bottom: 10px;
}

.school-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--light-text);
}

.school-price {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
}

/* 教练推荐样式 */
.trainer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.trainer-card {
    background-color: var(--card-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.trainer-card:hover {
    transform: translateY(-5px);
    text-decoration:none;
}

.trainer-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #f0f0f0;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--secondary-color);
}

.trainer-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.trainer-level {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.trainer-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--light-text);
}

/* 价格信息样式 */
.price-section {
    margin-bottom: 30px;
}

.price-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.price-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.1);
}

.price-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-color);
}

.price-amount {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.price-features {
    margin-bottom: 20px;
}

.price-feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--light-text);
}

.price-feature:before {
    content: '&#10003;';
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: bold;
}

/* 广告位样式 */
.ad-space {
    background-color: var(--card-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px dashed var(--border-color);
}

.ad-space img {
    max-width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
}

.ad-label {
    font-size: 12px;
    color: var(--light-text);
    text-align: right;
    margin-top: 5px;
}

/* 快速入口样式 */
.tools-section {
    background-color: var(--card-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 常见问题样式 */
.faq-section {
    background-color: var(--card-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.faq-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}
.faq-item:hover{
	text-decoration:none;
}
.faq-question {
    font-size: 15px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
}

.faq-answer {
    font-size: 13px;
    color: var(--light-text);
}

/* 底部转化区域 */
.contact-section {
    text-align: center;
    padding: 40px;
    background-color: var(--card-color);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin: 60px 0;
}

.contact-section h2 {
    margin-bottom: 20px;
}

.contact-section p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-v2 {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-v2:hover {
    background-color: #c1121f;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #1d3557;
    box-shadow: 0 4px 10px rgba(29, 53, 87, 0.3);
}

.container.contact{
		border:none;
	}
	.contact .contact-btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    transition: background-color 0.3s;
    font-size:20px;
}

.contact .contact-btn:hover {
    background-color: #c1121f;
}
  	.contact .btn-ask {
    background-color: white;
    color: var(--primary-color);
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.contact .btn-ask:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px) scale(1.03);
}
.contact .btn-phone {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.contact .btn-phone:hover {
    background-color: #c1121f;
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}
.contact .btn-course {
    background-color: var(--warning-color);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.contact .btn-course:hover {
    background-color: #e68900;
    box-shadow: 0 7px 21px rgba(255, 152, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}
.car-type-tab {
        padding: 8px 16px;
        border: 1px solid var(--border-color);
        background-color: white;
        color: var(--text-color);
        border-radius: 20px;
        cursor: pointer;
        font-size: 14px;
        white-space: nowrap;
        transition: all 0.3s ease;
}

.car-type-tab:hover {
    background-color: var(--light-bg);
    border-color: var(--primary-color);
}

.car-type-tab.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.car-type-tabs::-webkit-scrollbar {
    display: none;
}

.tab-scroll-btn {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    width: 40px;
    height: 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-scroll-btn:hover {
    opacity: 1;
}