* {
    padding:0;
    margin:0;
}
header {
    background-color:rgba(35,28,26,0.8);
    height:80px;
    width:100%;
    position:fixed;    
}
h1 {
    color:white;
    position:absolute;
    left:120px;
    top:0;
    line-height: 80px;
    background-image:url(images) ;
    background-repeat: no-repeat;
    background-position: center;
    width:210px;
    text-indent: -9999px; 
}
h1 {
    /* 原有样式保持不变 */
    background-image: url(images);
    background-repeat: no-repeat;
    background-position: center;
    /* 新增调整背景图大小 */
    background-size: contain; /* 保持比例，完整显示图片 */
    /* 或者 */
    background-size: cover; /* 保持比例，填满整个容器，可能裁剪图片 */
    /* 或者 */
    background-size: 100% auto; /* 宽度100%，高度自适应 */
    /* 或者 */
    background-size: auto 100%; /* 高度100%，宽度自适应 */
}
header ul {
    position:absolute;
    right:5vw;
    top:0;
    line-height:80px;
}
header li {
    display:inline;
    margin-right:4vw;    
}
header a {
    color:white;
    text-decoration: none;
}
header a:hover {
    text-decoration: underline;
}
.menu {
    display: none; /* 默认桌面端隐藏 */
    background-color: transparent;
    color: white;
    font-size: 35px;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    position: absolute;
    left: 20px;
    top: 20px;
}
/* 产品介绍区域 */
.product-intro {
    padding: 100px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-header {
    text-align: center;
    margin-bottom: 40px;
}

.product-header h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 15px;
}

.product-header p {
    font-size: 18px;
    color: #555;
}

.main-product-image {
    width: 100%;
    margin: 0 auto 40px;
    text-align: center;
}

.main-product-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.specs-table {
    margin: 30px 250px;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th, .specs-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.specs-table th {
    width: 30%;
    background-color: #f9f9f9;
    font-weight: normal;
    color: #555;
}
/* 产品图库 */
.product-gallery {
    padding: 40px 20px;
    background-color: #f9f9f9;
    max-width: 1200px;
    margin: 0 auto;
}

.product-gallery h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gallery-container img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

/* 口号部分 */
.slogan {
    background-color: #485652;
    color: white;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    line-height: 1.8em;
    text-align: center;
}

/* 页脚样式 */
footer {
    background-color: #000000;
    color: #B7B7B7;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
.menu {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(35, 28, 26, 0.95);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-nav.show {
        max-height: 500px;
    }
    
    .main-nav ul {
        flex-direction: column;
        position: static;
        padding: 20px 0;
        text-align: center;
    }
    
    .main-nav li {
        display: block;
        margin: 0;
        padding: 15px 0;
    }
    
    header h1 {
        left: 50%;
        transform: translateX(-50%);
    }
.specs-table {
        margin: 30px 20px;
    }
    
    .specs-table th, .specs-table td {
        padding: 10px 12px;
        font-size: 15px;
    }
    
    .product-header h2 {
        font-size: 28px;
    }

    .main-product-image img {
        max-height: 400px;
    }

    .gallery-container img {
        max-height: 450px;
    }
}

@media screen and (max-width: 480px) {
    .product-header h2 {
        font-size: 24px;
    }
    
    .product-header p {
        font-size: 16px;
    }
    
    .gallery-container img {
        max-height: 350px;
    }
    
}