* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #f9f5f0 0%, #f0e6d8 100%);
    color: #333;
    line-height: 1.6;
    font-family: 'Noto Serif SC', serif;
    background-attachment: fixed;
    background-size: cover;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(139, 87, 42, 0.15);
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #8e6a4d 0%, #b38a66 100%);
    color: #fff;
    padding: 50px 20px 40px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></svg>');
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.logo {
    font-size: 3.2rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-family: 'Ma Shan Zheng', cursive;
    letter-spacing: 3px;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #f9e4c3;
}

.main-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.sub-title {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 300;
    color: #f0d9b5;
}

.cta-button {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 16px 50px;
    font-size: 1.3rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 2;
    border: none;
    cursor: pointer;
}

.cta-button::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20px;
    height: 200%;
    background: rgba(255,255,255,0.3);
    transform: rotate(25deg);
    transition: all 0.6s;
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
}

.cta-button:hover::after {
    left: 120%;
}

/* 产品特色 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 50px 30px;
    background: #fcf9f5;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: #b38a66;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    color: #8e6a4d;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #5a3921;
    font-weight: 700;
}

/* 故事部分 */
.story {
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.story::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #b38a66, #e74c3c);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #5a3921;
    margin-bottom: 50px;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: #b38a66;
    margin: 15px auto;
    border-radius: 3px;
}

.story-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.story-text {
    flex: 1;
    min-width: 300px;
    font-size: 1.15rem;
    line-height: 1.9;
}

.story-text p {
    margin-bottom: 25px;
    text-indent: 2em;
}

.story-text .highlight {
    color: #e74c3c;
    font-weight: 600;
}

.story-image {
    flex: 1;
    min-width: 300px;
    height: 450px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.story-image::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('/images/tmh/tmh.png') center/cover;
    filter: brightness(0.95);
}

.story-image::after {
    content: "父亲年轻时弹棉花工作照";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 1.1rem;
}

.timeline {
    margin-top: 50px;
    background: #fcf9f5;
    padding: 30px;
    border-radius: 10px;
}

.timeline-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #5a3921;
    font-weight: 600;
}

.timeline-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.timeline-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    border-left: 4px solid #b38a66;
}

.timeline-year {
    font-weight: bold;
    color: #e74c3c;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* 新增婚嫁习俗部分 */
.wedding-custom {
    padding: 80px 40px;
    background: linear-gradient(135deg, #f5f0e9 0%, #f0e6d8 100%);
    position: relative;
    overflow: hidden;
}

.wedding-custom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e74c3c, #b38a66);
}

.custom-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.custom-text {
    flex: 1;
    min-width: 300px;
    font-size: 1.15rem;
    line-height: 1.9;
}

.custom-text p {
    margin-bottom: 25px;
    position: relative;
    padding-left: 40px;
}

.custom-text p::before {
    content: "“";
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: #e74c3c;
    font-family: 'Noto Serif SC', serif;
    opacity: 0.3;
}

.custom-text .highlight {
    color: #e74c3c;
    font-weight: 600;
    font-size: 1.2rem;
}

.custom-image {
    flex: 1;
    min-width: 300px;
    height: 500px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.custom-image::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('/images/tmh/71.png') center/cover;
    filter: brightness(0.95);
}

.custom-image::after {
    content: "传统婚嫁棉被承载着祝福";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 1.1rem;
}

/* 新增传承见证部分 */
.heritage {
    padding: 80px 40px;
    background: white;
    position: relative;
    overflow: hidden;
}

.heritage-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.heritage-image {
    flex: 1;
    min-width: 300px;
    height: 500px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.heritage-image::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('/images/tmh/beizi.png') center/cover;
    filter: brightness(0.95);
}

.heritage-image::after {
    content: "父亲2012年制作的被子至今仍在使用";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 1.1rem;
}

.heritage-text {
    flex: 1;
    min-width: 300px;
    font-size: 1.15rem;
    line-height: 1.9;
    padding: 20px;
}

.heritage-text p {
    margin-bottom: 25px;
}

.heritage-text .highlight {
    color: #e74c3c;
    font-weight: 600;
    display: block;
    margin-top: 10px;
    font-style: italic;
}

/* 工艺展示 - 移除连接线 */
.craft {
    padding: 60px 30px;
    background: linear-gradient(135deg, #f9f5f0 0%, #f0e6d8 100%);
    position: relative;
}

.craft-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #5a3921;
    line-height: 1.7;
}

.craft-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* 移除了连接线的样式 */
.step-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.step-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.step-icon-container {
    width: 100px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(139, 87, 42, 0.2);
    border: 2px solid #b38a66;
    transition: all 0.3s ease;
}

.step-item:hover .step-icon {
    transform: scale(1.1);
    background: #b38a66;
    color: white;
    box-shadow: 0 8px 20px rgba(139, 87, 42, 0.3);
}

.step-icon i {
    font-size: 1.8rem;
    color: #8e6a4d;
}

.step-item:hover .step-icon i {
    color: white;
}

.step-content {
    flex: 1;
    padding: 15px 20px 15px 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.3s ease;
    border-left: 3px solid #f0e6d8;
}

.step-item:hover .step-content {
    transform: translateX(10px);
    border-left-color: #e74c3c;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.step-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 25px;
    width: 20px;
    height: 3px;
    background: #b38a66;
}

.step-title {
    font-size: 1.4rem;
    color: #5a3921;
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
    padding-bottom: 8px;
}

.step-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #b38a66;
}

