/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background-color: rgba(51, 51, 51, 0.95);
    color: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
    background-color: transparent;
    /* 以下是处理白色背景的CSS技巧，如果图片有白色背景，可以使用这个滤镜使其透明 */
    /* filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7485%) hue-rotate(259deg) brightness(113%) contrast(112%) drop-shadow(0 2px 5px rgba(0,0,0,0.3)); */
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #ff6b35;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff6b35;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 语言切换按钮样式 */
.language-switcher {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.lang-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 14px;
    font-weight: normal;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
    outline: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: auto;
    line-height: 1.2;
    /* 移除大写和字母间距，与导航栏风格一致 */
}

.lang-btn:hover {
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.lang-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

/* 主页横幅 */
.banner {
    position: relative;
    height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a2e;
    margin-top: 70px;
    overflow: hidden;
}

/* 使用伪元素作为背景层，单独添加虚化效果 */
.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 添加背景图片 */
    background-image: url('https://tiebapic.baidu.com/forum/pic/item/bc15452209f790525052e3254af3d7ca7acbd58b.jpg?tbpicau=2026-02-06-05_4e158b1f0b13e740c9485de635e46d88');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* 虚化效果 */
    filter: blur(5px);
    /* 略微放大以避免模糊边缘 */
    transform: scale(1.05);
    /* 背景层在最下方 */
    z-index: 0;
}

.banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.banner-left {
    flex: 1;
    min-width: 300px;
    margin-bottom: 40px;
}

.banner-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.2;
}

.banner h2 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #555;
    font-weight: normal;
}

.banner .tagline {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ff6b35;
    font-weight: 500;
}

.banner .slogan {
    font-size: 18px;
    margin-bottom: 30px;
    color: #fff;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.primary-btn {
    background-color: #ff6b35;
    color: #fff;
    border: none;
}

.secondary-btn {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.secondary-btn:hover {
    background-color: #fff;
    color: #1a1a2e;
}

.product-img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: scale(1);
    transition: transform 0.3s ease;
}

.product-img:hover {
    transform: scale(1.1);
}

.product-img-placeholder {
    width: 100%;
    max-width: 400px;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: scale(1);
    transition: transform 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 完整展示气动打包机和配件图片 */
.product-categories .product-category:nth-child(2) .product-img-placeholder,
.product-categories .product-category:nth-child(3) .product-img-placeholder {
    background-size: contain;
    background-color: #2d2d2d;
}

/* 对齐查看详情按钮 */
.product-categories .product-category:nth-child(2) .product-item p,
.product-categories .product-category:nth-child(3) .product-item p {
    min-height: 120px;
    margin-bottom: 20px;
}

.product-img-placeholder:hover {
    transform: scale(1.1);
}

/* 关于我们 */
.about {
    padding: 80px 0;
    background-color: #fff;
}

/* 公司优势样式 */
.advantages {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    flex-wrap: wrap;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    flex: 1;
    margin: 10px;
    min-width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advantage-item h3 {
    margin-bottom: 10px;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantage-item .advantage-number {
    font-size: 36px;
    font-weight: bold;
    color: #ff6b35;
    line-height: 1;
    margin-bottom: 8px;
}

.advantage-item .advantage-text {
    font-size: 16px;
    color: #909090;
    line-height: 1.2;
}

.advantage-item p {
    font-size: 14px;
    color: #b0b0b0;
    margin: 0;
}

.advantage-item .advantage-subtext {
    font-size: 14px;
    color: #909090;
    margin-top: 5px;
}

.about h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #000;
    text-align: center;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #ff6b35;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
    color: #333;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.factory-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.factory-img-placeholder {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.about-image:hover .factory-img,
.about-image:hover .factory-img-placeholder {
    transform: scale(1.05);
}

.advantages {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    flex-wrap: wrap;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    flex: 1;
    margin: 10px;
    min-width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advantage-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.advantage-item p {
    font-size: 14px;
    color: #ccc;
    margin: 0;
}

/* 产品中心 */
.products {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.products h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #000;
    text-align: left;
    position: relative;
}

.products h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    transform: none;
    width: 100px;
    height: 3px;
    background-color: #ff6b35;
}

.products > .container > p {
    font-size: 16px;
    margin-bottom: 60px;
    color: #333;
    text-align: left;
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.product-category {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-image {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2d2d2d;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-category:hover .product-img {
    transform: scale(1.1);
}

.product-category h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #000;
    text-align: center;
}

.product-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #000;
}

.product-item p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ff6b35;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

/* 应用领域 */
.applications {
    padding: 80px 0;
    background-color: #fff;
}

.applications h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #000;
    text-align: left;
    position: relative;
}

.applications h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    transform: none;
    width: 100px;
    height: 3px;
    background-color: #ff6b35;
}

.applications > .container > p {
    font-size: 16px;
    margin-bottom: 60px;
    color: #333;
    text-align: left;
}

.application-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

.application-item {
    width: calc(50% - 10px);
    max-width: calc(50% - 10px);
    text-align: center;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.application-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background-color: #fff;
}

.application-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.application-img-placeholder {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.application-item:hover .application-img,
.application-item:hover .application-img-placeholder {
    transform: scale(1.05);
}

.application-item h3 {
    font-size: 18px;
    color: #000;
    margin-bottom: 10px;
}

/* 新闻资讯 */
.news {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.news h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #000;
    text-align: left;
    position: relative;
}

.news h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    transform: none;
    width: 100px;
    height: 3px;
    background-color: #ff6b35;
}

.news-content {
    display: flex;
    gap: 40px;
}

.news-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #ff6b35;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.news-item:hover::before {
    transform: scaleY(1);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.news-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #000;
    transition: color 0.3s ease;
    text-align: left;
}

/* 联系方式样式 */
.contact-methods {
    width: 300px;
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.contact-methods h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #000;
    text-align: left;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

.contact-method:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-method i {
    font-size: 20px;
    margin-right: 15px;
    color: #ff6b35;
}

.contact-method span {
    font-size: 14px;
    color: #333;
}

.news-item:hover h3 {
    color: #ff6b35;
}

.news-item p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.8;
}

.news-item .date {
    font-size: 14px;
    color: #666;
    margin: 0;
    display: inline-block;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background-color: #fff;
}

.contact h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #000;
    text-align: center;
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #ff6b35;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: #2d2d2d;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.contact-info .email {
    font-size: 20px;
    font-weight: 500;
    color: #ff6b35;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #b0b0b0;
    line-height: 1.8;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

/* 页脚 */
.footer {
    background-color: #222;
    color: #fff;
    padding: 50px 0 30px;
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #ff6b35;
}

.footer-content {
    margin-bottom: 30px;
}

.footer-content h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.footer p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 12px;
    opacity: 0.6;
    margin: 0;
}

