/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 颜色变量定义 */
:root {
    --primary-color: #c00;
    --primary-dark: #a00;
    --primary-light: #e00;
    --secondary-color: #333;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f9f9f9;
    --white: #fff;
    --gray: #eee;
    --gray-dark: #ddd;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* 基础排版 */
body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    transition: var(--transition);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
    transition: var(--transition);
}

/* 响应式字体大小 */
@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.35rem;
    }
    
    h4 {
        font-size: 1.15rem;
    }
    
    p {
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.9rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    p {
        line-height: 1.65;
        margin-bottom: 0.85rem;
    }
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* 容器样式 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 宽屏优化 */
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2.5rem;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 5rem;
    }
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* 导航栏样式 */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 100%;
    width: 100%;
}

.logo-img {
    height: 45px;
    width: auto;
    max-width: 100%;
    transition: var(--transition);
    object-fit: contain;
    margin-right: 1rem;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
    white-space: nowrap;
}

.logo-link:hover {
    transform: scale(1.02);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-img {
        height: 45px;
        margin-right: 0.8rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-img {
        height: 40px;
        margin-right: 0.6rem;
    }
}

/* 导航栏滚动效果优化 */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar.scrolled .logo-img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* 汉堡菜单样式 */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--secondary-color);
}

/* 英雄区样式 - 轮播 */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
    overflow: hidden;
}

/* 轮播容器 */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 轮播项 */
.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 轮播项背景图片 */
.slider-item:nth-child(1) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero.jpg');
}

.slider-item:nth-child(2) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/about-us.jpg');
}

.slider-item:nth-child(3) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/story.jpg');
}

/* 激活的轮播项 */
.slider-item.active {
    opacity: 1;
    transform: translateX(0);
}

/* 轮播内容 */
.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-content .btn {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* 轮播指示按钮 */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* 轮播控制按钮 */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-control:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slider-control.prev {
    left: 20px;
}

.slider-control.next {
    right: 20px;
}

/* 淡入上移动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .slider-control {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slider-indicators {
        bottom: 20px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .indicator.active {
        width: 25px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .slider-control {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .slider-control.prev {
        left: 10px;
    }
    
    .slider-control.next {
        right: 10px;
    }
}

/* 章节标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.divider {
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem auto;
}

/* 关于我们样式 */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-color);
    border-radius: 8px;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* 产品中心样式 */
