/* 顶部联系方式栏 */
.top-contact-bar {
    background: #2c3e50;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
    text-align: center;
}

.top-contact-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-contact-bar .contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-contact-bar .contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-contact-bar .contact-info i {
    color: #3498db;
}

.top-contact-bar .company-slogan {
    font-weight: 600;
    color: #3498db;
}

/* Logo样式 */
.logo-text {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    line-height: 1.2;
    display: block;
    white-space: nowrap;
}

.logo-text:hover {
    color: #3498db;
    text-decoration: none;
}

/* 导航栏布局修复 */
.navbar {
    flex-wrap: wrap !important;
}

.navbar-brand {
    margin-right: 10px !important;
    flex-shrink: 0;
}

.navbar-collapse {
    flex-grow: 0;
}

.navbar-nav {
    flex-wrap: wrap;
}

/* 页面特定样式 */
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    color: #fff;
    text-align: center;
}

.page-banner h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.page-banner p {
    font-size: 1.1em;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

/* 服务卡片样式 */
.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.service-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.service-card p {
    color: #7f8c8d;
    line-height: 1.8;
}

/* 特色区域样式 */
.feature-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item i {
    font-size: 3em;
    color: #3498db;
    margin-bottom: 20px;
}

.feature-item h5 {
    color: #2c3e50;
    margin-bottom: 15px;
}

/* 数据统计样式 */
.stats-section {
    background: #2c3e50;
    color: #fff;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item .number {
    font-size: 3em;
    font-weight: 700;
    color: #3498db;
    display: block;
}

.stat-item .label {
    font-size: 1em;
    margin-top: 10px;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .logo-text {
        font-size: 11px;
    }
}

@media (max-width: 991px) {
    .navbar {
        flex-wrap: wrap !important;
    }
    
    .navbar-brand {
        flex-basis: 100%;
        max-width: 100%;
        margin-bottom: 10px;
    }
    
    .logo-text {
        font-size: 13px;
        white-space: normal;
        text-align: center;
    }
    
    .navbar-collapse {
        flex-basis: 100%;
    }
    
    .navbar-nav {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .top-contact-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .top-contact-bar .contact-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .logo-text {
        font-size: 12px;
    }
    
    .page-banner h2 {
        font-size: 1.8em;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 8px 0;
    }
}
