/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8fafc;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部通知栏 */
.top-bar {
    background-color: #e6f4ff;
    padding: 10px 0;
    border-bottom: 1px solid #cce5ff;
}

.contact-info {
    text-align: right;
    font-size: 14px;
    color: #495057;
}

.contact-info span {
    margin-left: 20px;
}

/* 头部样式 */
.header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

.logo a {
    color: #165dff;
    text-decoration: none;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 10px;
}

.nav-link {
    display: block;
    padding: 8px 15px;
    color: #495057;
    text-decoration: none;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link.active {
    background-color: #165dff;
    color: #fff;
}

/* 横幅样式 */
.banner {
    background: linear-gradient(135deg, #e6f4ff 0%, #bfe0ff 100%);
    padding: 80px 0;
    text-align: center;
    color: #165dff;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.banner h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #4080ff;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background-color: #165dff;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0e42d2;
}

.btn-secondary {
    display: inline-block;
    background-color: #fff;
    color: #165dff;
    border: 1px solid #165dff;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #f0f7ff;
}

/* 区块样式 */
.section {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    color: #165dff;
    margin-bottom: 15px;
}

.section-desc {
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

/* 优势区块 */
.advantages {
    background-color: #fff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    background-color: #f0f7ff;
    border-radius: 8px;
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background-color: #165dff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.advantage-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #165dff;
}

/* 关于我们 */
.about {
    background-color: #f0f7ff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 28px;
    color: #165dff;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: #495057;
}

.about-img {
    flex: 0 0 450px;
    height: 300px;
    background-color: #cce5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #165dff;
    font-size: 18px;
    border-radius: 8px;
    overflow:hidden;
}

/* 产品展示 */
.products {
    background-color: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: #f8fafc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    height: 200px;width:100%;
    background-color: #e6f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #165dff;
    overflow:hidden;
}

.product-name {
    padding: 20px;
    text-align: center;
}

.product-name a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.product-name a:hover {
    color: #165dff;
}

.product-link {
    display: block;
    text-align: center;
    color: #165dff;
    text-decoration: none;
    padding: 10px 0;
    border-top: 1px solid #e9ecef;
    transition: background-color 0.3s;
}

.product-link:hover {
    background-color: #f0f7ff;
}

.view-more {
    text-align: center;
    margin-top: 40px;
}

/* 新闻动态 */
.news {
    background-color: #f0f7ff;
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background-color: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.news-date {
    color: #165dff;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-title {
    margin-bottom: 15px;
}

.news-title a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.news-title a:hover {
    color: #165dff;
}

.news-desc {
    color: #6c757d;
    margin-bottom: 15px;
}

.read-more {
    color: #165dff;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* 联系我们 */
.contact {
    background-color: #fff;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #165dff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.contact-text {
    font-size: 16px;
}

.contact-btn {
    margin-top: 20px;
}

/* 页脚 */
.footer {
    background-color: #165dff;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #fff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #e6f4ff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-col p {
    margin-bottom: 10px;
    color: #e6f4ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #e6f4ff;
}

.footer-bottom a {
    color: #e6f4ff;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}

/* 列表页样式 */
.page-title-bar {
    background-color: #f0f7ff;
    padding: 30px 0;
    margin-bottom: 40px;
}

.page-title-bar h1 {
    color: #165dff;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #165dff;
}

.main-content {
    padding-bottom: 60px;
}

.content-wrapper {
    display: flex;
    gap: 30px;
}

.content-left {
    flex: 3;
}

.content-right {
    flex: 1;
}

.list-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.list-item {
    padding: 20px 0;
    border-bottom: 1px solid #f0f7ff;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item-title {
    margin-bottom: 10px;
}

.list-item-title a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.list-item-title a:hover {
    color: #165dff;
}

.list-item-desc {
    color: #6c757d;
    margin-bottom: 15px;
}

.list-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.list-item-date {
    color: #165dff;
}

.list-item-more {
    color: #165dff;
    text-decoration: none;
}

.no-content {
    text-align: center;
    padding: 50px 0;
    color: #6c757d;
}

/* 侧边栏样式 */
.sidebar-module {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 16px;
    color: #165dff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f7ff;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 8px;
}

.sidebar-nav a {
    display: block;
    padding: 8px 10px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    background-color: #f0f7ff;
    color: #165dff;
}

/* 详情页样式 */
.article-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.article-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f7ff;
    margin-bottom: 30px;
}

.article-title {
    color: #333;
    margin-bottom: 15px;
    font-size: 24px;
}

.article-meta {
    color: #6c757d;
    font-size: 14px;
}

.article-content {
    color: #495057;
    line-height: 1.8;
    font-size: 16px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-img {
    height: 300px;
    background-color: #e6f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #165dff;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow:hidden;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #f0f7ff;
    border-bottom: 1px solid #f0f7ff;
}

.article-prev, .article-next {
    color: #6c757d;
}

.article-prev a, .article-next a {
    color: #165dff;
    text-decoration: none;
}

.article-back {
    text-align: center;
    margin-top: 20px;
}
