/* 全局样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar-nav .nav-link {
    color: #333;
    transition: color 0.3s;
}

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

/* 卡片悬停效果 */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

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

/* 按钮样式 */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

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

.lazy.loaded {
    opacity: 1;
}

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

footer a {
    color: #adb5bd;
    transition: color 0.3s;
}

footer a:hover {
    color: #fff;
    text-decoration: none;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    color: #333;
    font-weight: 700;
}

.text-primary {
    color: #007bff !important;
}

/* 表单样式 */
.form-control {
    border-color: #ced4da;
    transition: border-color 0.3s, box-shadow 0.3s;
}

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

/* 面包屑导航样式 */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #6c757d;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* 列表样式 */
.list-unstyled li {
    margin-bottom: 0.5rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-caption {
        padding: 10px;
    }
    
    .carousel-caption h3 {
        font-size: 1.2rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
}

/* 招聘页面样式 */
.job-card {
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s;
}

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

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

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

.job-meta span {
    margin-right: 1rem;
}

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

.product-category h3 {
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.product-item {
    margin-bottom: 1.5rem;
}

.product-item img {
    height: 200px;
    object-fit: cover;
}

/* 新闻页面样式 */
.news-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

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

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

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.case-item img {
    height: 250px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.case-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.case-description {
    color: #6c757d;
    margin-bottom: 1rem;
}