/* 全局样式 */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
}

body {
    font-family: "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* 首页英雄区域 */
.hero {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* 特性图标 */
.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 产品卡片 */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card img {
    height: 200px;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 15px;
}

.product-img {
    max-height: 250px;
    transition: transform 0.3s ease;
}

.product-img:hover {
    transform: scale(1.05);
}

/* 图片加载失败效果 */
.image-container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-error-placeholder {
    padding: 20px;
    border: 1px dashed #ccc;
    border-radius: 5px;
    width: 100%;
}

.product-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 0.5rem;
}

/* 页面标题区域 */
.page-header {
    padding: 4rem 0;
    background-color: var(--light-color);
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 时间线样式 */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 3px;
    background: var(--primary-color);
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 1rem;
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
}

.timeline-item.right:before {
    content: '';
    position: absolute;
    top: 20px;
    right: -13px;
    width: 25px;
    height: 25px;
    background: #fff;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left:before {
    content: '';
    position: absolute;
    top: 20px;
    left: -13px;
    width: 25px;
    height: 25px;
    background: #fff;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

/* 团队卡片 */
.team-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-card img {
    height: 250px;
    object-fit: cover;
}

.team-card h4 {
    color: var(--primary-color);
    margin-top: 0.5rem;
}

/* 认证证书 */
.cert-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border: 1px solid #ddd;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 联系卡片 */
.contact-card {
    margin-bottom: 1.5rem;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-card h4 {
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* 联系表单 */
.contact-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 地图容器 */
.map-container {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.map-placeholder {
    height: 400px;
}

/* 公司图片样式 */
.company-image {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* 实验室图片样式 */
.lab-image {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.lab-image:hover {
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item.right:before,
    .timeline-item.left:before {
        left: 19px;
    }

    .timeline-item.right,
    .timeline-item.left {
        width: auto;
        text-align: left;
        padding-left: 50px;
    }

    .product-img {
        max-height: 200px;
    }
} 