/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 容器样式 */
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3498db;
    color: #fff;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-default {
    background-color: #fff;
    color: #3498db;
    border: 1px solid #3498db;
}

.btn-default:hover {
    background-color: #3498db;
    color: #fff;
}

/* 文本居中 */
.text-center {
    text-align: center;
}

/* 导航栏样式 */
.header {
    background-color: #000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #333;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 8px 12px;
    padding-right: 40px;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: #3498db;
    background-color: rgba(255, 255, 255, 0.15);
}

.search-box input::placeholder {
    color: #999;
}

.search-box button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 12px;
    border: none;
    background-color: transparent;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    color: #3498db;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.phone-number:hover {
    color: #3498db;
}

.lang-switch {
    position: relative;
    cursor: pointer;
}

.lang-icon {
    font-size: 20px;
    padding: 5px;
    border-radius: 4px;
    background-color: #000;
    transition: all 0.3s ease;
}

.lang-switch:hover .lang-icon {
    background-color: #111;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background-color: #000;
    border: 1px solid #333;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
    min-width: 120px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.lang-switch:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: block;
    padding: 8px 20px;
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-dropdown a:hover {
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.lang-dropdown a.active {
    background-color: rgba(52, 152, 219, 0.2);
    color: #3498db;
    font-weight: bold;
}

/* 前台导航菜单样式 */
#navbarNav {
    flex: 1;
    min-width: 900px;
}

.navbar-nav {
    min-width: 900px;
    display: flex;
    justify-content: space-around;
    width: 900px;
    flex: none;
    margin-right: 80px;
}

.navbar-nav .nav-item {
    flex: 1;
    text-align: center;
}

.navbar-nav .nav-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

.nav {
    flex: 1;
    margin: 0 20px;
}

.logo {
    width: 200px;
    height: 110px;
}

.logo img {
    width: 110px;
    height: 100%;
    object-fit: contain;
}

.nav ul {
    display: flex;
    list-style: none;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 5px;
}

.nav ul li a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav ul li a:hover {
    color: #3498db;
}

.nav ul li.dropdown > a::after {
    content: '▼';
    font-size: 10px;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.nav ul li.dropdown:hover > a::after {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .header-top {
        padding: 15px 0;
    }
    
    .nav ul li a {
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .header-right {
        width: 100%;
        align-items: flex-start;
    }
    
    .header-tools {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .search-box {
        flex: 1;
        min-width: 200px;
    }
    
    .nav ul {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .header-tools {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .search-box {
        width: 100%;
        min-width: unset;
    }
    
    .phone-number {
        order: 1;
    }
    
    .lang-switch {
        order: 2;
    }
}

/* 导航菜单 */
.nav {
    position: relative;
}

.nav ul {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.nav ul li {
    position: relative;
}

.nav ul li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.nav ul li a:hover {
    color: #3498db;
}

/* 汉堡菜单按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    min-width: 200px;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* 菜单悬停箭头效果 - 仅一级菜单 */
.nav > ul > li.dropdown > a {
    position: relative;
    padding-right: 30px;
}

.nav > ul > li.dropdown > a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #ccc;
    transition: all 0.3s ease;
}

.nav > ul > li.dropdown:hover > a::after {
    border-top: 4px solid #ff0000;
    transform: translateY(-50%) rotate(180deg);
}

/* 产品菜单特殊样式 */
.product-dropdown .dropdown-menu {
    min-width: 1400px;
    width: 1400px;
    padding: 30px;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: row;
    gap: 30px;
    background-color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
    border-top: 1px solid #333;
    flex-wrap: nowrap;
    align-items: flex-start;
    white-space: nowrap;
    list-style: none;
    margin: 0;
    z-index: 1000;
}

.product-dropdown:hover .dropdown-menu {
    display: flex;
}

.product-dropdown .dropdown-menu > div {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.product-dropdown .category-list {
    width: 150px;
    background-color: #000;
    padding: 0 10px;
    flex-shrink: 0;
}

.product-dropdown .category-list .category-list-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-dropdown .category-list .category-item {
    margin-bottom: 0;
    width: 100%;
    display: block;
}

.product-dropdown .category-list .category-item a {
    display: block;
    width: 100%;
    padding: 8px 0;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 14px;
}

.product-dropdown .category-list .category-item a:hover {
    color: #ff0000;
}

.product-dropdown .category-list .category-item a.active {
    color: #ff0000;
    font-weight: bold;
}

.product-dropdown .product-grid {
    width: 400px;
    flex-shrink: 0;
}

.product-dropdown .product-preview {
    width: 450px;
    flex-shrink: 0;
    background-color: #000;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}






.product-dropdown .product-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    background-color: #000;
    padding: 0;
}

.product-dropdown .product-grid .product-item {
    flex: 0 0 calc(50% - 20px);
    box-sizing: border-box;
    text-align: center;
}

.product-dropdown .product-item {
    cursor: pointer;
    border: none;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #000;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

.product-dropdown .product-item:hover {
    background-color: #111;
}

.product-dropdown .product-item:hover .product-name {
    color: #ff0000;
}

.product-dropdown .product-item img {
    width: 100%;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* 确保热门产品图片显示正常 */
.products .product-item .product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-dropdown .product-item .product-name {
    padding: 0;
    font-size: 16px;
    text-align: center;
    color: #fff;
    font-weight: bold;
}

.product-dropdown .product-preview {
    background-color: #000;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-dropdown .product-preview-image {
    flex-grow: 1;
}

.product-dropdown .product-preview-image img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.product-dropdown .product-preview-info h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ff0000;
    font-weight: bold;
}

.product-dropdown .product-preview-info p {
    font-size: 13px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-dropdown .view-products-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ff0000;
    color: #fff;
    border: none;
    border-radius: 0;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    align-self: flex-start;
}

.product-dropdown .view-products-btn:hover {
    background-color: #cc0000;
}





/* 英雄区样式 */
.hero {
    position: relative;
    overflow: hidden;
    padding-bottom: 200px;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 1s ease;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content .btn {
    font-size: 18px;
    padding: 12px 30px;
}

/* 关于我们 section */
.about {
    padding: 100px 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 产品展示 section */
.products {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.products h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.product-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.product-info p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

/* 新闻动态 section */
.news {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.news h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.news .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news .news-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
    width: 100%;
}

.news .news-item {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news .news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.news .news-image {
    height: 250px;
    overflow: hidden;
}

.news .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news .news-item:hover .news-image img {
    transform: scale(1.05);
}

.news .news-info {
    padding: 20px;
}

.news .news-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.news .news-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.news .news-info p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

/* 联系我们 section */
.contact {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.contact h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.contact-info p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-info ul {
    list-style: none;
}

.contact-info ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info ul li i {
    margin-right: 10px;
    color: #3498db;
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 页脚样式 */
.footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 40px;
}

.footer-social {
    display: flex;
    flex-direction: column;
}

.footer-social h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-link img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.social-link span {
    color: #fff;
    font-size: 12px;
    text-align: center;
}

.footer-info h3,
.footer-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-info p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
    
    .about-content,
    .contact-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image,
    .about-text {
        flex: none;
        width: 100%;
    }
    
    .products-grid,
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news .news-grid .news-item {
        flex: 0 0 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .hero {
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    /* 响应式导航 */
    .nav-toggle {
        display: flex;
    }
    
    .nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #000;
        flex-direction: column;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
    
    .nav ul.active {
        display: flex;
    }
    
    .nav ul li {
        border-bottom: 1px solid #333;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
    }
    
    .products-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .news .news-grid .news-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about,
    .products,
    .news,
    .contact {
        padding: 60px 0;
    }
}

/* 产品页布局 */
.product-page {
    display: flex;
    flex-direction: column;
    padding: 60px 0;
    gap: 30px;
}

/* 顶部分类按钮 */
.product-categories-top {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.category-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 12px 24px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #666;
}

.category-btn:hover {
    border-color: #3498db;
    color: #3498db;
}

.category-btn.active {
    background-color: #3498db;
    border-color: #3498db;
    color: #fff;
}

/* 产品列表 */
.product-list {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.product-thumb {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
}

.product-thumb:hover {
    border-color: #3498db;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-thumb-image {
    height: 200px;
    overflow: hidden;
}

.product-thumb-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-thumb:hover .product-thumb-image img {
    transform: scale(1.05);
}

.product-thumb-info {
    padding: 15px;
}

.product-thumb-info h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    text-align: left;
}

.product-thumb-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    text-align: left;
}

/* 加载状态 */
.loading-products {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    font-size: 16px;
    color: #666;
}

.no-products {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    font-size: 16px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .product-thumb {
        flex: 0 0 calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
    }
    
    .news-item {
        flex: 0 0 calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
    }
}

@media (max-width: 992px) {
    .product-thumb {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
    
    .news-item {
        flex: 0 0 calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .product-thumb {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .news-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .category-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 80%;
        text-align: center;
    }
}

/* 留言本样式 */
.message-form {
    background-color: #fff;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 60px auto;
}

.message-form h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* 延迟动画 */
.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}/* 通用页面标题样式 */
.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-header p {
    font-size: 18px;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 关于我们页面样式 */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-section h1 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.about-intro {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.about-intro .about-image {
    flex: 1;
    max-width: 500px;
}

.about-intro .about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.about-intro .about-content {
    flex: 1;
}

.about-intro .about-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.about-intro .about-content p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

.about-history {
    margin-bottom: 80px;
}

.about-history h2,
.about-culture h2,
.about-contact h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.history-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.history-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.history-year {
    font-size: 32px;
    font-weight: bold;
    color: #3498db;
    min-width: 100px;
}

.history-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.history-content p {
    color: #666;
    line-height: 1.6;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.culture-item {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.culture-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.culture-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.culture-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.about-contact {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #666;
}

.contact-item i {
    font-size: 24px;
    color: #3498db;
    width: 30px;
}

/* 新闻列表页面样式 */
.news-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.news-section h1 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.news-container {
    display: flex;
    gap: 40px;
}

.news-sidebar {
    width: 280px;
    flex-shrink: 0;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.news-sidebar h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
}

.news-sidebar .category-list {
    list-style: none;
}

.news-sidebar .category-list li {
    margin-bottom: 5px;
}

.news-sidebar .category-list li a {
    display: block;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.news-sidebar .category-list li a:hover,
.news-sidebar .category-list li.active a {
    background-color: #3498db;
    color: #fff;
}

.news-list {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.news-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.news-meta {
    margin-bottom: 15px;
}

.news-date {
    color: #999;
    font-size: 14px;
}

.news-item h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.news-item h2 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item h2 a:hover {
    color: #3498db;
}

.news-summary {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: #2980b9;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    background-color: #fff;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .active {
    background-color: #3498db;
    color: #fff;
}

/* 新闻详情页面样式 */
.news-detail {
    padding: 80px 0;
    background-color: #fff;
}

.news-detail .container {
    max-width: 900px;
}

.news-detail-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.news-detail-header h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-detail-meta {
    color: #999;
    font-size: 14px;
}

.news-detail-content {
    line-height: 1.8;
    color: #666;
    font-size: 16px;
}

.news-detail-content p {
    margin-bottom: 20px;
}

.news-detail-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

/* 通用详情页面样式 */
.detail-page {
    padding: 80px 0;
    background-color: #fff;
}

.detail-page .container {
    max-width: 900px;
}

.detail-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.detail-header h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.detail-meta {
    color: #999;
    font-size: 14px;
}

.detail-content {
    line-height: 1.8;
    color: #666;
    font-size: 16px;
}

.detail-content p {
    margin-bottom: 20px;
}

.detail-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

/* 应用领域页面样式 */
.application-section {
    padding: 80px 0;
    background-color: #fff;
}

.application-section h1 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.application-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.application-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.application-image {
    height: 200px;
    overflow: hidden;
}

.application-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.application-item:hover .application-image img {
    transform: scale(1.1);
}

.application-info {
    padding: 25px;
}

.application-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.application-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 服务支持页面样式 */
.service-section {
    padding: 80px 0;
    background-color: #fff;
}

.service-section h1 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

/* 展会banana样式 */
.event-hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
}

.event-hero-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.event-hero-item .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 20px;
}

.event-hero-item .hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.event-hero-item .hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.event-hero-item {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.event-hero-item .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* 展会浮动窗口样式 */
.event-float-container {
    position: relative;
    margin-top: -150px;
    margin-left: 100px;
    z-index: 20;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.event-float-window {
    position: absolute;
    bottom: -320px;
    right: 82%;
    transform: translateX(50%);
    z-index: 100;
    width: 500px;
    min-height: 280px;
    height: 350px;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    padding: 20px;
}

.event-float-window:hover {
    transform: translateX(50%) translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.event-float-info {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-float-info h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.event-float-info p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #666;
}

.event-float-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.event-float-btn:hover {
    background-color: #2980b9;
}

.event-float-arrows {
    position: absolute;
    bottom: -250px;
    left: 58%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
}

.event-float-arrow {
    background-color: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.event-float-arrow:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.event-float-count {
    color: white;
    font-size: 16px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
    min-width: 60px;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    background-color: #f9f9f9;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 60px;
    margin-bottom: 25px;
}

.service-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.service-item p {
    color: #666;
    line-height: 1.6;
}

/* 案例页面样式 */
.case-section {
    padding: 80px 0;
    background-color: #fff;
}

.case-section h1 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 220px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-item:hover .case-image img {
    transform: scale(1.1);
}

.case-info {
    padding: 25px;
}

.case-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.case-info p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* 下载页面样式 */
.download-section {
    padding: 80px 0;
    background-color: #fff;
}

.download-section h1 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.download-list {
    max-width: 900px;
    margin: 0 auto;
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.download-item:hover {
    background-color: #f0f0f0;
    transform: translateX(5px);
}

.download-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.download-info p {
    color: #999;
    font-size: 14px;
}

.download-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #2980b9;
}

/* 校园招聘页面样式 */
.recruitment-section {
    padding: 80px 0;
    background-color: #fff;
}

.recruitment-section h1 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.recruitment-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.recruitment-intro p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

.job-list {
    max-width: 900px;
    margin: 0 auto;
}

.job-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.job-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.job-header h3 {
    font-size: 22px;
    color: #333;
}

.job-location {
    color: #999;
    font-size: 14px;
}

.job-requirements {
    margin-bottom: 20px;
}

.job-requirements h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.job-requirements ul {
    list-style: disc;
    padding-left: 20px;
    color: #666;
    line-height: 1.8;
}

.apply-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background-color: #2980b9;
}

/* 响应式调�?*/
@media (max-width: 1200px) {
    .about-intro {
        flex-direction: column;
        gap: 40px;
    }
    
    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-container {
        flex-direction: column;
    }
    
    .news-sidebar {
        width: 100%;
    }
    
    .application-grid,
    .service-grid,
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .about-section h1,
    .news-section h1,
    .application-section h1,
    .service-section h1,
    .case-section h1,
    .download-section h1,
    .recruitment-section h1 {
        font-size: 28px;
    }
    
    .culture-grid,
    .application-grid,
    .service-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .history-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .history-year {
        font-size: 24px;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
