/* 中国与越南跨境卡车服务页面样式 */

/* 基础变量与通用样式 */
:root {
    --primary-color: #1c3a5e;
    --secondary-color: #e63946;
    --accent-color: #f9a826;
    --light-color: #f8f9fa;
    --dark-color: #333;
    --text-color: #555;
    --light-text: #fff;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --china-color: #e63946;
    --vietnam-color: #4caf50;
}

.contaniner5 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

/* 顶部横幅区域 */
.banner-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 100%;
}

.banner-container img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(28, 58, 94, 0.85) 0%, rgba(230, 57, 70, 0.75) 100%);
    z-index: 1;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--light-text);
    z-index: 2;
    width: 100%;
}

.banner-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.banner-content p {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 页面导航部分 */
.page-navigation {
    background-color: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--text-color);
}

.breadcrumb-icon {
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrumb-icon i {
    width: 6px;
    height: 6px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    margin-left: -2px;
}

.breadcrumb p {
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.nav-container {
    position: relative;
}

.service-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-nav li {
    margin-right: 5px;
}

.service-nav a {
    display: inline-block;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.service-nav a:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.service-nav a:hover {
    color: var(--secondary-color);
}

.service-nav a:hover:after {
    transform: scaleX(0.8);
}

.service-nav a.active {
    color: var(--secondary-color);
    background-color: rgba(230, 57, 70, 0.05);
}

.service-nav a.active:after {
    transform: scaleX(1);
}

/* 通用标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header.light {
    color: var(--light-text);
}

.section-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.section-header.light .section-subtitle {
    color: var(--accent-color);
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header.light h2 {
    color: var(--light-text);
}

.section-header.light h2:after {
    background-color: var(--accent-color);
}

.section-desc {
    font-size: 16px;
    color: var(--text-color);
    max-width: 700px;
    margin: 25px auto 0;
    line-height: 1.6;
}

.section-header.light .section-desc {
    color: rgba(255, 255, 255, 0.8);
}

/* 服务介绍区域 */
.service-intro {
    padding: 80px 0;
    background-color: #fff;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.intro-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 30px;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.intro-feature {
    display: flex;
    align-items: center;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--secondary-color);
}

.feature-icon i {
    font-size: 20px;
}

.feature-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-color);
}

.intro-image {
    flex: 1;
    position: relative;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.badge-number {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.badge-number span {
    font-size: 20px;
}

.badge-text {
    font-size: 12px;
    margin-top: 5px;
}

/* 服务优势区域 */
.service-advantages {
    padding: 80px 0;
    background-color: var(--light-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    font-size: 40px;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.card-content h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.card-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
}

/* 服务线路区域 */
.service-routes {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.service-routes:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../images/map-pattern.png);
    opacity: 0.05;
}

.routes-container {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

.route-map {
    flex: 1;
}

.route-map img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.route-list {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
}

.route-name {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.country {
    font-size: 20px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 30px;
}

.china {
    background-color: var(--china-color);
    color: #fff;
}

.vietnam {
    background-color: var(--vietnam-color);
    color: #fff;
}

.route-arrow {
    width: 50px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 15px;
    position: relative;
}

.route-arrow:after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    border-right: 2px solid rgba(255, 255, 255, 0.5);
}

.route-cities {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.cities-group h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.cities-group p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.route-features {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.route-feature {
    text-align: center;
}

.feature-number {
    font-size: 30px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.feature-number span {
    font-size: 16px;
    font-weight: 400;
}

.feature-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* 服务流程区域 */
.service-process {
    padding: 80px 0;
    background-color: #fff;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
    position: relative;
}

.step-number:after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px dashed rgba(230, 57, 70, 0.3);
    border-radius: 50%;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.5;
    max-width: 150px;
    margin: 0 auto;
}

.step-arrow {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 2;
}

.step-arrow:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

/* 成功案例区域 */
.service-cases {
    padding: 80px 0;
    background-color: var(--light-color);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.case-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 25px;
    position: relative;
}

.case-tag {
    position: absolute;
    top: -15px;
    left: 25px;
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
}

.case-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.case-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
}

/* 联系区域 */
.service-contact {
    padding: 80px 0;
    background-color: #fff;
}

.contact-content {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    text-align: center;
    padding: 60px;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../images/pattern-light.png);
    opacity: 0.05;
}

.contact-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-btn {
    display: inline-block;
    background-color: #fff;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.contact-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--accent-color);
    z-index: -1;
    transition: width 0.3s ease;
}

.contact-btn:hover {
    color: #fff;
}

.contact-btn:hover:before {
    width: 100%;
}

/* 图标样式 */
[class^="icon-"] {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-document {
    background-image: url(../images/icon-document.svg);
}

.icon-truck {
    background-image: url(../images/icon-truck.svg);
}

.icon-warehouse {
    background-image: url(../images/icon-warehouse.svg);
}

.icon-payment {
    background-image: url(../images/icon-payment.svg);
}

.icon-customs {
    background-image: url(../images/icon-customs.svg);
}

.icon-port {
    background-image: url(../images/icon-port.svg);
}

.icon-fleet {
    background-image: url(../images/icon-fleet.svg);
}

.icon-service {
    background-image: url(../images/icon-service.svg);
}

/* 响应式设计 */
@media screen and (max-width: 900px) {
    /* 横幅响应式 */
    .banner-container {
        max-height: 300px;
    }
    
    .banner-content h1 {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .banner-content p {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    /* 导航部分响应式 */
    .service-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .service-nav li {
        margin: 0 3px 5px;
    }
    
    .service-nav a {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    /* 介绍区域响应式 */
    .intro-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        right: 20px;
        bottom: -20px;
        width: 100px;
        height: 100px;
    }
    
    /* 优势区域响应式 */
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    /* 线路区域响应式 */
    .routes-container {
        flex-direction: column;
    }
    
    .route-cities {
        flex-direction: column;
        gap: 20px;
    }
    
    .route-features {
        flex-direction: column;
        gap: 20px;
    }
    
    /* 流程区域响应式 */
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-steps:before {
        display: none;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .step-content p {
        max-width: 250px;
    }
    
    /* 案例区域响应式 */
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    /* 联系区域响应式 */
    .contact-content {
        padding: 40px 20px;
    }
} 