/* 产品详情页样式 */
.product-banner {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a2e;
    margin-top: 70px;
    overflow: hidden;
}

.product-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(26, 26, 46, 0.7) 100%);
    z-index: 1;
}

.product-banner .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.product-banner h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.2;
}

.product-banner p {
    font-size: 18px;
    color: #ccc;
    font-weight: normal;
}

.product-details {
    padding: 80px 0;
    background-color: #fff;
}

.product-detail-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.product-detail-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #f8f9fa;
    padding: 20px;
}

.product-detail-image .product-img-placeholder {
    width: 100%;
    max-width: none;
    height: 400px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.product-detail-info {
    flex: 1;
    min-width: 300px;
}

.product-category {
    font-size: 14px;
    color: #ff6b35;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.product-detail-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.product-description,
.product-features,
.product-specs,
.product-usage {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #333;
}

.product-description h3,
.product-features h3,
.product-specs h3,
.product-usage h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #e0e0e0;
    position: relative;
    display: inline-block;
}

.product-description h3::after,
.product-features h3::after,
.product-specs h3::after,
.product-usage h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #ff6b35;
}

.product-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
    font-size: 18px;
}

.product-specs table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.product-specs th,
.product-specs td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.product-specs th {
    background-color: #f8f9fa;
    font-weight: 500;
    color: #333;
    width: 30%;
}

.product-specs td {
    color: #555;
}

.product-usage p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.product-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* 产品应用案例 */
.product-applications {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.product-applications h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #e0e0e0;
    text-align: center;
    position: relative;
}

.product-applications h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #ff6b35;
}

.application-cases {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-around;
}

.application-case {
    flex: 1;
    min-width: 300px;
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    text-align: center;
}

.application-case:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    background-color: #3d3d3d;
}

.application-case .application-img-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.application-case:hover .application-img-placeholder {
    transform: scale(1.05);
}

.application-case h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.application-case p {
    font-size: 16px;
    line-height: 1.8;
    color: #b0b0b0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
    }

    .nav-links li {
        margin: 5px 10px 5px 0;
    }

    .banner h1 {
        font-size: 28px;
    }

    .banner h2 {
        font-size: 20px;
    }

    .advantages {
        flex-direction: column;
    }

    .advantage-item {
        margin: 10px 0;
    }

    .product-categories {
        flex-direction: column;
    }

    .news-items {
        flex-direction: column;
    }
}