/* 头部样式 */
.header {
    color: #fff;
    position: fixed;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
    background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0, transparent);
}

.header.glass {
    color: #000 !important;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0px 0px 10px 0px rgb(0, 0, 0, 0.1);
}

.header .header-top {
    height: 60px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header .header-top:hover {
    background-color: #fff;
}

.header .header-top:hover .nav ul li a {
    color: #333;
}

.header .header-top:hover .right a {
    color: #333;
}

.header .header-top:hover .container .right .login {
    color: #333;
    border: 1px solid #333;
}

.header .header-top:hover .right a.register {
    background-color: #ff6000;
    color: #fff;
}

.header .header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header .header-top .container .nav ul {
    display: flex;
    list-style: none;
}

.header .header-top .container .nav li {
    margin: 0 20px;
}

.header .header-top .container .nav a {
    font-size: 16px;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.header .header-top .container .nav a.active {
    color: #ff6000;
}

.header .header-top .container .right a {
    margin-left: 20px;
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.header .header-top .container .right .login {
    border: 1px solid;
}

.right .register {
    background: #ff6000;
    color: #fff;
}

/* 轮播图样式 */
.banner {
    height: 600px;
    width: 1170px;
    overflow: hidden;
    position: relative;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.custom-pagination {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: auto !important;
    display: flex;
    flex-direction: column;
    /* 改为纵向排列 */
    gap: 10px;
    /* 设置纵向间距 */
    z-index: 10;
}

.custom-pagination .swiper-pagination-bullet {
    width: 6px;
    /* 修改为竖向矩形 */
    height: 30px;
    /* 修改为竖向矩形 */
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 !important;
    transition: all 0.3s ease;
}

.custom-pagination .swiper-pagination-bullet-active {
    height: 40px;
    /* 活动状态时增加高度 */
    background: #fff;
}

/* 快捷服务样式 */
.quick-service {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.quick-service .service-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

/* 公司信息卡片样式 */
.quick-service .service-box .company-info {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0 40px;
}

.quick-service .service-box .company-info .company-left {
    flex: 0 0 300px;
    padding-right: 40px;
    border-right: 1px solid #eee;
}

.quick-service .service-box .company-info .company-left .company-name {
    font-size: 32px;
    color: #333;
    margin-bottom: 8px;
    font-weight: bold;
    line-height: 1.2;
}

.quick-service .service-box .company-info .company-right {
    flex: 1;
}

.quick-service .service-box .company-info .company-right .info-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.quick-service .service-box .company-info .company-right .info-list .info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.quick-service .service-box .company-info .company-right .info-list .info-item i {
    font-size: 20px;
    color: #ff6000;
    margin-top: 2px;
}

.quick-service .service-box .company-info .company-right .info-list .info-content {
    display: flex;
    flex-direction: column;
}

.quick-service .service-box .company-info .company-right .info-list .info-content label {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.quick-service .service-box .company-info .company-right .info-list .info-content span {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.service-items {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.service-items .item {
    text-align: center;
    cursor: pointer;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-items .item:hover {
    background: #fff5f0;
    transform: translateY(-5px);
}

.service-items .iconfont {
    font-size: 40px;
    color: #ff6000;
    transition: transform 0.3s ease;
}

.service-items .item:hover .iconfont {
    transform: scale(1.1);
}

.service-items span {
    display: block;
    margin: 10px 0 5px;
    font-size: 16px;
    font-weight: bold;
}

.service-items .item-desc {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

/* 视频专区样式 */
.video-section {
    padding: 60px 0;
}

.video-content {
    display: flex;
    gap: 30px;
}

.video-main {
    flex: 0 0 60%;
}

.video-player {
    display: flex;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    max-height: 350px;
    background: rgba(34, 34, 34, 0.15);
    justify-content: center;
    align-items: center;
}

.video-cover {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s;
}

.video-cover-column {
    width: 100%;
    height: 350px;
    object-fit: contain;
    transition: transform 0.3s;
}

.video-player:hover .video-cover {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: url(../../svg/play_icon.svg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.play-button i {
    color: #fff;
    font-size: 24px;
}

.video-player:hover .play-button {
    background-color: #ff6000;
}

.video-title {
    font-size: 18px;
    margin: 15px 0 5px;
}

.video-desc {
    color: #666;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.video-list {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-item {
    display: flex;
    gap: 15px;
    cursor: pointer;
}

.video-item-cover {
    flex: 0 0 120px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    width: 120px;
    height: 96px;
}

.video-item-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s;
}

.video-item:hover .video-item-cover img {
    transform: scale(1.1);
}

.play-icon {
    position: absolute;
    width: 30px;
    height: 30px;
    background: url(../../svg/play_icon_30.svg);
    display: flex;
    align-items: center;
    justify-content: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.play-icon i {
    color: #fff;
    font-size: 12px;
}

.video-item-info {
    flex: 1;
    max-width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.video-item-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.video-item-info p {
    font-size: 12px;
    color: #999;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.section-desc {
    color: #666;
    font-size: 16px;
}

.company-gallery {
    padding: 40px 0;
    background: #f6f6f6;
    min-width: 1200px;
}

.company-gallery .section-header {
    text-align: center;
    margin-bottom: 30px;
}

.company-gallery .section-desc {
    font-size: 14px;
    color: #666;
}

.gallery-grid {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.gallery-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 4px 5px 20px 0px rgba(194, 200, 206, .45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    width: 25%;
    height: 400px;
    position: relative;
}

.gallery-card:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 168px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 20px 10px 0 10px;
}

.card-date {
    font-size: 15px;
    font-weight: 500;
    color: #bebebe;
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.load-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    margin: 0 auto;
    transition: all 0.3s ease;
    width: 100px;
}

.load-more-btn:hover {
    background-color: #f5f5f5;
    color: #333;
}

.empty-content {
    display: inline-block;
}

.empty-content i {
    font-size: 48px;
    color: #ddd;
    display: block;
    margin-bottom: 15px;
}

.empty-content p {
    font-size: 14px;
    color: #999;
}

/* 主营线路样式 */
.routes-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.routes-content {
    margin-top: 30px;
}

.routes-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.route-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.route-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.route-cities {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.city-from,
.city-to {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.route-arrow {
    margin: 0 15px;
    color: #333;
}

.route-arrow i {
    font-size: 16px;
}

.route-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px dashed #eee;
    border-bottom: 1px dashed #eee;
    margin-bottom: 15px;
}

.route-time {
    display: flex;
    align-items: center;
    color: #666;
}

.route-time i {
    margin-right: 5px;
    color: #ff6000;
}

.route-price {
    display: flex;
    align-items: center;
}

.route-price span {
    color: #999;
    font-size: 12px;
}

.route-price strong {
    color: #ff6000;
    font-size: 18px;
    margin: 0 3px;
}

.route-detail-btn {
    display: block;
    text-align: center;
    padding: 8px 0;
    background-color: #f5f5f5;
    color: #666;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.route-detail-btn:hover {
    background-color: #ff6000;
    color: #fff;
}

.routes-more {
    text-align: center;
    margin-top: 30px;
}

.more-routes-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 25px;
    background-color: #fff;
    color: #ff6000;
    border: 1px solid #ff6000;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.more-routes-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.more-routes-btn:hover {
    background-color: #ff6000;
    color: #fff;
}

.more-routes-btn:hover i {
    transform: translateY(3px);
}

/* 未认证提示框样式 */
.uncertified-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 10vh auto;
    width: 700px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.close-btn {
    font-size: 24px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #ff6000;
}

.modal-body {
    padding: 20px;
}

.warning-message {
    display: flex;
    align-items: center;
    background-color: #fff8e6;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.warning-message i {
    font-size: 24px;
    color: #ff9800;
    margin-right: 10px;
}

.warning-message p {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.certified-companies h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.company-list {
    display: flex;
    justify-content: space-between;
}

.certified-company {
    border: 1px solid #eee;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.certified-company:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.company-logo {
    position: relative;
    margin-bottom: 10px;
    width: 200px;
    height: 132px;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.certified-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #ff6000;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certified-badge i {
    font-size: 14px;
}

.company-info {
    padding: 0 15px;
}

.company-info h5 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #333;
}

.company-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.contact-btn {
    display: block;
    text-align: center;
    background-color: #f5f5f5;
    color: #333;
    padding: 8px 0;
    border-radius: 4px;
    margin: 10px 15px;
    transition: all 0.3sease;
}

.contact-btn:hover {
    background-color: #ff6000;
    color: white;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.continue-btn {
    background-color: #ff6000;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.continue-btn:hover {
    background-color: #e55600;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .company-list {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 5vh auto;
    }
}

/* 底部样式 */
.footer {
    background: #333;
    color: #fff;
    padding: 20px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-item h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-item ul {
    list-style: none;
}

.footer-item li {
    margin-bottom: 10px;
}

.footer-item a {
    color: #999;
}

.footer-item a:hover {
    color: #ff6000;
}

.footer-item p {
    color: #999;
}

.qrcode img {
    width: 120px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
}

.copyright {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
    color: #999;
    font-size: 13px;
}

.beian-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3px;
    gap: 5px;
    color: #999;
    font-size: 13px;
}

.network-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 32px 0 0 0;
    font-size: 16px;
}

.custom-page-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f0f0;
    color: #000;
    border: none;
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-size: 14px;
    height: 36px;
    width: 65px;
}

.custom-page-num {
    display: inline-block;
    min-width: 32px;
    max-height: 36px;
    text-align: center;
    padding: 6px 0;
    margin: 0 2px;
    border-radius: 6px;
    color: #000;
    transition: background 0.2s, color 0.2s, border 0.2s;
    background: #f0f0f0;
}

.custom-page-num:hover {
    background: #fff5f0;
    color: #ff6000;
    border: 1px solid #ff6000;
}

.custom-page-btn:hover {
    background: #fff5f0;
    color: #ff6000;
    border: 1px solid #ff6000;
}

.custom-page-num.active {
    background: #ff6000;
    color: #fff;
    border: 1px solid #ff6000;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.qrcode-warp {
    object-fit: scale-down;
    position: fixed;
    right: 15px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 999;
}

.qrcode-warp img {
    width: 120px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.qrcode-warp .mini-app {
    padding: 5px;
    background: #fff;
}

.qrcode-warp .qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qrcode-warp .qrcode-desc {
    font-size: 14px;
    color: #8c8c8c;
}