/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "SimSun", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f5f0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.header {
    background: linear-gradient(to right, #8b0000, #a52a2a);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    color: #fff;
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    margin-top: -40px;
}

.nav li {
    margin-left: 30px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav a:hover,
.nav a.active {
    background-color: rgba(255,255,255,0.2);
}

/* 横幅区域 */
.banner {
    position: relative;
    margin-top: 20px;
}

.banner-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-text h2 {
    font-size: 3em;
    margin-bottom: 10px;
}

/* 产品展示区 */
.section-title {
    text-align: center;
    font-size: 2em;
    color: #8b0000;
    margin: 40px 0;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #8b0000;
    margin: 10px auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.product-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.product-card h3 {
    color: #8b0000;
    margin-bottom: 10px;
}

/* 文化传承区域 */
.culture {
    background-color: #fff;
    padding: 60px 0;
    margin: 40px 0;
}

.culture-content {
    text-align: center;
}

.culture-img {
    width: 100%;
    max-width: 800px;
    margin-top: 30px;
    border-radius: 8px;
}

/* 页脚样式 */
.footer {
    background-color: #2b2b2b;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.footer h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    line-height: 2;
}

.footer-links a:hover {
    color: #a52a2a;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav ul {
        justify-content: center;
        margin-top: 20px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
} 

/* 产品列表页样式 */
.products-header {
    background-color: #fff;
    padding: 40px 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.category-nav {
    margin-top: 30px;
}

.category-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.category-nav a {
    color: #333;
    text-decoration: none;
    font-size: 1.1em;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.category-nav a:hover,
.category-nav a.active {
    background-color: #8b0000;
    color: #fff;
}

.product-section {
    margin-bottom: 60px;
}

.category-title {
    color: #8b0000;
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid #8b0000;
}

.view-detail {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background-color: #8b0000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.view-detail:hover {
    background-color: #a52a2a;
    transform: translateY(-2px);
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .category-nav ul {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .category-nav a {
        font-size: 1em;
        padding: 6px 15px;
    }
    
    .category-title {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
} 

/* 产品详情页样式 */
.breadcrumb {
    margin: 20px 0;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #8b0000;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-gallery {
    position: relative;
}

.main-image {
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
}

.thumbnail-list img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.thumbnail-list img:hover,
.thumbnail-list img.active {
    opacity: 1;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
}

.product-meta {
    color: #666;
    margin-bottom: 30px;
}

.product-description h2,
.product-care h2,
.contact-info h2 {
    color: #8b0000;
    font-size: 1.5em;
    margin: 30px 0 15px;
}

.product-description h3 {
    color: #333;
    font-size: 1.2em;
    margin: 20px 0 10px;
}

.product-description ul,
.product-care ul {
    list-style: none;
    margin-left: 20px;
}

.product-description ul li,
.product-care ul li {
    margin-bottom: 10px;
    position: relative;
}

.product-description ul li:before,
.product-care ul li:before {
    content: "•";
    color: #8b0000;
    position: absolute;
    left: -15px;
}

.contact-info {
    margin-top: 40px;
    padding: 20px;
    background: #f9f5f0;
    border-radius: 8px;
}

.contact-info .phone {
    color: #8b0000;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 10px;
}

.related-products {
    margin: 60px 0;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .product-info {
        padding: 0;
    }
    
    .thumbnail-list img {
        width: 60px;
        height: 60px;
    }
} 

/* 关于我们页面样式 */
.about-banner {
    position: relative;
    margin-bottom: 60px;
}

.about-banner-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.about-banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.about-banner-text h2 {
    font-size: 3em;
    margin-bottom: 10px;
}

.about-intro {
    background-color: #fff;
    padding: 60px 0;
    margin-bottom: 60px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #666;
}

.about-text p {
    margin-bottom: 20px;
}

.craftsmanship {
    padding: 60px 0;
    background-color: #f9f5f0;
}

.craft-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.craft-item {
    text-align: center;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.craft-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}

.craft-item h3 {
    color: #8b0000;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.craft-item p {
    color: #666;
    line-height: 1.6;
}

.store-info {
    padding: 60px 0;
    background-color: #fff;
}

.store-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.store-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.store-text {
    padding: 20px;
}

.store-text h3 {
    color: #8b0000;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.store-text p {
    color: #666;
    margin-bottom: 15px;
}

.store-features {
    margin-top: 30px;
}

.store-features h4 {
    color: #333;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.store-features ul {
    list-style: none;
}

.store-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.store-features li:before {
    content: "•";
    color: #8b0000;
    position: absolute;
    left: 0;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .craft-grid {
        grid-template-columns: 1fr;
    }
    
    .store-content {
        grid-template-columns: 1fr;
    }
    
    .store-image img {
        height: 300px;
    }
    
    .about-banner-text h2 {
        font-size: 2em;
    }
}