/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.nav-link {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-left: 1rem;
}

.nav-link:hover, .nav-link.active {
    color: #007bff;
}

/* 首屏横幅 */
.banner {
    background-color: #f8f9fa;
    min-height: 600px;
}

.banner-content h1 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.banner-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* 图片懒加载 */
.lazy-img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-img.loaded {
    opacity: 1;
}

/* 通用样式 */
.py-10 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* 卡片样式 */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.hover-shadow:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 图标盒子 */
.icon-box {
    width: 60px;
    height: 60px;
    background-color: #f0f8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* 计数器样式 */
.counter-item {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    min-width: 120px;
}

/* 案例图片 */
.case-img {
    background-size: cover;
    background-position: center;
}

/* 新闻图片 */
.news-img {
    background-size: cover;
    background-position: center;
}

/* 联系表单 */
.contact-form .form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.contact-form .form-control:focus {
    border-color: #007bff;
    box-shadow: none;
}

/* 联系信息 */
.contact-info .info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.contact-info .icon-box {
    margin-right: 1rem;
    margin-bottom: 0;
}

/* 页脚样式 */
.footer {
    background-color: #1a1a1a;
    color: #fff;
}

.footer h3 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #007bff;
    text-decoration: none;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* 按钮样式 */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .banner {
        min-height: auto;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .py-10 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .counter-item {
        margin-bottom: 1rem;
    }
}

/* 滚动动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* 招聘页面样式 */
.job-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.job-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.job-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.job-meta span {
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.job-meta i {
    color: #007bff;
    margin-right: 0.5rem;
}

/* 产品页面样式 */
.product-detail {
    margin-bottom: 3rem;
}

.product-detail h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.product-features li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* 案例页面样式 */
.case-detail {
    margin-bottom: 3rem;
}

.case-detail img {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.case-challenge, .case-solution, .case-result {
    margin-bottom: 2rem;
}

.case-challenge h4, .case-solution h4, .case-result h4 {
    color: #007bff;
    margin-bottom: 1rem;
}