/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: #2c3e50;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #fff;
    font-size: 24px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #3498db;
}

/* 主要内容区 */
main {
    min-height: calc(100vh - 200px);
}

/* 首页英雄区域 */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://via.placeholder.com/1200x400?text=鞋业制造') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2980b9;
}

/* 公司简介 */
.intro {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.intro h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.intro-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: justify;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 新闻动态 */
.news {
    padding: 80px 0;
}

.news h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 25px;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.date {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-item p {
    color: #555;
}

.text-center {
    text-align: center;
}

/* 业务范围 */
.services {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-item p {
    color: #555;
}

/* 成功案例 */
.cases {
    padding: 80px 0;
}

.cases h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-item h3 {
    font-size: 20px;
    padding: 20px 20px 0;
    color: #2c3e50;
}

.case-item p {
    padding: 10px 20px 20px;
    color: #555;
}

/* 人才发展 */
.talents {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.talents h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.talents-content p {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 1000px;
    margin: 0 auto 30px;
}

.talents-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    margin: 20px;
}

.number {
    display: block;
    font-size: 48px;
    font-weight: bold;
    color: #3498db;
}

.label {
    display: block;
    font-size: 18px;
    color: #555;
}

/* 页脚 */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-section p {
    margin-bottom: 10px;
    color: #bdc3c7;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* 两列快速链接样式 */
.footer-links-two-cols {
    display: flex;
    gap: 30px;
}

.footer-links-two-cols ul {
    list-style: none;
    flex: 1;
}

.footer-links-two-cols ul li {
    margin-bottom: 10px;
}

.footer-links-two-cols ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-two-cols ul li a:hover {
    color: #3498db;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .intro-content {
        flex-direction: column;
    }
    
    .talents-stats {
        flex-direction: column;
        align-items: center;
    }
}

/* 新闻页面样式 */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://via.placeholder.com/1200x300?text=新闻资讯') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.page-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 20px;
}

.news-content {
    padding: 50px 0;
}

.news-content .container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.news-articles {
    flex: 3;
    min-width: 300px;
}

.news-article {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
}

.article-content {
    padding: 30px;
}

.article-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.article-meta {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 20px;
}

.article-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.news-sidebar {
    flex: 1;
    min-width: 250px;
}

.sidebar-widget {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 25px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #2c3e50;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
}

.sidebar-widget ul li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-widget ul li a:hover {
    color: #3498db;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags a {
    display: inline-block;
    background-color: #ecf0f1;
    color: #555;
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tags a:hover {
    background-color: #3498db;
    color: #fff;
}

/* 产品中心页面样式 */
.products-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://via.placeholder.com/1200x300?text=产品中心') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.products-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.products-header p {
    font-size: 20px;
}

.products-content {
    padding: 50px 0;
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.category-filter {
    flex: 1;
    min-width: 200px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 25px;
}

.category-filter h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.category-filter ul {
    list-style: none;
    display: flex;
}

.category-filter ul li {
    padding: 8px 0;
    margin-right: 20px;
}

.category-filter ul li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-filter ul li a:hover,
.category-filter ul li a.active {
    color: #3498db;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.product-info p {
    color: #7f8c8d;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

.product-actions a {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.details-btn {
    background-color: #3498db;
    color: #fff;
}

.details-btn:hover {
    background-color: #2980b9;
}

.contact-btn {
    background-color: #2ecc71;
    color: #fff;
}

.contact-btn:hover {
    background-color: #27ae60;
}

/* 服务中心页面样式 */
.services-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://via.placeholder.com/1200x300?text=服务中心') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.services-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.services-header p {
    font-size: 20px;
}

.services-main {
    padding: 50px 0;
}

.service-intro {
    text-align: center;
    margin-bottom: 50px;
}

.service-intro h3 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.service-intro p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 18px;
    color: #555;
}

.services-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-detail-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-5px);
}

.service-detail-card i {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.service-detail-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-detail-card p {
    color: #555;
    margin-bottom: 20px;
}

.service-process {
    background-color: #f8f9fa;
    padding: 50px 0;
    border-radius: 8px;
    margin: 50px 0;
}

.service-process h3 {
    text-align: center;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 40px;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #3498db;
    color: #fff;
    border-radius: 50%;
    line-height: 50px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.step-content h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.step-content p {
    color: #555;
}

/* 知识库页面样式 */
.knowledge-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://via.placeholder.com/1200x300?text=知识库') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.knowledge-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.knowledge-header p {
    font-size: 20px;
}

.knowledge-content {
    padding: 50px 0;
}

.knowledge-search {
    max-width: 600px;
    margin: 0 auto 50px;
    position: relative;
}

.knowledge-search input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
}

.knowledge-search button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.knowledge-search button:hover {
    background-color: #2980b9;
}

.knowledge-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.knowledge-category {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.knowledge-category:hover {
    transform: translateY(-5px);
}

.knowledge-category i {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.knowledge-category h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.knowledge-category p {
    color: #555;
    margin-bottom: 20px;
}

.knowledge-category a {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.knowledge-category a:hover {
    background-color: #2980b9;
}

.knowledge-articles {
    background-color: #f8f9fa;
    padding: 50px 0;
    border-radius: 8px;
}

.knowledge-articles h3 {
    text-align: center;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 40px;
}

.articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.article-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 25px;
    transition: transform 0.3s ease;
}

.article-item:hover {
    transform: translateY(-5px);
}

.article-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.article-item p {
    color: #555;
    margin-bottom: 15px;
    font-size: 14px;
}

.article-item .article-meta {
    color: #7f8c8d;
    font-size: 12px;
}

/* 常见问题页面样式 */
.faq-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://via.placeholder.com/1200x300?text=常见问题') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.faq-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.faq-header p {
    font-size: 20px;
}

.faq-content {
    padding: 50px 0;
}

.faq-search {
    max-width: 600px;
    margin: 0 auto 50px;
    position: relative;
}

.faq-search input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
}

.faq-search button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-search button:hover {
    background-color: #2980b9;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.faq-category {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 20px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category:hover,
.faq-category.active {
    background-color: #3498db;
    color: #fff;
}

.faq-category h3 {
    font-size: 18px;
    margin: 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    background-color: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    color: #2c3e50;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.show {
    padding: 20px 30px;
    max-height: 500px;
}

.faq-answer p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

/* 联系方式页面样式 */
.contact-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://via.placeholder.com/1200x300?text=联系我们') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.contact-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.contact-header p {
    font-size: 20px;
}

.contact-content {
    padding: 50px 0;
}

.contact-info {
    text-align: center;
    margin-bottom: 50px;
}

.contact-info h3 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-info p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 18px;
    color: #555;
}

.departments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.department-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.department-card:hover {
    transform: translateY(-5px);
}

.department-card i {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.department-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.department-card p {
    color: #555;
    margin-bottom: 10px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #2980b9;
}
