/* 传输预订表单样式 */
.t-transfer-form-container {
    width: 800px;
    min-height: 700px;
    background: rgba(29, 36, 47, 0.8);
    padding: 40px;
    border-radius: 8px;
}
@media (max-width: 768px) {
    .t-transfer-form-container {
        width: 100%;
        padding: 40px 15px 0;
        height: fit-content;
        background: linear-gradient(0deg, black, transparent 70%);
    }
}
.t-transfer-form {
    padding: 60px 0;
    background-color: rgba(0, 0, 0, 0.7);
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('../images/trans-top1.png') no-repeat center center/cover;
}

.t-form-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.t-tab-btn {
    padding: 12px 24px;
    background: transparent;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    border: 1px solid #fff;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    transition: all 0.3s ease;
}

.t-tab-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
}

.t-tab-btn.active {
    color: #000;
    border-color: #fff;
    background: #fff;
}

.t-form-content {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.t-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.t-form-group {
    display: flex;
    flex-direction: column;
}

.t-form-group.t-full-width {
    grid-column: 1 / -1;
}

.t-form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #fff;
}

.t-form-group input,
.t-form-group select,
.t-form-group textarea {
    height: 49px;
    padding: 12px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s ease;
}
.t-form-group textarea {
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

.t-form-group input:focus,
.t-form-group select:focus,
.t-form-group textarea:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    outline: none;
}

.t-form-group input::placeholder,
.t-form-group select::placeholder,
.t-form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.t-form-group input:focus::placeholder,
.t-form-group select:focus::placeholder,
.t-form-group textarea:focus::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.t-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.t-form-group select option {
    background-color: #1d242f;
    color: #fff;
}

.t-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.t-form-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
}
.t-form-footer-btn {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 10px;
    height: 40px;
    width: 160px;
    border-radius: 20px;
    padding: 0 20px;
    transition: var(--transition);
}
.t-form-footer-btn:hover {
    cursor: pointer;
    background: #fff;
    color: var(--blank);
}
.price {
    font-size: 24px;
    margin-right: 20px;
    color: #fff;
}

/*.btn {*/
/*    padding: 12px 30px;*/
/*    border: none;*/
/*    border-radius: 4px;*/
/*    font-size: 16px;*/
/*    font-weight: 500;*/
/*    cursor: pointer;*/
/*    transition: all 0.3s ease;*/
/*}*/

/* 车型展示样式 */
.vehicle-models {
    padding: 60px 0;
}

.vehicle-models .section-title {
    color: rgba(29, 36, 47, 1);
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 280px));
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.vehicle-card {
    background: rgba(56, 65, 74, 1);
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.vehicle-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.vehicle-info {
    padding: 20px;
}

.vehicle-info h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.vehicle-info .price {
    font-size: 18px;
    margin-bottom: 15px;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #898d74
}

.features li {
    padding: 8px 0;
    font-size: 14px;
    line-height: 2;
    color: rgba(164, 165, 166);
}

.features li:last-child {
    border-bottom: none;
}

.features li i {
    color: #898D74;
    margin-right: 8px;
    font-size: 18px;
    font-weight: 600;
}

.view-all {
    text-align: center;
    margin-top: 40px;
    width: 200px;
    height: 60px;
    border-radius: 30px;
    border: 1px solid var(--blank);
    margin: 40px auto;
}

.view-all-btn {
    color: var(--blank);
    height: 60px;
    line-height: 60px;
}

/* FAQ样式 */
.faq {
    padding: 0 0 60px;
}
.faq .section-title {
    color: var(--blank);
}

.faq-list {
    margin-top: 40px;
}

.faq-item {
    background: rgba(137, 141, 116, 0.06);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    cursor: pointer;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px;
    color: #666;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .t-transfer-form {
        padding: 40px 0 0;
    }

    .t-form-row {
        grid-template-columns: 1fr;
    }

    .t-form-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .t-form-tabs .t-tab-btn{
       padding: 12px 0;
    }

    .t-tab-btn {
        width: 100%;
        text-align: center;
    }

    .t-transfer-booking-form {
        padding: 20px;
    }

    .vehicle-grid {
        grid-template-columns: 1fr;
    }
}

.promotion {
    padding: 60px 0;
    width: 100%;
    height: 500px;
    background: url('../images/trans-bottom.png') no-repeat center center/cover;
}
.promotion-container {
    margin: 60px 0 auto auto;
    width: 50%;
    color: #fff;
}
@media (max-width: 768px) {
    .promotion-container {
        margin: 30px 20px 0;
        width: fit-content;
        font-size: 20px;
    }
    .promotion-container p{
        font-size: 14px;
    }

}
.promotion-title {
    font-size: 32px;
}
.promotion-title p {
    font-size: 18px;
    font-weight: 300;
}

.carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-container img.active {
    opacity: 1;
}

/* 隐藏Swiper默认的导航按钮样式 */
.swiper-button-prev,
.swiper-button-next {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    width: auto;
    height: auto;
    color: inherit;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none;
}

/* 自定义轮播图按钮样式 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    opacity: 0.8;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-btn i {
    font-size: 24px;
    color: #fff;
}

/* 自定义分页器样式 */
.swiper-pagination {
    bottom: 10px !important;
}

.swiper-pagination-bullet {
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 0;
    opacity: 0.3;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.swiper-pagination-bullet-active {
    opacity: 0.9;
    background: #fff;
}

/* 轮播图容器样式 */
.vehicle-swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

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