/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif SC', 'Microsoft YaHei', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f7f7f7;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.oriental-header {
    background-color: rgba(255, 255, 255, 0.98);
    color: #333;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
}

/* 关键修复：为容器添加Flex布局 */
.oriental-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.oriental-header.scrolled {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.99);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
}

.logo .cloud {
    color: #a00;
    font-style: normal;
    position: relative;
}

.logo .cloud::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #a00;
}

.oriental-nav ul {
    display: flex;
    list-style: none;
}

.oriental-nav ul li {
    margin-left: 40px;
}

.oriental-nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.oriental-nav ul li a:hover,
.oriental-nav ul li.active a {
    color: #a00;
}

.oriental-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #a00;
    transition: width 0.3s ease;
}

.oriental-nav ul li a:hover::after,
.oriental-nav ul li.active a::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #333;
}

.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: #fff;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.mobile-menu ul li {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu ul li:last-child {
    border-bottom: none;
}

.mobile-menu ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu ul li.active a {
    color: #a00;
}

/* 首页大图样式 */
.oriental-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 2px;
}

.hero-content h2 span {
    color: #a00;
    font-style: normal;
}

.hero-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.btn-primary {
    display: inline-block;
    background-color: transparent;
    color: #fff;
    padding: 15px 35px;
    border: 1px solid #fff;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #a00;
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: #fff;
}

.btn-primary:hover::before {
    left: 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 品牌理念样式 */
.oriental-philosophy {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.oriental-philosophy h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.oriental-philosophy h2 span {
    color: #a00;
    font-style: normal;
}

.oriental-philosophy h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #a00;
}

.oriental-philosophy p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

/* 产品介绍样式 */
.oriental-products {
    padding: 100px 0;
    background-color: #f7f7f7;
}

.oriental-products h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.oriental-products h2 span {
    color: #a00;
    font-style: normal;
}

.oriental-products h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #a00;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 280px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.product-info p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 产品特色样式 */
.oriental-features {
    padding: 100px 0;
    background-color: #fff;
}

.oriental-features h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.oriental-features h2 span {
    color: #a00;
    font-style: normal;
}

.oriental-features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #a00;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background-color: #f7f7f7;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #a00;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.feature-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 新闻资讯样式 */
.oriental-news {
    padding: 100px 0;
    background-color: #f7f7f7;
}

.oriental-news h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.oriental-news h2 span {
    color: #a00;
    font-style: normal;
}

.oriental-news h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #a00;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-info {
    padding: 20px;
}

.news-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
    display: block;
}

.news-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.news-info p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* 用户评价样式 */
.oriental-reviews {
    padding: 100px 0;
    background-color: #fff;
}

.oriental-reviews h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.oriental-reviews h2 span {
    color: #a00;
    font-style: normal;
}

.oriental-reviews h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #a00;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
}

.review-card {
    background-color: #f7f7f7;
    padding: 30px;
    transition: all 0.3s ease;
    border-left: 3px solid #a00;
}

.review-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.review-rating {
    color: #a00;
    font-size: 14px;
}

.review-content {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    font-style: italic;
}

/* 友情链接样式 */
.oriental-links {
    padding: 60px 0;
    background-color: #f7f7f7;
    text-align: center;
}

.oriental-links h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.link-item {
    color: #666;
    text-decoration: none;
    font-size: 15px;
    padding: 5px 15px;
    transition: all 0.3s ease;
    position: relative;
}

.link-item:hover {
    color: #a00;
}

.link-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: #a00;
    transition: width 0.3s ease;
}

.link-item:hover::after {
    width: 80%;
}

/* 页脚样式 */
.oriental-footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-logo .cloud {
    color: #a00;
    font-style: normal;
}

.footer-info p {
    font-size: 14px;
    color: #999;
    margin: 5px 0;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #a00;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #800;
    transform: translateY(-5px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .reviews-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 48px;
    }
    
    .products-grid,
    .features-grid,
    .news-grid,
    .reviews-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .oriental-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .oriental-philosophy,
    .oriental-products,
    .oriental-features,
    .oriental-news,
    .oriental-reviews {
        padding: 80px 0;
    }
    
    .products-grid,
    .features-grid,
    .news-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .btn-primary {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .oriental-philosophy,
    .oriental-products,
    .oriental-features,
    .oriental-news,
    .oriental-reviews {
        padding: 60px 0;
    }
    
    .oriental-philosophy h2,
    .oriental-products h2,
    .oriental-features h2,
    .oriental-news h2,
    .oriental-reviews h2 {
        font-size: 28px;
    }
}

/* 滚动动画 */
.product-card,
.feature-card,
.news-card,
.review-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.product-card.fade-in-up,
.feature-card.fade-in-up,
.news-card.fade-in-up,
.review-card.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

/* 图片懒加载样式 */
.lazy-load {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy-load.loaded {
    opacity: 1;
}