/* 字体定义 */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/webfonts/fa-solid-900.woff2") format("woff2"),
         url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/webfonts/fa-solid-900.woff") format("woff");
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/webfonts/fa-regular-400.woff2") format("woff2"),
         url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/webfonts/fa-regular-400.woff") format("woff");
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/webfonts/fa-brands-400.woff2") format("woff2"),
         url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/webfonts/fa-brands-400.woff") format("woff");
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 顶部信息栏 */
.top-bar {
    background: #f8f8f8;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .left {
    font-weight: bold;
    color: #ff6b00;
}

.top-bar .right {
    color: #666;
}

/* 容器 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 导航栏 */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ff6b00;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* 幻灯片 */
.slider {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    background: rgba(255,255,255,0.9);
    padding: 40px;
    max-width: 600px;
    margin-left: 100px;
    border-radius: 8px;
}

.slide h2 {
    font-size: 36px;
    color: #ff6b00;
    margin-bottom: 20px;
}

.slide p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* 幻灯片导航按钮 */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider:hover .slider-nav {
    opacity: 1;
}

.slider-btn {
    background: rgba(255, 107, 0, 0.8);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #ff6b00;
    transform: scale(1.1);
}

/* 幻灯片指示点 */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #ff6b00;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 107, 0, 0.8);
}

/* 业务范围 */
.business-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.section-title .line {
    width: 100px;
    height: 3px;
    background: #ff6b00;
    margin: 0 auto;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.business-item {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.business-item:hover {
    transform: translateY(-5px);
}

.business-item h3 {
    color: #ff6b00;
    margin-bottom: 15px;
}

/* 关于我们 */
.about-section {
    padding: 60px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: #ff6b00;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

/* 产品中心 */
.product-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    margin-bottom: 10px;
}

/* 优势 */
.advantage-section {
    padding: 60px 0;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.advantage-item h3 {
    color: #ff6b00;
    margin-bottom: 15px;
}

/* 新闻资讯 */
.news-section {
    padding: 60px 0;
    background: #f9f9f9;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-info {
    padding: 20px;
}

.news-info h3 {
    margin-bottom: 10px;
}

.news-info .date {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-info p {
    margin-bottom: 15px;
}

.news-info a {
    color: #ff6b00;
    text-decoration: none;
    font-weight: 500;
}

/* 加工说明 */
.process-section {
    padding: 60px 0;
    padding-top:0px;
    background: #f9f9f9;
}

.process-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.process-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: #ff6b00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(255,107,0,0.3);
}

.process-info {
    flex: 1;
}

.process-info h3 {
    color: #ff6b00;
    margin-bottom: 20px;
    font-size: 24px;
}

.process-list {
    list-style: none;
    margin-bottom: 20px;
}

.process-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #333;
    font-size: 16px;
}

.process-list li i {
    color: #ff6b00;
    margin-right: 12px;
    font-size: 18px;
}

.process-desc {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 页脚 */
.footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    order: 1;
}

/* 移动端悬浮联系模块 */
.floating-contact {
    display: none;
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    background: #ff6b00;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #ff6b00;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #ff6b00;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    margin-top: 20px;
    color: #999;
}

.footer-bottom a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #ff6b00;
}

/* 业务范围页面 */
.business-page {
    padding: 60px 0;
}

.tab-container {
    display: flex;
    margin-bottom: 30px;
}

.tab-button {
    padding: 15px 30px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-button.active {
    background: #ff6b00;
    color: #fff;
    border-color: #ff6b00;
}

.tab-content {
    display: none;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.tab-content.active {
    display: block;
}

/* 产品中心页面 */
.product-page {
    padding: 60px 0;
}

/* 新闻列表页面 */
.news-page {
    padding: 60px 0;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-list-item {
    display: flex;
    gap: 20px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.news-list-item img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.news-list-info h3 {
    margin-bottom: 10px;
}

.news-list-info .date {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-list-info p {
    margin-bottom: 15px;
}

.news-list-info a {
    color: #ff6b00;
    text-decoration: none;
    font-weight: 500;
}

/* 分页 */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination ul {
    display: inline-flex;
    list-style: none;
    gap: 10px;
}

.pagination li {
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination li:hover {
    border-color: #ff6b00;
}

.pagination li.active {
    background: #ff6b00;
    border-color: #ff6b00;
}

.pagination a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.pagination li.active a {
    color: #fff;
}

.pagination a:hover {
    color: #ff6b00;
}

.pagination li.active a:hover {
    color: #fff;
}

/* 新闻内容页面 */
.news-detail {
    padding: 60px 0;
}

.news-detail-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

.news-main h1 {
    color: #333;
    margin-bottom: 20px;
}

.news-main .date {
    color: #999;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.news-main content {
    line-height: 1.8;
}

.news-main .content img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 20px auto !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
}

/* 上下篇导航 */
.article-nav {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.prev-article, .next-article {
    flex: 1;
    min-width: 200px;
}

.prev-article span, .next-article span {
    color: #999;
    margin-right: 10px;
}

.prev-article a, .next-article a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.prev-article a:hover, .next-article a:hover {
    color: #ff6b00;
}

.sidebar h3 {
    color: #ff6b00;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b00;
}

.sidebar-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 15px;
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-item-img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 4px;
}

.sidebar-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-item-content {
    flex: 1;
}

.sidebar-item h4 {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.4;
}

.sidebar-date {
    color: #999;
    font-size: 12px;
    margin-bottom: 5px;
}

.sidebar-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

.sidebar-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-item a:hover {
    color: #ff6b00;
}

/* 关于我们页面 */
.about-page {
    padding: 60px 0;
}

.about-page .section-title {
    margin-bottom: 40px;
}

.about-info {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.about-info h3 {
    color: #ff6b00;
    margin-bottom: 20px;
}

.contact-info {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: #ff6b00;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    color: #ff6b00;
    margin-right: 15px;
    font-size: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 顶部信息栏 */
    .top-bar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .top-bar .left, .top-bar .right {
        font-size: 12px;
    }
    
    /* 导航栏 */
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    /* 幻灯片 */
    .slide-content {
        margin-left: 20px;
        margin-right: 20px;
        padding: 20px;
    }
    
    .slide h2 {
        font-size: 24px;
    }
    
    .slide p {
        font-size: 14px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-nav {
        padding: 0 10px;
        opacity: 1;
    }
    
    .slider:hover .slider-nav {
        opacity: 1;
    }
    
    .slide p {
        font-size: 14px;
    }
    
    /* 业务范围 */
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 关于我们 */
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* 产品中心 */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 优势 */
    .advantage-grid {
        grid-template-columns: 1fr;
    }
    
    /* 新闻资讯 */
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    /* 页脚 */
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-section p {
        color: #ccc;
        line-height: 1.6;
    }
    
    /* 移动端悬浮联系模块 */
    .floating-contact {
        display: block;
    }
    
    /* 新闻列表页面 */
    .news-list {
        grid-template-columns: 1fr;
    }
    
    .news-list-item {
        flex-direction: column;
    }
    
    .news-list-item img {
        width: 100%;
        height: 200px;
    }
    
    /* 分页 */
    .pagination ul {
        gap: 5px;
    }
    
    .pagination a {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    /* 新闻内容页面 */
    .news-detail-container {
        grid-template-columns: 1fr;
    }
    
    /* 上下篇导航 */
    .article-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .prev-article, .next-article {
        width: 100%;
    }
    
    /* 加工说明 */
    .process-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .process-icon {
        margin: 0 auto 20px;
    }
    
    .process-list li {
        justify-content: center;
        text-align: left;
    }
}