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

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 导航栏 */
.navbar {
    background-color: #2c1810;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-menu li a {
    color: #fff;
    font-size: 16px;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: #8b4513;
    border-radius: 4px;
}

.phone-link {
    color: #ffa500 !important;
}

/* 页面标题 */
.page-title {
    text-align: center;
    font-size: 32px;
    color: #2c1810;
    margin: 40px 0 20px;
}

.page-title .subtitle {
    font-size: 16px;
    color: #8b4513;
    margin-left: 10px;
    font-weight: normal;
}

/* 通用区块 */
.section-title {
    text-align: center;
    font-size: 28px;
    color: #2c1810;
    margin: 40px 0 30px;
}

.section-title .subtitle {
    display: block;
    font-size: 14px;
    color: #8b4513;
    margin-top: 5px;
}

/* 关于我们区块 */
.about-section {
    background: linear-gradient(135deg, #f5e6d3 0%, #e8d5c4 100%);
    padding: 50px 0;
}

.about-text {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    color: #4a3728;
}

/* 产品展示 */
.products-section,
.page-content {
    padding: 40px 0;
    background-color: #fff;
}

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

.product-card {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.product-card h3 {
    color: #8b4513;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #8b4513;
    padding-bottom: 10px;
}

.product-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.product-card strong {
    color: #2c1810;
}

.more-link {
    text-align: center;
    margin-top: 30px;
}

.more-link a {
    display: inline-block;
    background-color: #8b4513;
    color: #fff;
    padding: 10px 30px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.more-link a:hover {
    background-color: #6b3410;
}

/* 新闻列表 */
.news-section {
    background: linear-gradient(135deg, #f5e6d3 0%, #e8d5c4 100%);
    padding: 50px 0;
}

.news-list,
.news-list-full {
    max-width: 900px;
    margin: 0 auto;
}

.news-list li,
.news-item {
    background: #fff;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.news-list li:hover,
.news-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-list li a h3,
.news-item h3 a {
    color: #2c1810;
    font-size: 18px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.news-list li a h3:hover,
.news-item h3 a:hover {
    color: #8b4513;
}

.news-list li a p,
.news-item > p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.news-date {
    color: #999;
    font-size: 12px;
}

/* 特色介绍 */
.features-section {
    background-color: #fff;
    padding: 50px 0;
}

.feature-item {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.feature-item h3 {
    color: #8b4513;
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-item h3 span {
    display: block;
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

.feature-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin: 20px 0;
}

/* 页面通用样式 */
.about-hero,
.products-hero,
.news-hero,
.contact-hero {
    text-align: center;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.about-hero h2,
.products-hero h2,
.news-hero h2,
.contact-hero h2 {
    font-size: 28px;
    color: #2c1810;
}

.about-hero .subtitle-en,
.products-hero .subtitle-en,
.news-hero .subtitle-en,
.contact-hero .subtitle-en {
    font-size: 14px;
    color: #8b4513;
    font-style: italic;
    margin: 5px 0 15px;
}

.about-hero h3,
.products-hero h3,
.news-hero h3,
.contact-hero h3 {
    font-size: 20px;
    color: #4a3728;
    font-weight: normal;
}

.about-detail {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-detail p {
    margin-bottom: 20px;
    text-align: justify;
    color: #555;
}

/* 联系我们 */
.contact-info-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    font-size: 16px;
}

.contact-item .icon {
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 24px;
    color: #8b4513;
}

/* 分页 */
.pagination {
    text-align: center;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
}

.pagination a:hover {
    background-color: #8b4513;
    color: #fff;
    border-color: #8b4513;
}

.pagination .current {
    background-color: #8b4513;
    color: #fff;
    border-color: #8b4513;
}

.pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
}

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

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

.copyright {
    font-size: 16px;
    margin-bottom: 15px;
}

.slogan {
    color: #ccc;
    margin: 15px 0;
}

.contact-info {
    margin: 15px 0;
}

.contact-info li {
    margin: 8px 0;
    color: #ccc;
}

.contact-info a {
    color: #ffa500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #ff8c00;
}

.footer-links {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #4a3728;
    color: #999;
    font-size: 12px;
}

.footer-links a {
    color: #999;
}

.footer-links a:hover {
    color: #ffa500;
}

/* 新闻详情页 */
.news-detail {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.news-detail h2 {
    color: #2c1810;
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-detail .news-date {
    color: #999;
    font-size: 14px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.news-content {
    line-height: 1.8;
    color: #555;
}

.news-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.back-link {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.back-link a {
    display: inline-block;
    color: #8b4513;
    font-weight: bold;
}

.back-link a:hover {
    color: #6b3410;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .products-grid,
    .products-grid-full {
        grid-template-columns: 1fr;
    }
    
    .about-hero h2,
    .products-hero h2,
    .news-hero h2,
    .contact-hero h2 {
        font-size: 22px;
    }
}