.step-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5a3921;
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #e74c3c;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

/* 产品展示 - 调整为两个产品 */
.products {
    padding: 60px 30px;
    background: white;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    position: relative;
    border: 1px solid #eee;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #b38a66;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.product-image {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('/images/tmh/w4.png') center/cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image::before {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
    position: relative;
}

.product-name {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #5a3921;
    font-weight: 700;
}

.product-price {
    font-size: 1.6rem;
    color: #e74c3c;
    font-weight: bold;
    margin: 15px 0;
}

.product-tag {
    display: inline-block;
    background: #f0e6d8;
    color: #8e6a4d;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-top: 10px;
}

/* 承诺部分 */
.promise {
    padding: 60px 30px;
    background: #fcf9f5;
}

.promise-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.promise-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.promise-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background: white;
}

.promise-icon {
    font-size: 2.2rem;
    color: #e74c3c;
    margin-bottom: 20px;
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.promise-item:hover .promise-icon {
    background: #e74c3c;
    color: white;
    transform: scale(1.1);
}

.promise-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #5a3921;
    font-weight: 600;
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, #5a3921 0%, #7a5235 100%);
    color: #e6d2c1;
    padding: 60px 30px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23e6d2c1" opacity="0.1"/></svg>');
}

.footer-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    font-family: 'Ma Shan Zheng', cursive;
    letter-spacing: 3px;
}

.footer-tagline {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
    color: #f0d9b5;
}

.contact-info {
    margin: 20px 0;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.social-icons {
    margin: 30px 0;
    position: relative;
    z-index: 2;
}

.social-icon {
    display: inline-block;
    width: 55px;
    height: 55px;
    background: #b38a66;
    border-radius: 50%;
    line-height: 55px;
    font-size: 1.6rem;
    color: white;
    margin: 0 12px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #e74c3c;
    transform: translateY(-5px);
}

.copyright {
    margin-top: 30px;
    font-size: 0.9rem;
    opacity: 0.7;
    position: relative;
    z-index: 2;
}

.cotton-badge {
    position: absolute;
    width: 140px;
    height: 140px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.3rem;
    text-align: center;
    transform: rotate(-15deg);
    right: 50px;
    top: -50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1;
    font-family: 'Ma Shan Zheng', cursive;
    letter-spacing: 2px;
    line-height: 1.4;
}