

body {
padding-top: 90px; /* 为固定导航栏留出空间 */
background-color: #212322;

margin: 0px;
}

a {
text-decoration: none;
}

table {
border-collapse: collapse;
border-spacing: 10;
}

tr {
text-align: center;
}

td {
padding: 1px 1px;
border: 1.5px solid #A2AAAD;
width: 100px;
font-size: 12px;
}


*, *:after, *:before {
-moz-box-sizing: border-box;
box-sizing: border-box;
}


/* 顶部联系信息栏 */
.top-bar {
background-color: #333;
color: #fff;
padding: 8px 0;
font-size: 14px;
}

.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}

.contact-info a {
color: #fff;
text-decoration: none;
margin-right: 15px;
}

.contact-info a:hover {
text-decoration: underline;
}


.contact-info span {


line-height: 1.5;
}




/* 主导航栏 */
.main-nav {
height: 90px;
width: 100%;
background-color: #fff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: fixed;
top: 0px; /* 顶部联系栏高度 */
left: 0;
right: 0;
z-index: 1000;
padding: 4px 0px;


display: flex;
justify-content: center; /* 水平居中 */
align-items: center; 
}



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

.logo {
display: flex;
align-items: center;
}

.logo img {
height: 40px;
}

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

.nav-links > li {
position: relative;
margin-left: 25px;
}

.nav-links > li > a {
color: #333;
text-decoration: none;
font-weight: 500;
font-size: 16px;
transition: color 0.3s;
padding: 8px 0;
display: block;
}

.nav-links > li > a:hover {
color: #ec662a ;
}


.nav-links, 
.nav-links ul, 
.dropdown-menu, 
.dropdown-menu li {
list-style: none !important;
padding-left: 0 !important;
}


/* 下拉菜单样式 */
.dropdown-menu {
position: absolute;
top: 100%;
left: 0;
background-color: #fff;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
border-radius: 4px;
min-width: 200px;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
z-index: 1001;
}

.nav-links > li:hover .dropdown-menu {
opacity: 1;
visibility: visible;
}


.dropdown-menu li {
padding: 0;
border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
border-bottom: none;
}

.dropdown-menu a {
color: #555;
padding: 10px 15px;
display: block;
text-decoration: none;
transition: all 0.3s;
}

.dropdown-menu a:hover {
background-color: #f5f5f5;
color: #ec662a ;
}

.search-box {
display: flex;
align-items: center;
}

.search-box input {
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
width: 200px;
}


.search-box button {
background-color: #ec662a ;
color: white;
border: none;
padding: 15px 15px;
margin-left: 5px;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
}

.search-box button:hover {
background-color: #ec662a ;
}




/* Banner区域 */
.banner {
width: 100%;
height: 400px;


background-size: cover;
background-position: center;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-align: center;
margin-bottom: 30px;
}

.banner-content{
z-index: 1;
}

.banner-content h1 {
font-size: 48px;
margin-bottom: 20px;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
z-index: 1;
}

.banner-content p {
font-size: 20px;
margin-bottom: 30px;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
z-index: 1;
}

.banner-btn {
background-color: #ec662a ;
color: white;
padding: 12px 30px;
border: none;
border-radius: 4px;
font-size: 18px;
cursor: pointer;
text-decoration: none;
display: inline-block;
transition: background-color 0.3s;
}

.banner-btn:hover {
background-color: #ec662a ;
}


/* Banner区域 */
.banner-lianxi {
width: 100%;
height: 360px;
background-image: url('/static/image/banner1.jpg');
background-size: cover;
background-position: center;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-align: center;
margin-bottom: 30px;
}



.banner-lianxi-btn {
background-color: #ec662a ;
color: white;
padding: 12px 30px;
border: none;
border-radius: 4px;
font-size: 18px;
cursor: pointer;
text-decoration: none;
display: inline-block;
transition: background-color 0.3s;
}

.banner-lianxi-btn:hover {
background-color: #ec662a ;
}


/* 页面内容 */
.main-content {
padding: 30px 0;
}


/* 轮播图 */


.banner-container {
position: relative;
width: 100%;
margin: 0 auto;
overflow: hidden;
height: 95vh;
/*height: 600px;*/
}

.banner-slides {
display: flex;
width: 100%;
height: 100%;
transition: transform 0.5s ease;
}

.banner-slide {
min-width: 100%;
height: 100%;
position: relative;
}

.banner-slide img {
width: 100%;
height: 95.5%;
object-fit: cover;
}

.slide-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
color: white;
width: 80%;
max-width: 680px;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}



.slide-content h2 {
font-size: 3.5rem;
margin-bottom: 30px;

font-weight:normal;

line-height: 1.5;


}


.slide-content h3 {
font-size: 2.5rem;
margin-bottom: 1rem;

}


.slide-btn {
display: inline-block;
padding: 12px 30px;
background-color: #ec662a ;
color: white;
text-decoration: none;
border-radius: 30px;
font-size: 1rem;

/*transition: background-color 0.3s;*/

text-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}

