/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
.values-grid .value-card img {
	width: 40%;
	margin-top: 10px;
	margin-left: 3%;
	margin-right: 3%;
}

a {
	text-decoration: none;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header 样式 */
header {
    background-color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}
.logo img {
	max-height: 60px;
	border-width: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}


.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-left: 10px;
}

.logo i {
    font-size: 28px;
    color: #3498db;
}

.nav-desktop {
    display: flex;
    list-style: none;
}

.nav-desktop li {
    margin-left: 25px;
}

.nav-desktop a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

.nav-desktop a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s;
}

.nav-desktop a:hover {
    color: #3498db;
}

.nav-desktop a:hover:after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #2c3e50;
    margin: 3px 0;
    border-radius: 3px;
    transition: 0.3s;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 15px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    color: #2c3e50;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    font-weight: 500;
}

.nav-mobile a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: #3498db;
}

/* Banner 样式 */
.banner {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    width: 80%;
    max-width: 800px;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.banner-btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.banner-btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.slide-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slide-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.slide-control.active {
    background-color: white;
}

/* About Banner 样式 */
.about-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.about-banner-img {
    width: 100%;

    height: 100%;
    object-fit: cover;
}

.about-banner-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
}

.about-banner-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.about-banner-content p {
    font-size: 1.6rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* 数据统计部分 */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9ebe2, #ffae81, #ff9f65, #ffebca);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.stat-text {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 关于内容样式 */
.about-content-section {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: #3498db;
}

.section-title p {
    color: #7f8c8d;
    max-width: 700px;
    margin: 20px auto 0;
}

.about-text-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text {
    line-height: 1.8;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* 产品展示样式 */
.products {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
}

.product-img a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-content {
    padding: 20px;
    text-align: center;
}

.product-content h3 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 1.3rem;
}

.product-content p {
    color: #7f8c8d;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Product tag styles */
.product-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

/* Gallery Section Styles */
.gallery {
    padding: 60px 0;
    background-color: white;
    overflow: hidden;
    position: relative;
}

.gallery-container {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    width: max-content;
    animation: scrollGallery 30s linear infinite;
}

.gallery-item {
	flex: 0 0 auto;
	width: 300px;
	height: 300px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 8 - 20px * 8));
    }
}

/* 价值观部分 */
.values {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.value-card p {
    color: 7f8c8d;
}

/* Footer 样式 */
footer {
	background-color: #00BDDC;
	color: white;
	padding: 60px 0 30px;
	margin-top: auto;
    background: linear-gradient(135deg, #99e0c0, #51c3ce, #5bbbf7, #9cddf9);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #3498db;
}

.footer-column p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-links {
    list-style: none;
    margin-top: 15px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 10px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    opacity: 1;
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #3498db;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .about-text-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .banner {
        height: 400px;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .about-banner-content h1 {
        font-size: 2.2rem;
    }
    
    .about-banner-content p {
        font-size: 1rem;
    }
    
    .products-grid,
    .footer-content,
    .stats-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .gallery-item {
        width: 250px;
    }
    
    @keyframes scrollGallery {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-250px * 8 - 20px * 8));
        }
    }
}

@media (max-width: 480px) {
    .banner {
        height: 300px;
    }
    
    .slide-content {
        bottom: 50px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .about-banner {
        height: 300px;
    }
    
    .about-banner-content h1 {
        font-size: 1.8rem;
    }
    
    .about-content-section, .values, .stats, .products, .gallery {
        padding: 60px 0;
    }
    
    .gallery-item {
        width: 200px;
        height: 150px;
    }
    
    @keyframes scrollGallery {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 8 - 20px * 8));
        }
    }
}
