/* 全局样式 */
body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: #0056b3;
    text-decoration: none;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.navbar-dark .navbar-nav .active > .nav-link {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* 首屏大图样式 */
.banner {
    position: relative;
    margin-top: 56px;
}

.banner-img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.banner-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.banner-text p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* 卡片样式 */
.card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.card-img-top {
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}

.card-body {
    padding: 1.25rem;
}

.card-title {
    margin-bottom: 0.75rem;
}

.card-text:last-child {
    margin-bottom: 0;
}

.card-footer {
    padding: 0.75rem 1.25rem;
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

/* 按钮样式 */
.btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

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

/* 表单样式 */
.form-group {
    margin-bottom: 1rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 页脚样式 */
footer {
    background-color: #343a40;
    color: #fff;
}

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

.lazy.loaded {
    opacity: 1;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .banner-text h1 {
        font-size: 2rem;
    }
    
    .banner-text p {
        font-size: 1rem;
    }
    
    .navbar-dark .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
    
    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .active > .nav-link {
        background-color: transparent;
        border-radius: 0;
    }
}

/* 关于我们页面样式 */
.about-section {
    padding: 5rem 0;
}

.about-section h2 {
    margin-bottom: 2rem;
}

.about-section p {
    margin-bottom: 1.5rem;
}

/* 产品服务页面样式 */
.services-section {
    padding: 5rem 0;
}

.services-section h2 {
    margin-bottom: 2rem;
}

.service-item {
    margin-bottom: 3rem;
}

.service-item h3 {
    margin-bottom: 1rem;
}

/* 成功案例页面样式 */
.cases-section {
    padding: 5rem 0;
}

.cases-section h2 {
    margin-bottom: 2rem;
}

.case-item {
    margin-bottom: 3rem;
}

.case-item h3 {
    margin-bottom: 1rem;
}

/* 新闻资讯页面样式 */
.news-section {
    padding: 5rem 0;
}

.news-section h2 {
    margin-bottom: 2rem;
}

.news-item {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #dee2e6;
}

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

.news-item h3 {
    margin-bottom: 1rem;
}

.news-date {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* 招聘中心页面样式 */
.recruitment-section {
    padding: 5rem 0;
}

.recruitment-section h2 {
    margin-bottom: 2rem;
}

.job-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

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

.job-item h3 {
    margin-bottom: 0.5rem;
}

.job-info {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.job-description {
    margin-bottom: 1rem;
}

/* 联系我们页面样式 */
.contact-section {
    padding: 5rem 0;
}

.contact-section h2 {
    margin-bottom: 2rem;
}

.contact-info {
    margin-bottom: 3rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.map-container {
    height: 400px;
    margin-bottom: 3rem;
}