/* ========================================
   首页样式
   ======================================== */

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.85) 0%, rgba(62, 146, 204, 0.75) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding-top: var(--header-height);
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
    font-size: var(--fs-h4);
    margin-bottom: var(--space-xl);
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-btns {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

/* 企业速览 */
.section-overview {
    background-color: #fff;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.overview-card {
    background: var(--bg-light);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-normal);
}

.overview-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.overview-icon {
    font-size: 48px;
    margin-bottom: var(--space-md);
}

.overview-card h3 {
    font-size: var(--fs-h4);
    color: var(--text-title);
    margin-bottom: var(--space-sm);
}

.overview-card p {
    font-size: var(--fs-small);
    color: var(--text-muted);
    line-height: 1.6;
}

/* 数据统计 */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-blue));
    padding: var(--space-xl);
    border-radius: var(--radius-md);
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.stat-number span {
    font-size: 24px;
}

.stat-label {
    font-size: var(--fs-small);
    opacity: 0.9;
}

/* 全球航线 */
.section-routes {
    background-color: var(--bg-light);
}

.routes-map {
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.routes-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
}

.route-tag {
    padding: 8px 20px;
    background-color: #fff;
    border-radius: 20px;
    font-size: var(--fs-small);
    color: var(--text-body);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.route-tag:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.route-tag.active {
    background-color: var(--primary-dark);
    color: #fff;
    box-shadow: 0 4px 12px rgba(26, 109, 181, 0.4);
}

/* 核心业务 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    height: 180px;
    overflow: hidden;
}

.service-img .img-placeholder,
.service-img img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}

.service-content {
    padding: var(--space-lg);
}

.service-content h3 {
    font-size: var(--fs-h4);
    color: var(--text-title);
    margin-bottom: var(--space-sm);
}

.service-content p {
    font-size: var(--fs-small);
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.service-branches {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.branch-tag {
    padding: 4px 10px;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: var(--fs-xs);
    color: var(--secondary-blue);
}

.service-link {
    font-size: var(--fs-small);
    color: var(--primary-red);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.service-link:hover {
    color: var(--primary-dark);
}

/* 分公司特色 */
.section-branches {
    background-color: var(--bg-light);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.branch-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.branch-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.branch-img {
    height: 200px;
    overflow: hidden;
}

.branch-img .img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.branch-content {
    padding: var(--space-lg);
}

.branch-content h3 {
    font-size: var(--fs-h4);
    color: var(--text-title);
    margin-bottom: var(--space-xs);
}

.branch-feature {
    font-size: var(--fs-small);
    color: var(--primary-red);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.branch-desc {
    font-size: var(--fs-small);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.branch-highlights {
    list-style: none;
}

.branch-highlights li {
    font-size: var(--fs-small);
    color: var(--text-body);
    margin-bottom: var(--space-xs);
}

/* 核心优势 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.advantage-item {
    text-align: center;
    padding: var(--space-xl);
}

.advantage-icon {
    font-size: 56px;
    margin-bottom: var(--space-md);
}

.advantage-item h3 {
    font-size: var(--fs-h4);
    color: var(--text-title);
    margin-bottom: var(--space-sm);
}

.advantage-item p {
    font-size: var(--fs-small);
    color: var(--text-muted);
    line-height: 1.6;
}

/* 咨询栏 */
.section-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-blue) 100%);
    padding: var(--space-xxl) 0;
}

.cta-content {
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: var(--fs-h2);
    margin-bottom: var(--space-sm);
}

.cta-content p {
    font-size: var(--fs-body);
    opacity: 0.9;
    margin-bottom: var(--space-xl);
}

.cta-btns {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.cta-phone {
    font-size: var(--fs-body);
}

.cta-phone a {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-left: var(--space-sm);
}

.cta-phone a:hover {
    text-decoration: underline;
}

/* 响应式 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
    
    .overview-grid,
    .services-grid,
    .branches-grid,
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: 500px;
        height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: var(--fs-body);
    }
    
    .hero-btns {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .overview-grid,
    .services-grid,
    .branches-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: var(--space-lg);
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-number span {
        font-size: 18px;
    }
    
    .cta-btns {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .cta-btns .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .cta-phone a {
        font-size: 22px;
        display: block;
        margin-top: var(--space-xs);
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-item {
        padding: var(--space-sm);
    }
}
