/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航栏 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    padding: 0 15px;
}

/* 顶部信息栏样式 */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 40px;
}

.company-name {
    font-size: 20px;
    color: #333;
    font-weight: bold;
}

.contact-info {
    font-size: 16px;
    color: #666;
}

/* 导航菜单栏样式 */
.nav-bar {
    padding: 15px 0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    padding: 10px 20px;
    transition: color 0.3s;
    font-size: 16px;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #2ecc71;
}

/* 公司简介 */
.about {
    padding: 60px 0;
    background: #f9f9f9;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.about-text {
    padding: 0 20px;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 16px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #2ecc71;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #27ae60;
}

/* 服务项目 */
.services {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 50px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item img {
    width: 60%;
    max-width: 150px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
}

.service-item h3 {
    color: #2ecc71;
    font-size: 22px;
    margin-bottom: 15px;
}

.service-item p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

/* 页脚 */
.footer {
    background: #333;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    margin-bottom: 30px;
}

.footer-info h3 {
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin-bottom: 10px;
}

.beian {
    font-size: 14px;
}

.beian a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

.beian a:hover {
    text-decoration: underline;
}

/* 数据统计样式 */
.statistics {
    padding: 60px 0;
    background: #2ecc71;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
}

/* 新闻动态样式 */
.news {
    padding: 80px 0;
    background: #f9f9f9;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-image {
    position: relative;
    height: 250px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-title {
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-excerpt {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.read-more {
    display: inline-block;
    color: #2ecc71;
    text-decoration: none;
    align-self: flex-start;
}

.read-more:hover {
    text-decoration: underline;
}

/* 修改返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 50px;
    height: 50px;
    background: rgba(46, 204, 113, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s;
}

.arrow-up {
    width: 12px;
    height: 12px;
    border: solid #fff;
    border-width: 3px 3px 0 0;
    transform: rotate(-45deg);
    margin-top: 6px;
}

.back-to-top:hover {
    background: rgba(46, 204, 113, 1);
    transform: translateY(-5px);
}

/* 删除原有的轮播图相关样式，替换为banner样式 */
.banner {
    margin-top: 120px;
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 18px;
}

/* 页面标题和面包屑导航样式 */
.page-header {
    margin-top: 120px;
    background: #f5f5f5;
    padding: 40px 0;
}

.page-header h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.breadcrumb {
    color: #666;
}

.breadcrumb a {
    color: #2ecc71;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
} 