/* 全局样式 */
:root {
    --primary-color: #8B4513;
    --secondary-color: #D2B48C;
    --accent-color: #A0522D;
    --text-color: #333;
    --light-color: #f4f4f4;
    --dark-color: #333;
    --border-color: #ddd;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-align: center;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.underline {
    height: 4px;
    width: 70px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

/* 导航栏 */
header {
    background-color: #fff;
    box-shadow: var(--box-shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.logo .sub-title {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-top: 0;
}

/* 语言选择器 */
.language-selector {
    margin-left: 20px;
    position: relative;
}

.language-selector select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B4513' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 30px;
}

.language-selector select:hover {
    border-color: var(--primary-color);
}

.language-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(139, 69, 19, 0.2);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 首页横幅 */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.hero-content .btn {
    animation: fadeIn 1.5s ease;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 40px;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    width: 100%;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    font-size: 16px;
}

.about-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    z-index: 1;
}

/* 公司架构部分 */
.company-structure {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.company-structure h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.company-structure h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #4CAF50;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.company-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.company-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.company-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f0f0f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.company-item h4 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #333;
    font-weight: 600;
}

.company-item p {
    margin-bottom: 15px;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.company-item p[data-i18n^="about.company"] {
    font-weight: 500;
    color: #444;
    margin-bottom: 20px;
}

.company-item p[data-i18n$="Detail"] {
    text-align: justify;
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

/* 公司价值观部分 */
.company-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.value-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    z-index: -1;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-item i {
    font-size: 40px;
    color: #4CAF50;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.value-item:hover i {
    transform: scale(1.2);
}

.value-item h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.value-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 350px;
        order: -1;
    }
    
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .company-values {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
    }
    
    .company-values {
        grid-template-columns: 1fr;
    }
    
    .company-item {
        padding: 20px;
    }
    
    .company-logo {
        width: 100px;
        height: 100px;
    }
    
    .value-item {
        padding: 20px;
    }
}

/* 新品展示 */
.new-products {
    background-color: #f9f5f0;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.new-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    opacity: 0.05;
    z-index: 0;
}

.new-products .container {
    position: relative;
    z-index: 1;
}

.new-products-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.new-products-intro p {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.new-products-slider {
    display: flex;
    overflow: hidden;
    margin: 0 -15px;
    position: relative;
}

.new-product-slide {
    flex: 0 0 calc(33.333% - 30px);
    margin: 0 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.new-product-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.new-product-slide:after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background-color: var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.new-product-slide:hover:after {
    opacity: 1;
    transform: scale(1);
}

.new-product-slide:hover .view-details {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.new-product-image {
    position: relative;
    width: 100%;
    height: 350px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.new-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.new-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}

.new-product-info {
    padding: 20px;
    background: #fff;
    flex-grow: 1;
}

.new-product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.new-product-info p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.6;
}

.view-details {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    pointer-events: none;
}

.view-details:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.prev-slide, .next-slide {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    cursor: pointer;
    transition: var(--transition);
}

.prev-slide:hover, .next-slide:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .new-product-slide {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .new-product-slide {
        flex: 0 0 calc(100% - 30px);
    }
    
    .new-products-slider {
        flex-wrap: wrap;
    }

    .new-product-slide {
        margin-bottom: 30px;
    }
    
    .new-product-slide:last-child {
        margin-bottom: 0;
    }
}

/* 产品展示区域 */
.products {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.category-type-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.type-btn {
    background-color: #f0f0f0;
    border: none;
    color: #333;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.type-btn.active {
    background-color: #2c3e50;
    color: white;
}

.product-categories {
    display: none;
}

.product-categories.active {
    display: block;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tab-btn {
    background-color: transparent;
    border: 1px solid #ddd;
    color: #333;
    padding: 8px 15px;
    margin: 5px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background-color: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-item {
    background-color: white;
    border-radius: 8px;
    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 {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #2c3e50;
}

.product-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .category-tabs {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
    
    .tab-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    
    .type-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* 企业优势 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.advantage-item:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.advantage-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 联系我们 */
.contact {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.contact-info {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
    position: relative;
    padding-left: 15px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
}

.info-item i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-item:hover i {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.info-item div {
    padding-left: 60px;
}

.info-item h3 {
    margin-bottom: 8px;
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.map-container {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.map-container h3 {
    background: #fff;
    color: var(--primary-color);
    padding: 15px 20px;
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.map-container h3::before {
    content: '\f3c5';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary-color);
}

#baidu-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#beijing-time {
    font-weight: 500;
    color: var(--primary-color);
}

/* 地图信息窗口样式 */
.BMap_bubble_title {
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.BMap_bubble_content {
    color: #666;
    line-height: 1.5;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-info {
        padding: 30px;
    }
    
    .info-item {
        margin-bottom: 25px;
    }
    
    .info-item i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .info-item div {
        padding-left: 55px;
    }
    
    #baidu-map {
        height: 250px;
    }
}

/* 页脚 */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    justify-content: space-around;
}

.footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
}

.footer-links ul li a {
    color: #ccc;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-links ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.footer-contact p i {
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .footer-links h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links ul {
        grid-template-columns: 1fr;
    }
    
    .footer-links ul li a {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .companies-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .language-selector {
        order: 2;
        margin-left: auto;
        margin-right: 15px;
    }
    
    .language-selector select {
        font-size: 0.85rem;
        padding: 6px 28px 6px 10px;
        background-size: 14px;
    }
    
    .mobile-menu-btn {
        order: 3;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        transition: var(--transition);
        box-shadow: var(--box-shadow);
        order: 4;
        width: 100%;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 30px;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .about-content, .contact-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .gallery-item {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .logo-container {
        gap: 10px;
    }
    
    .header-logo {
        width: 40px;
        height: 40px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo .sub-title {
        font-size: 0.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .company-values, .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-tabs {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .gallery-tab {
        width: 80%;
    }
}

/* 企业风采 */
.gallery {
    background-color: #f9f9f9;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-tab {
    padding: 10px 25px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1.1rem;
}

.gallery-tab:hover, .gallery-tab.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.gallery-container {
    display: none;
}

.gallery-container.active {
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 250px;
    transition: var(--transition);
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-item img[src="images/5555.jpg"] {
    object-position: center 70%; /* 调整图片显示位置，使顶棚更加明显 */
}

/* 图片模态框 */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    margin: 0 auto;
    border: 2px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--secondary-color);
}

.modal-navigation {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.prev-btn, .next-btn {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.prev-btn:hover, .next-btn:hover {
    background-color: #fff;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .modal-image {
        max-height: 80vh;
    }
    
    .modal-navigation {
        bottom: -40px;
    }
    
    .prev-btn, .next-btn {
        width: 35px;
        height: 35px;
    }
}

/* 环保认证部分 */
.certification {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.certification-content {
    margin-bottom: 40px;
}

.certification-text p {
    margin-bottom: 30px;
    line-height: 1.8;
    text-align: justify;
}

.certification-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.certification-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-5px);
}

.certification-item i {
    color: #4CAF50;
    font-size: 24px;
    margin-right: 15px;
}

.certification-reports h3 {
    margin-bottom: 30px;
    text-align: center;
    font-size: 24px;
}

.reports-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.report-category h4 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 20px;
    color: #333;
}

.report-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dmf-reports {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
}

.report-image {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.report-image:hover {
    transform: scale(1.03);
}

.report-image::after {
    content: '\1F50D';
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.report-image:hover::after {
    opacity: 1;
}

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

.report-image p {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    background-color: #f5f5f5;
    margin: 0;
}

/* 报告查看器模态框 */
.report-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.report-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.report-modal-content {
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.report-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #333;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s ease;
}

.report-modal-close:hover {
    color: #e74c3c;
}

.report-modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    transition: transform 0.3s ease;
    transform-origin: center;
}

.report-modal-title {
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.zoom-controls {
    display: flex;
    margin-top: 15px;
    gap: 10px;
}

.zoom-in-btn,
.zoom-out-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.zoom-in-btn:hover,
.zoom-out-btn:hover {
    background-color: #e9ecef;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .report-modal-content {
        width: 95%;
        padding: 15px;
    }
    
    .report-modal-image {
        max-height: 60vh;
    }
    
    .zoom-in-btn,
    .zoom-out-btn {
        width: 35px;
        height: 35px;
    }
}

/* 优化公司架构部分 */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.company-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.company-item:hover {
    transform: translateY(-5px);
}

.company-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f0f0f0;
}

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

.company-item h4 {
    margin-bottom: 10px;
    text-align: center;
    font-size: 18px;
    color: #333;
}

.company-item p {
    margin-bottom: 10px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.company-item p[data-i18n^="about.company"] {
    text-align: center;
    font-weight: bold;
    color: #444;
}

.company-item p[data-i18n^="about.company"][data-i18n$="Detail"] {
    text-align: justify;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
    color: #666;
}

/* 优化图片布局 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 响应式调整 */
@media (max-width: 992px) {
    .certification-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reports-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .certification-items {
        grid-template-columns: 1fr;
    }
    
    .report-images {
        grid-template-columns: 1fr;
    }
    
    .dmf-reports {
        grid-template-columns: 1fr;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* 百度地图样式 */
.map-container {
    margin-top: 30px;
    width: 100%;
}

.map-container h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

#baidu-map {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

#beijing-time {
    font-weight: bold;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    #baidu-map {
        height: 250px;
    }
}

.contact-form {
    justify-content: space-between;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
    border-radius: 3px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group:last-of-type {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
    background-color: #fff;
}

.form-group textarea {
    height: 100%;
    min-height: 150px;
    resize: vertical;
    flex-grow: 1;
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: 10px;
    padding: 12px 30px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 30px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2);
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-form {
        padding: 30px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input, .form-group textarea {
        padding: 12px 15px;
    }
    
    .contact-form .btn {
        width: 100%;
        padding: 12px 20px;
    }
}

/* 热销商品部分 */
.hot-products {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.hot-products::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(139, 69, 19, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.hot-products .container {
    position: relative;
    z-index: 1;
}

.hot-products-intro {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
    font-size: 1.1rem;
}

.hot-products-intro p {
    max-width: 700px;
    margin: 0 auto;
}

/* 分类筛选按钮 */
.product-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.category-btn {
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #555;
    font-weight: 500;
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-btn.active {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2);
}

/* 产品卡片网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

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

.product-card:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #daa520 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover:after {
    opacity: 1;
}

.product-card:hover .view-details {
    opacity: 1;
    transform: translateY(0);
}

.product-card .view-details {
    opacity: 0.8;
    transform: translateY(5px);
    transition: all 0.3s ease;
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
    margin-top: 10px;
    text-decoration: underline;
    padding-bottom: 2px;
    cursor: pointer;
}

/* 产品标签 */
.product-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    z-index: 2;
}

.tag {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 15px;
    font-weight: 500;
    color: #fff;
}

.tag-animal {
    background-color: #e67e22;
}

.tag-metallic {
    background-color: #3498db;
}

.tag-fabric {
    background-color: #9b59b6;
}

.tag-glitter {
    background-color: #f1c40f;
    color: #333;
}

.tag-others {
    background-color: #7f8c8d;
}

/* 加载更多按钮 */
.load-more {
    text-align: center;
    margin-top: 30px;
}

.load-more-btn {
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.load-more-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(139, 69, 19, 0.15);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .category-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
} 