/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 容器样式 */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.5rem;
    color: #2c3e50;
}

h2 {
    font-size: 2rem;
    color: #2c3e50;
}

h3 {
    font-size: 1.5rem;
    color: #34495e;
}

/* 链接样式 */
a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 页头样式 */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.logo-container img {
    max-width: 100%;
    height: auto;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-phone,
.contact-wechat {
    margin-bottom: 5px;
    color: #34495e;
}

/* 导航样式 */
.main-navigation {
    background-color: #2c3e50;
    border-radius: 4px;
    padding: 0 10px;
}

.nav-items {
    display: flex;
    list-style: none;
    justify-content: space-around;
}

.nav-items li {
    position: relative;
}

.nav-items li a {
    display: block;
    padding: 15px 20px;
    color: white;
    transition: all 0.3s ease;
}

.nav-items li a:hover {
    background-color: #34495e;
}

.nav-items li.active a {
    background-color: #3498db;
}

/* 首页大图样式 */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero-content h1 {
    color: white;
    margin-bottom: 20px;
    font-size: 3rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .highlight {
    color: #f39c12;
    font-weight: bold;
}

.hero-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 核心优势样式 */
.advantages-section {
    background-color: #fff;
    padding: 60px 0;
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #3498db;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: #3498db;
    color: white;
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #3498db;
    transition: color 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    color: white;
}

.advantage-item h3 {
    margin-bottom: 15px;
}

/* 产品介绍样式 */
.products-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin-bottom: 60px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.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-name {
    padding: 20px;
    padding-bottom: 0;
    font-size: 1.2rem;
    text-align: center;
}

.product-details {
    padding: 20px;
}

.product-details p {
    margin-bottom: 10px;
    color: #666;
}

.view-details {
    display: block;
    text-align: center;
    padding: 12px;
    background-color: #3498db;
    color: white;
    transition: background-color 0.3s ease;
}

.view-details:hover {
    background-color: #2980b9;
    color: white;
}

/* 产品特色样式 */
.features-section {
    background-color: #fff;
    padding: 60px 0;
    margin-bottom: 60px;
}

.features-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 4px solid #3498db;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-left-color: #e74c3c;
}

/* 新闻资讯样式 */
.news-section {
    background-color: #ecf0f1;
    padding: 60px 0;
    margin-bottom: 60px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: flex;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 200px;
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 20px;
    flex: 1;
}

.news-content h3 {
    margin-bottom: 10px;
}

.news-content h3 a {
    color: #2c3e50;
    transition: color 0.3s ease;
}

.news-content h3 a:hover {
    color: #3498db;
}

.news-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-desc {
    color: #666;
    line-height: 1.7;
}

/* 用户评价样式 */
.reviews-section {
    background-color: #fff;
    padding: 60px 0;
    margin-bottom: 60px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.reviewer-name {
    margin-bottom: 5px;
    color: #2c3e50;
}

.review-date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.review-rating {
    color: #f39c12;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-content p {
    color: #666;
    line-height: 1.7;
}

/* 批发专区样式 */
.wholesale-section {
    background-color: #34495e;
    color: white;
    padding: 60px 0;
    margin-bottom: 60px;
}

.wholesale-section .section-title {
    color: white;
}

.wholesale-section .section-title::after {
    background-color: #3498db;
}

.wholesale-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.wholesale-info ul {
    margin-bottom: 20px;
}

.wholesale-info li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.wholesale-prices {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.wholesale-contact {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
}

.contact-methods p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* 关于我们样式 */
.about-section {
    background-color: #fff;
    padding: 60px 0;
    margin-bottom: 60px;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.about-info p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #666;
}

.about-values ul {
    margin-top: 20px;
}

.about-values li {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #666;
}

/* 联系我们样式 */
.contact-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin-bottom: 60px;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #666;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 友情链接样式 */
.friend-links {
    background-color: #fff;
    padding: 40px 0;
    margin-bottom: 30px;
}

.links-title {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}

.links-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.links-content a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f8f9fa;
    color: #34495e;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.links-content a:hover {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
    transform: translateY(-2px);
}

/* 页脚样式 */
.main-footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-info {
    text-align: center;
}

.copyright {
    margin-bottom: 10px;
}

.sitemap a {
    color: #3498db;
    margin-bottom: 10px;
    display: inline-block;
}

.sitemap a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.disclaimer {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .section-container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-details {
        align-items: center;
        margin-top: 20px;
    }
    
    .nav-items {
        flex-wrap: wrap;
    }
    
    .nav-items li a {
        padding: 12px 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .reviews-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .advantages-grid,
    .features-content,
    .wholesale-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .nav-items {
        flex-direction: column;
    }
    
    .nav-items li {
        width: 100%;
    }
    
    .nav-items li a {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section-container {
        padding: 0 10px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-button {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card,
    .review-card {
        margin: 0 10px;
    }
    
    .links-content {
        flex-direction: column;
        align-items: center;
    }
    
    .links-content a {
        width: 100%;
        text-align: center;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card,
.news-item,
.review-card,
.feature-item {
    animation: fadeIn 0.6s ease-out;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}