.products {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-info {
    padding: 2rem;
    text-align: center;
}

.product-info h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 品牌故事样式 */
.story {
    padding: 80px 0;
    background-color: var(--white);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.story-text h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.story-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* 新闻资讯样式 */
.news {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-info {
    padding: 2rem;
}

.news-date {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.news-info h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.news-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more:hover {
    gap: 1rem;
}

.news-more {
    text-align: center;
    margin-top: 3rem;
}

/* 联系我们样式 */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item p {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-color);
    color: var(--secondary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.contact-form h3 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-dark);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* 页脚样式 */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-about h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-about p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact i {
    color: var(--primary-color);
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .about-content,
    .story-content {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .about-image,
    .story-image {
        order: -1;
    }
}

@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* 导航栏响应式 */
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }

    .nav-menu li {
        margin: 12px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    /* 英雄区响应式 */
    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    /* 关于我们响应式 */
    .values {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* 产品中心响应式 */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* 新闻资讯响应式 */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* 联系我们响应式 */
    .contact-content {
        gap: 3rem;
    }

    /* 页脚响应式 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
    
    /* 容器响应式 */
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    /* 英雄区响应式 */
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    /* 产品和新闻卡片响应式 */
    .product-card,
    .news-card {
        margin: 0 auto;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    /* 英雄区响应式 */
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* 按钮响应式 */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* 章节响应式 */
    .about,
    .products,
    .story,
    .news,
    .contact {
        padding: 60px 0;
    }

    /* 容器响应式 */
    .container {
        padding: 0 15px;
    }
    
    /* Logo响应式 */
    .logo-img {
        height: 45px;
    }
    
    /* 导航栏响应式 */
    .nav-menu {
        top: 65px;
    }
    
    /* 产品图片响应式 */
    .product-image img {
        height: 220px;
    }
    
    /* 新闻图片响应式 */
    .news-image img {
        height: 180px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 图片样式 */
img {
    transition: opacity 0.3s ease, transform var(--transition);
    max-width: 100%;
    height: auto;
    display: block;
}

img:hover {
    transform: scale(1.02);
}

img.loading {
    opacity: 0;
}

/* 英雄区图片样式 */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

/* 产品图片样式 */
.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

/* 新闻图片样式 */
.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

/* 响应式图片调整 */
@media (max-width: 1200px) {
    .product-image img {
        height: 230px;
    }
    
    .news-image img {
        height: 190px;
    }
}

@media (max-width: 768px) {
    .product-image img {
        height: 220px;
    }
    
    .news-image img {
        height: 180px;
    }
    
    .about-image img,
    .story-image img {
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .product-image img {
        height: 200px;
    }
    
    .news-image img {
        height: 160px;
    }
    
    img:hover {
        transform: none;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* 延迟动画 */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

/* 新页面样式 */

/* 页面通用标题样式 */
.page-header {
    text-align: center;
    padding: 100px 0 50px;
    background-color: var(--white);
}

.page-header h1 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* 关于我们页面样式 */
.about-page {
    background-color: var(--white);
    padding-top: 100px;
}

.about-page .about-section,
.about-page .history-section,
.about-page .culture-section,
.about-page .team-section {
    padding: 60px 0;
}

.about-page .about-section {
    background-color: var(--white);
}

.about-page .history-section {
    background-color: var(--bg-color);
}

.about-page .culture-section {
    background-color: var(--white);
}

.about-page .team-section {
    background-color: var(--white);
}

.about-page h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.about-page h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-page .timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.about-page .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.about-page .timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.about-page .timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.about-page .timeline-item:nth-child(odd) {
    left: 0;
}

.about-page .timeline-item:nth-child(even) {
    left: 50%;
}

.about-page .timeline-item:nth-child(even)::after {
    left: -12px;
}

.about-page .timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.about-page .timeline-year {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 600;
}

.about-page .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-page .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-page .team-member {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.about-page .team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.about-page .team-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.about-page .team-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    display: inline-block;
    margin: 0 auto;
}

/* 产品中心页面样式 */
.products-page {
    background-color: var(--white);
    padding-top: 100px;
}

.products-page .product-categories {
    padding: 40px 0;
    background-color: var(--bg-color);
    text-align: center;
}

.products-page .category-list {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.products-page .category-link {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition);
}

.products-page .category-link:hover,
.products-page .category-link.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.products-page .products-grid {
    padding: 60px 0;
    background-color: var(--white);
}

/* 品牌故事页面样式 */
.story-page {
    background-color: var(--white);
    padding-top: 100px;
}

.story-page .story-section,
.story-page .history-section,
.story-page .concept-section,
.story-page .honor-section {
    padding: 60px 0;
}

.story-page .story-section {
    background-color: var(--white);
}

.story-page .history-section {
    background-color: var(--bg-color);
}

.story-page .concept-section {
    background-color: var(--white);
}

.story-page .honor-section {
    background-color: var(--bg-color);
}

.story-page h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.story-page h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.story-page .story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-page .story-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.story-page .concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.story-page .concept-item {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.story-page .concept-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.story-page .concept-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.story-page .honor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.story-page .honor-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.story-page .honor-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.story-page .honor-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.story-page .honor-info {
    padding: 1.5rem;
    text-align: center;
}

/* 新闻资讯页面样式 */
.news-page {
    background-color: var(--white);
    padding-top: 100px;
}

.news-page .news-grid {
    padding: 60px 0;
    background-color: var(--white);
}

.news-page .pagination {
    padding: 40px 0;
    background-color: var(--white);
    text-align: center;
}

.news-page .page-link {
    color: var(--secondary-color);
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid var(--gray);
}

.news-page .page-link:hover,
.news-page .page-link.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* 联系我们页面样式 */
.contact-page {
    background-color: var(--white);
    padding-top: 100px;
}

.contact-page .contact-content {
    padding: 60px 0;
    background-color: var(--white);
}

/* 产品详情页样式 */
.product-detail-page {
    padding: 100px 0;
    background-color: var(--white);
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    width: 100%;
    padding-top: 100%;
    height: 0;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.main-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.thumbnail-images {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    position: relative;
}

.thumbnail-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-item:hover,
.thumbnail-item.active {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
    border: 2px solid var(--primary-color);
}

.product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-align: left;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
    color: #ffc107;
    text-align: left;
}

.product-rating span {
    color: var(--text-light);
    margin-left: 10px;
    text-align: left;
}

.product-price {
    margin-bottom: 25px;
    text-align: left;
}

.product-price .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 20px;
    text-align: left;
}

.product-price .original-price {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
    text-align: left;
}

.product-description {
    margin-bottom: 30px;
    color: var(--text-color);
    line-height: 1.8;
    text-align: left;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

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

.product-tags .tag {
    padding: 8px 15px;
    background-color: var(--bg-color);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.product-tags .tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 标签页样式 */
.product-tabs {
    margin-bottom: 60px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--gray);
}

.tab-btn {
    padding: 15px 30px;
    border: none;
    background-color: transparent;
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
    text-align: center;
}

.tab-btn:hover,
.tab-btn.active {
    background-color: var(--white);
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.tabs-content {
    padding: 30px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.tab-content p {
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.8;
}

/* 规格参数表样式 */
.product-specs {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.product-specs th,
.product-specs td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray);
}

.product-specs th {
    width: 30%;
    background-color: var(--bg-color);
    font-weight: 700;
    color: var(--secondary-color);
}

.product-specs td {
    color: var(--text-color);
}

/* 产品特点样式 */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background-color: var(--bg-color);
    border-radius: 8px;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
    flex-shrink: 0;
}

.feature-content h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.feature-content p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

/* 相关产品推荐样式 */
.related-products h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .product-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-info h1 {
        font-size: 2rem;
    }
    
    .product-price .price {
        font-size: 1.8rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
    
    .tabs-nav {
        flex-direction: column;
    }
    
    .tab-btn {
        text-align: left;
        padding: 15px 20px;
    }
    
    .tabs-content {
        padding: 20px;
    }
    
    .product-specs th,
    .product-specs td {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .feature-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .related-products .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .product-info h1 {
        font-size: 1.8rem;
    }
    
    .product-price .price {
        font-size: 1.6rem;
    }
    
    .thumbnail-items {
        gap: 10px;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
}

.contact-page .map-section {
    padding: 40px 0;
    background-color: var(--bg-color);
    text-align: center;
}

.contact-page .map-section h3 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.contact-page .map {
    height: 450px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-page .map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-page .timeline::after {
        left: 31px;
    }
    
    .about-page .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .about-page .timeline-item:nth-child(even) {
        left: 0%;
    }
    
    .about-page .timeline-item::after,
    .about-page .timeline-item:nth-child(even)::after {
        left: 18px;
    }
    
    .story-page .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-page .story-image {
        order: -1;
    }
    
    .products-page .category-list {
        gap: 1rem;
    }
    
    .products-page .category-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}