/* 全局样式 */
body {
    font-family: 'Noto Sans SC', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* 标题样式 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #007bff;
    border-radius: 2px;
}

/* 轮播图样式 */
.carousel-caption {
    bottom: 30%;
    z-index: 10;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 卡片悬停效果 */
.service-card, .case-card, .news-card {
    transition: all 0.3s ease;
}

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

/* 图标样式 */
.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

/* 数字增长动画 */
.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* 表单样式 */
.form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

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

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

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

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

.nav-link {
    color: #333;
    font-weight: 500;
    margin-left: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: all 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

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

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

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #007bff;
}

.footer-links li a {
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: #007bff;
    padding-left: 5px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .carousel-caption {
        bottom: 20%;
    }
    
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .counter {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .carousel-caption {
        bottom: 15%;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .counter {
        font-size: 1.8rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

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

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

/* 加载动画 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 关于我们页面样式 */
.about-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://p11-flow-imagex-sign.byteimg.com/tos-cn-i-a9rns2rl98/rc/pc/super_tool/ab8edcdf3760430ead084cc9a264a128~tplv-a9rns2rl98-image.image?lk3s=8e244e95&rcl=20260503143118A8FB9B9C5966E37E55E9&rrcfp=f06b921b&x-expires=1780381927&x-signature=g5Xag6f8raUiuGdpIRLTjZSXEQQ%3D');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.about-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-content {
    padding: 80px 0;
}

.about-vision {
    background-color: #f8f9fa;
    padding: 80px 0;
}

/* 产品服务页面样式 */
.services-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://p11-flow-imagex-sign.byteimg.com/tos-cn-i-a9rns2rl98/rc/pc/super_tool/63fae0cb89c249f3bcd175704f2f4ccc~tplv-a9rns2rl98-image.image?lk3s=8e244e95&rcl=20260503143118A8FB9B9C5966E37E55E9&rrcfp=f06b921b&x-expires=1780381930&x-signature=BCdW%2BxxqC5SzO58QhyubkWNG6GQ%3D');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.services-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-detail {
    padding: 80px 0;
}

.service-detail img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 成功案例页面样式 */
.cases-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://p26-doubao-search-sign.byteimg.com/mosaic-legacy/31f10001756faae2dc81~tplv-be4g95zd3a-image.jpeg?lk3s=feb11e32&x-expires=1793341887&x-signature=N6G64l38cvYHGduIHhi7XnMdaqg%3D');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.cases-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.case-filter {
    padding: 40px 0;
    text-align: center;
}

.case-filter button {
    margin: 0 10px;
    padding: 8px 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.case-filter button.active, .case-filter button:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

/* 新闻资讯页面样式 */
.news-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://p26-doubao-search-sign.byteimg.com/tos-cn-i-qvj2lq49k0/2f055c4af7a148488c54a4d2107a8ef5~tplv-be4g95zd3a-image.jpeg?lk3s=feb11e32&x-expires=1793341887&x-signature=Qjv01rTLDZjTMIwtuawyDxZ2%2F6o%3D');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.news-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.news-list {
    padding: 40px 0;
}

.news-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 招聘中心页面样式 */
.recruitment-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://p11-doubao-search-sign.byteimg.com/labis/07c7fe676e4becbf9c18e80412200137~tplv-be4g95zd3a-image.jpeg?lk3s=feb11e32&x-expires=1793341887&x-signature=%2BBsWT0%2FI%2Bgma5nlnjfkkf7aCf7k%3D');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.recruitment-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.job-list {
    padding: 40px 0;
}

.job-item {
    margin-bottom: 30px;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.job-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.job-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #007bff;
}

.job-info {
    margin-bottom: 15px;
}

.job-info span {
    display: inline-block;
    margin-right: 20px;
    color: #666;
}

.job-info i {
    color: #007bff;
    margin-right: 5px;
}

.job-desc {
    color: #666;
    margin-bottom: 20px;
}

.job-apply {
    text-align: right;
}

/* 联系我们页面样式 */
.contact-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://p3-doubao-search-sign.byteimg.com/labis/45b980badb9d57418d1b85dcd916a130~tplv-be4g95zd3a-image.jpeg?lk3s=feb11e32&x-expires=1793341887&x-signature=ih8wXH%2Frep4mjKHsBPdBlJI1mQs%3D');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.contact-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info {
    padding: 40px 0;
}

.contact-map {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
}

.contact-form {
    padding: 40px 0;
}

/* 404页面样式 */
.error-404 {
    padding: 100px 0;
    text-align: center;
}

.error-404 h1 {
    font-size: 6rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 20px;
}

.error-404 h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.error-404 p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}