.slide-btn:hover {
background-color: #ec662a ;
}



.banner-controls {
position: absolute;
top: 50%;
width: 100%;
display: flex;
justify-content: space-between;
transform: translateY(-50%);
z-index: 10;
}

.control-btn {
background-color: rgba(0, 0, 0, 0.3);
color: white;
border: none;
width: 40px;
height: 60px;
font-size: 1.5rem;
cursor: pointer;
transition: background-color 0.3s;
}

.control-btn:hover {
background-color: rgba(0, 0, 0, 0.6);
}

.banner-indicators {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
display: flex;
z-index: 10;
}

.indicator {
width: 12px;
height: 12px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.5);
margin: 0 5px;
cursor: pointer;
transition: background-color 0.3s;
}

.indicator.active {
background-color: white;
}



/* 响应式设计 */
@media (max-width: 768px) {
.banner-container {
height: 300px;
}

.slide-content h2 {
font-size: 1.8rem;
}

.slide-content p {
font-size: 1rem;
}

.slide-btn {
padding: 10px 20px;
font-size: 0.9rem;
}

.control-btn {
width: 30px;
height: 50px;
font-size: 1.2rem;
}
}




/* 产品推荐1 */

.section-title {
text-align: center;
padding: 40px 0 20px;
font-size: 32px;
color: #333;
}


/* 产品容器 - 桌面布局 */
.products-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 20px;
}

