/* 全局样式 */
body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    padding-top: 56px; /* 为固定导航栏留出空间 */
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* 首页横幅 */
.hero-section {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('../images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    position: relative;
    color: white;
}

/* 在没有实际图片的情况下提供一个渐变背景 */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    z-index: -1;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

section h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0066cc;
}

/* 卡片样式 */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: #003366;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* 按钮样式 */
.btn-primary {
    background-color: #0066cc;
    border-color: #0066cc;
}

.btn-primary:hover {
    background-color: #004c99;
    border-color: #004c99;
}

/* 页脚样式 */
footer {
    background-color: #002244;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

footer i {
    margin-right: 8px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
}

/* 产品图片占位符 */
.product-img-placeholder {
    background-color: #e9ecef;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

/* 企业简介部分 */
#about .card {
    border-radius: 10px;
}

#about .lead {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* 联系我们部分 */
#contact {
    background-color: #f8f9fa;
}

/* 自定义颜色 */
.bg-primary {
    background-color: #003366 !important;
}

.text-primary {
    color: #0066cc !important;
}
.certificates {
    padding: 40px 0;
    background-color: #fff;
}
.certificate-container {
    max-width: 800px;
    margin: 0 auto;
}
.certificate-img {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    display: block;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.certificate-img:hover {
    transform: scale(1.02);
}