/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 根元素变量 */
:root {
    --primary-color: #3a4a42;
    --secondary-color: #a88c69;
    --accent-color: #d4a76a;
    --background-color: #f8f7f3;
    --text-color: #333333;
    --light-text: #666666;
    --border-color: #e0ddd5;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* 基础样式 */
body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

/* 容器样式 */
.zen-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.zen-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition);
}

.zen-header.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.zen-header .zen-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zen-logo .logo-text {
    font-family: 'Noto Serif SC', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
    transition: var(--transition);
}

.zen-header.scrolled .zen-logo .logo-text {
    color: var(--primary-color);
}

/* 桌面导航 */
.zen-navigation {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 40px;
}

.nav-link {
    font-family: 'Noto Serif SC', serif;
    font-size: 16px;
    color: var(--white);
    text-decoration: none;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.zen-header.scrolled .nav-link {
    color: var(--text-color);
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link.active {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 移动端菜单切换按钮 */
.mobile-toggle {
    display: none;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.zen-header.scrolled .mobile-toggle {
    color: var(--primary-color);
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 1001;
    transition: var(--transition);
    display: flex;
    justify-content: flex-end;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-content {
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: var(--white);
    padding: 40px 20px;
    overflow-y: auto;
    position: relative;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    margin-top: 60px;
}

.mobile-nav-item {
    margin-bottom: 25px;
}

.mobile-nav-link {
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--accent-color);
}

/* 首页大图样式 */
.zen-hero {
    height: 100vh;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.zen-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content-wrapper {
    position: relative;
    width: 100%;
    padding: 0 20px;
}

.hero-text-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-subtitle {
    font-family: 'Noto Serif SC', serif;
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.6s;
}

.btn-zen {
    display: inline-block;
    padding: 12px 30px;
    font-family: 'Noto Serif SC', serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid var(--white);
    background-color: transparent;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    margin: 0 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.9s;
}

.btn-zen.primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-zen.secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-zen.primary:hover {
    background-color: transparent;
    color: var(--white);
}

/* 章节标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

/* 品牌理念样式 */
.zen-philosophy {
    padding: 120px 0;
    background-color: var(--white);
}

.philosophy-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.philosophy-text {
    flex: 1;
}

.philosophy-paragraph {
    font-size: 18px;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 20px;
}

.philosophy-image {
    flex: 1;
}

.philosophy-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 产品系列样式 */
.zen-products {
    padding: 120px 0;
    background-color: var(--background-color);
}

.product-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 10px 20px;
    font-family: 'Noto Serif SC', serif;
    font-size: 16px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.product-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    cursor: pointer;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-item:hover .product-image {
    transform: scale(1.05);
}

.product-name {
    font-family: 'Noto Serif SC', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 20px 20px 10px;
}

.product-description {
    font-size: 16px;
    color: var(--light-text);
    margin: 0 20px 20px;
}

/* 精湛工艺样式 */
.zen-craftsmanship {
    padding: 120px 0;
    background-color: var(--white);
}

.craftsmanship-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.craft-step {
    text-align: center;
    padding: 30px;
    background-color: var(--background-color);
    border-radius: 8px;
    transition: var(--transition);
}

.craft-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    font-family: 'Noto Serif SC', serif;
    font-size: 48px;
    font-weight: 700;
    color: rgba(58, 74, 66, 0.1);
    margin-bottom: 20px;
}

.step-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step-description {
    font-size: 16px;
    color: var(--light-text);
    line-height: 1.6;
}

/* 品吸体验样式 */
.zen-experience {
    padding: 120px 0;
    background-color: var(--background-color);
}

.experience-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 100px;
}

.experience-image {
    flex: 1;
}

.experience-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-text {
    flex: 1;
}

.experience-paragraph {
    font-size: 18px;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 20px;
}

/* 客户评价轮播 */
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-wrapper {
    position: relative;
    overflow: hidden;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    opacity: 0;
    transition: var(--transition);
    transform: translateX(100%);
}

.testimonial-item.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.testimonial-text {
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    font-style: italic;
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot:hover,
.testimonial-dot.active {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

/* 联系我们样式 */
.zen-contact {
    padding: 120px 0;
    background-color: var(--white);
}

.contact-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 60px;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    font-size: 24px;
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color);
    border-radius: 50%;
}

.contact-item span {
    font-size: 16px;
    color: var(--light-text);
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    color: var(--text-color);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 167, 106, 0.1);
}

.form-group .error-message {
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 12px;
    color: #e74c3c;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #e74c3c;
}

.btn-zen.submit {
    width: 100%;
    margin: 0;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-zen.submit:hover {
    background-color: transparent;
    color: var(--accent-color);
}

/* 页脚样式 */
.zen-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    font-family: 'Noto Serif SC', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-slogan {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* 动画效果 */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 滚动动画类 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .philosophy-content,
    .experience-content,
    .contact-content {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .zen-navigation {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .philosophy-content,
    .experience-content,
    .contact-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 30px;
    }
    
    .zen-philosophy,
    .zen-products,
    .zen-craftsmanship,
    .zen-experience,
    .zen-contact {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .btn-zen {
        margin: 10px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .craftsmanship-steps {
        gap: 20px;
    }
    
    .testimonial-item {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .zen-header {
        padding: 15px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .btn-zen {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* 图片懒加载样式 */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image.loaded {
    opacity: 1;
}