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

body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部用户登录注册栏 */
.user-bar {
    background-color: #333;
    color: #fff;
    padding: 5px 0;
    font-size: 14px;
}

.user-bar .content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.user-bar ul {
    display: flex;
}

.user-bar li {
    padding: 0 10px;
    position: relative;
}

.user-bar a:hover {
    color: #ccc;
}

.user-bar .mobile-code {
    position: relative;
}

.user-bar .code-box {
    display: none;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    z-index: 100;
    text-align: center;
}

.user-bar .code-box img {
    width: 120px;
    height: 120px;
}

.user-bar .code-box p {
    color: #333;
    margin-top: 5px;
    font-size: 12px;
}

.user-bar .mobile-code:hover .code-box {
    display: block;
}

/* 导航栏 */
.nav-header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo img {
    max-height: 60px;
}

.nav-menu {
    display: flex;
}

.nav-menu a {
    padding: 0 20px;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2845a0;
}

/* 页尾样式 */
.footer {
    background-color: #1e50a2;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.qrcode-section {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.qrcode-item {
    text-align: center;
}

.qrcode-item img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
    background-color: #fff;
    padding: 5px;
    border-radius: 5px;
}

.footer-links {
    margin: 20px 0;
}

.footer-nav {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: #fff;
    font-size: 14px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-nav a.active {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}

.copyright {
    font-size: 12px;
    margin-bottom: 15px;
}

.copyright a {
    color: #fff;
}

.contact {
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-tools {
    display: flex;
    align-items: center;
    font-size: 12px;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-tools a {
    display: flex;
    align-items: center;
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-tools a:hover {
    opacity: 1;
}

.footer-tools i {
    margin-right: 5px;
    font-size: 16px;
}

/* 响应式设置 */
@media (max-width: 768px) {
    .user-bar .content,
    .nav-content,
    .footer-content {
        flex-direction: column;
    }
    
    .user-bar ul {
        margin-bottom: 5px;
    }
    
    .nav-menu {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu a {
        padding: 5px 15px;
    }
    
    .qrcode-section {
        justify-content: center;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image,
    .about-text {
        width: 100%;
        max-width: 100%;
    }
    
    .banner {
        height: 250px;
    }
}

/* 轮播图样式 */
.banner {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 400px;
}

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

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

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.banner-dot.active {
    background-color: white;
}

/* 关于公司部分 */
.about-section {
    padding: 60px 0;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.about-image {
    flex: 1;
    max-width: 500px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.about-title {
    font-size: 28px;
    font-weight: bold;
    color: #1e50a2;
    margin-bottom: 25px;
    position: relative;
}

.about-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #1e50a2;
}

.company-logo {
    width: 180px;
    margin: 20px 0;
}

.about-desc {
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.about-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    color: #1e50a2;
    border: 1px solid #1e50a2;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s;
    text-align: center;
    width: fit-content;
}

.about-btn:hover {
    background-color: #1e50a2;
    color: white;
}

/* 产品中心页面样式 */
.product-center {
    padding: 30px 0;
}

.product-banner {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

.product-banner img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.product-title {
    font-size: 36px;
    color: #1e50a2;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-subtitle {
    font-size: 24px;
    color: #666;
    text-align: center;
    margin-bottom: 50px;
}

.product-grid {
    margin: 30px 0;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-item {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image {
    width: 100%;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
}

.qrcode-product {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 30px 0;
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
}

.qrcode-product .qrcode-item {
    text-align: center;
    flex: 1;
    max-width: 48%;
}

.qrcode-product .qrcode-item img {
    width: 100%;
    height: auto;
    margin: 0 auto 15px;
    border: 5px solid #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: block;
}

.qrcode-text {
    font-size: 16px;
    color: #555;
}

/* 响应式设置 - 产品中心页面 */
@media (max-width: 768px) {
    .qrcode-product {
        flex-direction: column;
        align-items: center;
    }
    
    .qrcode-product .qrcode-item {
        margin-bottom: 20px;
    }
}

/* 关于公司页面样式 */
.about-company {
    padding: 40px 0;
    max-width: 900px;
}

.about-banner {
    margin-bottom: 30px;
    text-align: center;
}

.about-banner-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 4px;
}

.company-content {
    line-height: 1.8;
}

.company-name {
    font-size: 24px;
    font-weight: bold;
    color: #1e50a2;
    margin-bottom: 10px;
}

.company-slogan {
    font-size: 18px;
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
}

.company-intro {
    margin-bottom: 30px;
}

.company-intro p {
    text-align: justify;
    margin-bottom: 15px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.advantage-section, .industry-section, .why-choose-section {
    margin-bottom: 30px;
}

.advantage-item, .industry-item {
    margin-bottom: 20px;
}

.advantage-item h5, .industry-item h5 {
    font-size: 16px;
    font-weight: bold;
    color: #444;
    margin-bottom: 10px;
}

.advantage-item ul {
    padding-left: 20px;
}

.advantage-item li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.divider {
    height: 1px;
    background-color: #eee;
    margin: 30px 0;
}

.choose-list {
    padding-left: 20px;
}

.choose-list li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 公司文化页面样式 */
.culture-container {
    padding: 40px 0;
    max-width: 1000px;
}

.culture-gallery {
    margin-bottom: 40px;
}

.gallery-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-row-bottom {
    justify-content: center;
}

.gallery-row-bottom .gallery-item {
    width: calc(33.33% - 14px);
    margin: 0 10px;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(33.33% - 14px);
}

.gallery-image {
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

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

.gallery-desc {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 5px;
}

.culture-quote {
    font-style: italic;
    color: #777;
    text-align: center;
    margin: 30px 0;
    padding: 0 20px;
}

/* 响应式设置 - 公司文化页面 */
@media (max-width: 768px) {
    .gallery-row {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-item {
        width: 100%;
        max-width: 400px;
        margin-bottom: 20px;
    }
    
    .gallery-row-bottom .gallery-item {
        width: 100%;
        margin: 0 0 20px;
    }
}

/* 联系我们页面样式 */
.contact-container {
    padding: 40px 0;
    max-width: 1000px;
}

.contact-info-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: 45%;
}

.contact-icon {
    margin-right: 15px;
}

.contact-icon img {
    width: 40px;
    height: 40px;
}

.contact-content h3 {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-content p {
    font-size: 16px;
    color: #666;
}

.contact-content a {
    color: #1e50a2;
    text-decoration: none;
}

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

.contact-map {
    margin-bottom: 30px;
}

.map-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.map-item {
    width: 48%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* 响应式设置 - 联系我们页面 */
@media (max-width: 768px) {
    .contact-item {
        width: 100%;
    }
    
    .map-row {
        flex-direction: column;
    }
    
    .map-item {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .map-item:last-child {
        margin-bottom: 0;
    }
}

/* 通用页面标题样式 */
.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-title .title {
    font-size: 36px;
    color: #1e50a2;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-title .subtitle {
    font-size: 24px;
    color: #666;
}

/* 顶部图片样式 */
.top-image {
    width: 100%;
    text-align: center;
    overflow: hidden;
    margin-bottom: 20px;
}

.top-image img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
} 