/* 更新字体引入 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap');

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航栏样式 */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(44, 62, 80, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 65px;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1em;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.nav-links li a:hover {
    color: #3498db;
    transform: translateY(-2px);
}

/* 轮播图样式 */
.hero {
    height: 100vh;
    position: relative;
}

.carousel {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
}

.carousel-content h2 {
    font-size: 5.5em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.05em;
    font-weight: 700;
}

.carousel-content p {
    font-size: 2.2em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.03em;
    font-weight: 500;
}

.carousel-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
}

.carousel-controls .prev {
    left: 20px;
}

.carousel-controls .next {
    right: 20px;
}

/* 新闻版块样式 */
.news-section {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: #333;
    letter-spacing: 0.05em;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #333;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.news-item {
    aspect-ratio: auto;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-content {
    position: static;
    padding: 20px;
    background: none;
    color: #333;
}

.news-content h3 {
    margin-bottom: 10px;
    font-size: 1.1em;
    font-weight: 500;
    color: #333;
}

.news-content p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

/* 悬停效果 */
.news-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

/* 产品展示样式 */
.products-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.product-item {
    aspect-ratio: auto;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-info {
    position: static;
    padding: 20px;
    background: none;
    color: #333;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 1.1em;
    font-weight: 500;
    color: #333;
}

.product-info p {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

/* 悬停效果 */
.product-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

/* 页脚样式 */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.contact-list {
    list-style: none;
    margin-top: 20px;
}

.contact-list li {
    margin-bottom: 10px;
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.footer-qrcode p {
    font-size: 0.9em;
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-qrcode {
        margin-top: 30px;
    }
    
    .carousel-content h2 {
        font-size: 3.5em;
    }
    
    .carousel-content p {
        font-size: 1.8em;
    }
    
    .logo-img {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .news-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* logo样式更新 */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 49px;
    width: auto;
    padding: 0;
} 