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

body {
    font-family: 'Poppins', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}

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

/* ========== 1. Hero Section ========== */
/* 白色背景，左文字右图 */
.hero {
    display: flex;
    background: #FFFFFF;
    min-height: 220px;
}

.hero-left {
    width: 55%;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-right {
    width: 45%;
    overflow: hidden;
    position: relative;
    height: 600px;
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* 渐变遮罩 */
.hero-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
    z-index: 1;
    pointer-events: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.logo-icon {
    width: 200px;
    height: auto;
}

.logo-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: #e5b560;
    letter-spacing: 2px;
}

.welcome-text {
    font-size: 55px;
    font-weight: 700;
    color: #e5b560;
    line-height: 1.2;
}

.company-name {
    font-size: 55px;
    font-weight: 600;
    color: #e5b560;
    line-height: 1.2;
    margin-top: 8px;
}

/* ========== 2. About Section ========== */
/* 浅金棕黄背景，左图右文 */
.about {
    background: #e5b560;
}

.about-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.about-left {
    width: 50%;
    padding: 40px 30px;
}

.about-left img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
}

.about-right {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-title {
    font-size: 26px;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 25px;
}

/* 数据块 - 黄色背景，黑色数字和文字 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat-item {
    background: #fed56b;
    padding: 15px 10px;
    border-radius: 30px;
    text-align: center;
}

.stat-number {
    font-size: 40px;
    font-weight: 700;
    color: #333;
}

.stat-label {
    font-size: 14px;
    color: #333;
    margin-top: 5px;
    line-height: 1.3;
}

/* 描述文字 - 白色 */
.about-text {
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.7;
}

/* ========== 3. Features Section ========== */
/* 灰色背景，左图标右文字 */
.features {
    background: #F0F0F0;
    padding: 50px 0;
}

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

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: transparent;
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow: hidden;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-icon i {
    font-size: 40px;
    color: #333;
}

.feature-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #e5b560;
    margin-bottom: 8px;
}

.feature-content p {
    color: #333;
    font-size: 13px;
    line-height: 1.5;
}

/* ========== 4. Products Section ========== */
/* 白色背景，一排展示，强调大图与高级感 */
.products {
    background: #FFFFFF;
    padding: 50px 0 64px;
}

.products-wrapper {
    position: relative;
    padding: 0 72px;
}

.products-container {
    overflow: hidden;
}

.products-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.products-page {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 26px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 24px;
    z-index: 10;
    transition: color 0.3s ease;
}

.slider-btn:hover {
    color: #666;
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

.product-card {
    background: #FFFFFF;
    border: 1px solid #f1f1f1;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    padding: 18px 14px 14px;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: #e7d7b3;
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.product-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 190px;
    object-fit: contain;
}

.product-name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #1f2937;
    padding: 12px 8px 6px;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== 5. Contact Section ========== */
/* 灰色背景，左图标右文字 */
.contact-section {
    background: #F0F0F0;
    padding: 40px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #FFFFFF;
    border-radius: 50%;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-icon i {
    font-size: 24px;
    color: #333;
}

.contact-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #e5b560;
    margin-bottom: 6px;
}

.contact-content p {
    font-size: 12px;
    color: #333;
    line-height: 1.5;
}

/* ========== 6. Documents Section ========== */
/* 浅金棕黄背景 */
.documents-section {
    background: #e5b560;
    padding: 40px 0;
}

.documents-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
    display: inline-block;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.doc-category {
    background: transparent;
}

.doc-header {
    color: #333;
    padding: 8px 0;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.doc-header i {
    font-size: 11px;
    margin-top: 4px;
}

.doc-list {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.doc-list.show {
    max-height: 1000px;
}

.doc-list li {
    padding: 4px 0 4px 20px;
}

.doc-list a {
    color: #333;
    text-decoration: none;
    font-size: 11px;
    transition: opacity 0.3s ease;
}

.doc-list a:hover {
    opacity: 0.7;
}

/* ========== Footer ========== */
.footer {
    background: #1a1a1a;
    padding: 20px 0;
    text-align: center;
}

.footer p {
    font-size: 12px;
    color: #666;
}

/* ========== Modal Styles ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

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

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 5px;
}

.close-modal {
    position: absolute;
    top: -35px;
    right: 0;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.close-modal:hover {
    color: #D4AF37;
}

/* ========== Responsive ========== */
@media (max-width: 1200px) {
    .documents-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
    }
    
    .hero-left, .hero-right {
        width: 100%;
    }
    
    .hero-left {
        padding: 25px;
    }
    
    .hero-right {
        height: 200px;
    }
    
    .about {
        flex-direction: column;
    }
    
    .about-link {
        flex-direction: column;
    }
    
    .about-left, .about-right {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .products-page {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .welcome-text {
        font-size: 32px;
    }
    
    .company-name {
        font-size: 22px;
    }
    
    .products-page {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
    }
}