.product-card {
background: #fff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}


.product-image {
width: 100%;
height: 350px;
object-fit: contain;
}

.product-info {
padding: 15px;
}

.product-title {
font-size: 18px;
margin-bottom: 8px;
color: #333;
}




/* 移动端布局 */
@media (max-width: 768px) {
.section-title {
font-size: 24px;
padding: 30px 0 15px;
}

.products-container {
display: flex;
overflow-x: auto;
padding: 0 10px 20px;
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
grid-gap: 0;
}

.product-card {
flex: 0 0 80%;
margin-right: 15px;
scroll-snap-align: start;
}

.product-card:last-child {
margin-right: 0;
}

.product-image {
height: 180px;
}
}


/* 隐藏滚动条但保持滚动功能 */
.products-container::-webkit-scrollbar {
display: none;
}


/* 产品推荐2 */


.product1-section1 {
min-height: 400px;
width: 100%;
padding: 20px 0px 40px 0px;
background-color: #212322;
display: flex;
flex-direction: column;
}

.section1-title {
text-align: center;
padding: 20px 0;
font-size: 2.5rem;
color: #fff;
}


.product1-card {
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
display: flex;
flex-direction: column;
}

.product1-card:hover {
transform: translateY(-10px);
box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.product1-image-container {
height: 0;
padding-bottom: 100%;
position: relative;
overflow: hidden;
}

.product1-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: contain;
transition: transform 0.5s;
padding: 5px;
}

.product1-card:hover .product1-image {
transform: scale(1.05);
}

.product1-info {
padding: 20px;
flex: 1;
display: flex;
flex-direction: column;
}

.product1-title {
font-size: 1.2rem;
margin-bottom: 10px;
color: #333;
font-weight: 600;
text-align: center;
}

.product1-price {
font-size: 1.3rem;
font-weight: bold;
color: #e63946;
margin-bottom: 15px;
}

.product1-description {
font-size: 0.9rem;
color: #666;
margin-bottom: 20px;
flex: 1;
}

.product1-button {
display: block;
text-align: center;
padding: 12px;
background: linear-gradient(135deg, #4361ee, #3a0ca3);
color: white;
text-decoration: none;
border-radius: 6px;
font-weight: 500;
transition: all 0.3s;
}

.product1-button:hover {
background: linear-gradient(135deg, #3a0ca3, #4361ee);
box-shadow: 0 4px 12px rgba(58, 12, 163, 0.3);
}


@media (min-width: 1200px) {
.products1-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
flex: 1;
padding: 0 5vw;
margin: auto 0;
}

}



/* 关于我们 */

.about-section2 {
max-width: 85%;
margin: 60px auto;
padding: 0 20px;
}

.section2-title {
text-align: left;
margin-bottom: 50px;
font-size: 2.5rem;
color: #fff;
position: relative;
}

.section2-title:after {
content: '';
display: block;
width: 80px;
height: 4px;
background: #ec662a ;
margin: 15px 0px 0px 0px;
}

.about-container {
display: flex;
align-items: center;
/*background: white;*/
border-radius: 0px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
overflow: hidden;
}

.about-text {
flex: 1;
padding: 50px;
}

.about-text h2 {
font-size: 1.8rem;
margin-bottom: 20px;
color: #fff;
}

.about-text p {
margin-bottom: 20px;
font-size: 1.1rem;
color: #fff;
}

.about-text ul {
margin: 25px 0;
padding-left: 20px;
}

.about-text li {
margin-bottom: 10px;
position: relative;
list-style-type: none;
padding-left: 30px;
}

.about-text li:before {
content: '✓';
color: #ec662a ;
font-weight: bold;
position: absolute;
left: 0;
}

.about-image {
flex: 1;
/*height: 500px;*/

position: relative;
overflow: hidden;
}

.about-image img {
width: 100%;

object-fit: cover;
transition: transform 0.5s;
}

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

.stats {
display: flex;
justify-content: space-between;
margin-top: 40px;
text-align: center;
}

.stat-item {
flex: 1;
padding: 20px;
}

.stat-number {
font-size: 2.5rem;
font-weight: bold;
color: #ec662a ;
margin-bottom: 5px;
}

.stat-label {
font-size: 1rem;
color: #777;
}




/* 新闻动态 */

.news-section3 {
max-width: 90%;
margin: 60px auto;
padding: 0 20px;
}

.section3-title {
text-align: center;
margin-bottom: 50px;
font-size: 2.5rem;
color: #fff;
position: relative;
}


.section3-title:after {
content: '';
display: block;
width: 80px;
height: 4px;
background: #ec662a ;
margin: 15px auto 0;

/*background: #ec662a ;*/

}


.news-card {
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.news-image {
width: 100%;
height: 240px;
object-fit: contain;
padding: 20px 5px 5px 5px;
}

.news-content {
padding: 5px 25px 25px 25px;
}

.news-date {
display: inline-block;
background: #ec662a ;
color: white;
padding: 5px 10px;
border-radius: 4px;
font-size: 0.9rem;
margin-bottom: 15px;
}

.news-title {
font-size: 1.3rem;
margin-bottom: 15px;
color: #212322;
}

.news-excerpt {
color: #666;
margin-bottom: 20px;
font-size: 0.95rem;
}

.read-more {
display: inline-block;
padding: 8px 20px;
background: transparent;
color: #ec662a ;
border: 1px solid #ec662a ;
border-radius: 4px;
text-decoration: none;
font-weight: 500;
transition: all 0.3s;
float: right;

margin-bottom: 15px;
}

.read-more:hover {
background: #ec662a ;
color: white;

margin-bottom: 15px;
}

/* 响应式设计 */

@media (min-width: 1200px) {

.news-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
}

}

@media (max-width: 768px) {

.news-container {
grid-template-columns: repeat(1, 1fr);
}

.section3-title {
font-size: 2rem;
margin-bottom: 30px;
}

.news-container {
grid-template-columns: 1fr;
gap: 20px;
}

.news-card {
max-width: 500px;
margin: 0 auto;
}
}

@media (max-width: 480px) {
.section3-title {
font-size: 1.8rem;
}

.news-content {
padding: 20px;
}
}



/* 底部文件 */

.foot {
position: relative;
min-height: 600px;
padding-bottom: 120px; 
}

.footer {
background-color: #212322;
color: #ecf0f1;
padding: 0px 0 30px;
position: absolute;
bottom: 0;
width: 100%;
}



.footer-container {
max-width: 1200px;
/*margin: 0 auto;*/

margin: 0 auto 0 calc(50% - 600px + 46px);

padding: 0 20px;
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 30px;
}



.footer-column h3 {
font-size: 1.2rem;
margin-bottom: 20px;
position: relative;
padding-bottom: 10px;
}


.footer-column h3:after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 1px;
background: #FFF;
}



.footer-links {
list-style: none;
padding-left: 0;
margin-left: 0;
}


.footer-links li {
margin-bottom: 12px;
}

.footer-links a {
color: #FFF;
text-decoration: none;
transition: color 0.3s;
display: block;
}

.footer-links a:hover {
color: #FFF;
padding-left: 5px;
}

.contact-info {
list-style: none;
padding-left: 0;
margin-left: 0;
}

.contact-info li {
margin-bottom: 15px;
display: flex;
align-items: flex-start;
}

.contact-info i {
margin-right: 10px;
color: #FFF;
font-size: 1.1rem;
min-width: 20px;
}

.social-links {
display: flex;
margin-top: 20px;
}

.social-links a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
margin-right: 10px;
color: #fff;
text-decoration: none;
transition: all 0.3s;
}

.social-links a:hover {
background: #FFF;
transform: translateY(-3px);
}

.qrcode {
text-align: center;
}

.qrcode img {
width: 120px;
height: 120px;
margin-bottom: 10px;
border: 1px solid rgba(255, 255, 255, 0.1);
}

.qrcode p {
font-size: 0.9rem;
color: #FFF;
}

.footer-bottom {
text-align: center;
padding-top: 30px;
margin-top: 30px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
font-size: 0.9rem;
color: #FFF;
}


/* 
.icon {
display: inline-block;
width: 1em;
height: 1em;
stroke-width: 0;
stroke: currentColor;
fill: currentColor;
}

 */




