/* 关于我们页面样式 */

/* 分类标签 */
.category-tabs {
    background-color: #000;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.tab-item {
    font-size: 14px;
    cursor: pointer;
    padding: 5px 0;
    transition: color 0.3s;
}

.tab-item:hover {
    color: gold;
}

/* 内容区域 */
.content-section {
    display: flex;
    align-items: center;
    background-color: #000;
    color: #fff;
    height: 500px;
}

.content-image {
    flex: 1;
    height: 100%;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-text {
    flex: 1;
    padding: 60px;
}

.content-text h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.content-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #ccc;
}

.more-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: gold;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.more-btn:hover {
    background-color: #ffd700;
}

/* 产品展示 */
.products-section {
    padding: 80px 0;
    background-color: #000;
    color: #fff;
}

.products-header {
    text-align: center;
    margin-bottom: 60px;
}

.products-header h2 {
    font-size: 32px;
    text-transform: uppercase;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.product-item {
    text-align: center;
}

.product-image {
    margin-bottom: 30px;
}

.product-image img {
    width: 100%;
    height: auto;
}

.product-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* 联系我们 */
.contact-section {
    background-color: #000;
    color: #fff;
    padding: 80px 0;
    border-top: 1px solid #333;
}

.contact-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.contact-image {
    flex: 1;
}

.contact-image img {
    width: 100%;
    height: auto;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #ccc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tabs-container {
        gap: 20px;
    }

    .content-section {
        flex-direction: column;
        height: auto;
    }

    .content-image {
        width: 100%;
        height: 400px;
    }

    .content-text {
        padding: 40px 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .content-text h2,
    .products-header h2,
    .contact-info h2 {
        font-size: 24px;
    }
}

/* 品牌介绍响应式设计 */
@media (max-width: 1200px) {
    .brand-content {
        gap: 40px;
    }

    .brand-logo img {
        width: 120px;
        height: 120px;
    }

    .brand-name {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .brand-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding-bottom: 40px;
        margin-bottom: 40px;
    }

    .brand-left {
        text-align: center;
    }

    .brand-logo img {
        width: 120px;
        height: 120px;
    }

    .brand-right {
        max-width: 100%;
        text-align: center;
    }

    .brand-name {
        font-size: 28px;
        text-align: center;
    }

    .brand-description {
        text-align: center;
    }

    /* 移动端产品分类垂直排列 */
    .product-categories {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .category {
        min-width: 280px;
        max-width: 100%;
        width: 100%;
    }

    .category img {
        height: 300px;
    }
}

/* 中型手机屏幕优化（480px-768px） */
@media (max-width: 576px) {
    .brand-intro {
        padding: 40px 0;
    }

    .product-categories {
        gap: 22px;
    }

    .category {
        min-width: 260px;
    }

    .category img {
        height: 280px;
    }

    .brand-content {
        gap: 22px;
        padding-bottom: 28px;
        margin-bottom: 40px;
    }

    .brand-image {
        width: 180px;
    }

    .brand-image img {
        max-width: 180px;
        max-height: 180px;
        padding: 15px;
    }

    .factory-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 品牌目的区域移动端响应式 */
    .brand-purpose {
        padding: 60px 0;
        background-attachment: scroll;
    }

    .purpose-content {
        margin: 0 auto;
        width: 90%;
        max-width: 500px;
        background-color: rgba(0, 0, 0, 0.85);
        padding: 35px 25px;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .purpose-text h2 {
        text-align: left;
        font-size: 26px;
        letter-spacing: 1px;
    }

    .purpose-text p {
        text-align: left;
        font-size: 15px;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .brand-intro {
        padding: 30px 0;
    }

    .product-categories {
        gap: 20px;
    }

    .category {
        min-width: 240px;
    }

    .category img {
        height: 250px;
    }

    .category h3 {
        font-size: 14px;
    }

    .brand-intro p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* 品牌目的区域小屏幕响应式 */
    .brand-purpose {
        padding: 50px 0;
    }

    .purpose-content {
        width: 95%;
        max-width: 400px;
        padding: 30px 20px;
        background-color: rgba(0, 0, 0, 0.9);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
        border-radius: 8px;
    }

    .purpose-text h2 {
        font-size: 22px;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }

    .purpose-text p {
        font-size: 14px;
        line-height: 1.7;
        color: #f0f0f0;
    }
}

.brand-intro {
    background-color: #fff;
    padding: 80px 0;
}

.brand-intro .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 品牌内容居中布局 */
.brand-content {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: center;
    padding-bottom: 60px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 60px;
    text-align: left;
}

/* 上部分左边：logo */
.brand-left {
    flex: 0 0 auto;
}

.brand-logo {
    margin-bottom: 0;
}

.brand-logo img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

/* 上部分右边：文字内容 */
.brand-right {
    flex: 1;
    max-width: 600px;
}

.brand-name {
    font-size: 36px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.brand-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    text-align: left;
    margin: 0;
}

/* 移除旧的品牌信息样式 */
.brand-info {
    display: none;
}

/* 移除旧的品牌图片样式 */
.brand-image {
    display: none;
}

.brand-text {
    display: none;
}

.brand-intro .logo {
    display: none;
}

.product-categories {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 60px;
    /* 确保在所有设备上都显示 */
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.category {
    text-align: center;
    flex: 0 0 auto;
    min-width: 280px;
    max-width: 320px;
    /* 确保在所有设备上都显示 */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.category h3 {
    font-size: 18px;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 品牌目的 */
.brand-purpose {
    position: relative;
    background-image: url('../images/about01_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    overflow: hidden;
}

.brand-purpose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.purpose-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 50px 60px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.purpose-image {
    display: none;
}

.purpose-text {
    max-width: 100%;
    width: 100%;
    color: #fff;
}

.purpose-text h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: left;
}

.purpose-text p {
    font-size: 16px;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 0;
    text-align: left;
}

/* 设计理念 */
.design-philosophy {
    background-color: #fff;
    padding: 80px 0;
}

.philosophy-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.philosophy-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.philosophy-text {
    flex: 1;
    max-width: 500px;
}

.philosophy-text h2 {
    font-size: 32px;
    color: #000;
    margin-bottom: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.philosophy-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.watch-showcase {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.watch-item img {
    width: 183px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 设计理念响应式设计 */
@media (max-width: 768px) {
    .philosophy-content {
        flex-direction: column;
        gap: 40px;
    }

    .philosophy-image img {
        max-width: 100%;
        height: auto;
    }

    .philosophy-text {
        max-width: 100%;
        text-align: center;
    }

    .watch-showcase {
        gap: 15px;
        flex-wrap: wrap;
    }

    .watch-item img {
        width: 150px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .watch-showcase {
        gap: 10px;
    }

    .watch-item img {
        width: 120px;
        height: 160px;
    }
}

/* 工厂实力 */
.factory-strength {
    position: relative;
    background-image: url('../images/about03_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 80px 0;
    overflow: hidden;
}

.factory-strength::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

/* 上部分：左右布局 */
.factory-top {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

/* 左边：视频 */
.factory-video {
    position: relative;
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.factory-video video {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 500px;
}

.factory-video img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 500px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.play-button:hover {
    background-color: rgba(255, 255, 255, 0.95);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 25px 0 25px 45px;
    border-color: transparent transparent transparent #000;
    margin-left: 8px;
}

/* 右边：工厂内容 */
.factory-content {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 500px;
}

.factory-content h2 {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.factory-stats {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 0;
}

/* 统计模块 */
.stat-module {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 统计标题 */
.stat-title {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 统计数值 */
.stat-value {
    font-size: 64px;
    font-weight: bold;
    color: #fff;
    line-height: 1;
    position: relative;
    display: inline-block;
    white-space: nowrap;
    /* 移除右侧内边距，让数值和单位紧贴 */
    padding-right: 0;
}

/* 亩字样式 - 作为内联元素紧跟在数值后面，紧贴显示 */
.stat-unit {
    font-size: 24px;
    font-weight: normal;
    color: #fff;
    /* 移除绝对定位，作为内联元素自然显示 */
    position: static;
    /* 垂直对齐到数值的底部 */
    vertical-align: bottom;
    /* 调整位置，使其看起来更美观 */
    margin-left: 5px;
    /* 确保亩字与数值紧贴 */
    letter-spacing: 0;
    line-height: 1;
}

/* +号样式 - 作为内联元素紧跟在数值后面，紧贴显示 */
.stat-plus {
    font-size: 32px;
    font-weight: bold;
    color: gold;
    /* 移除绝对定位，作为内联元素自然显示 */
    position: static;
    /* 垂直对齐到数值的顶部 */
    vertical-align: top;
    /* 调整位置，使其看起来更美观 */
    margin-left: 2px;
    /* 确保+号与数值紧贴 */
    letter-spacing: 0;
    line-height: 1;
}

/* 统计描述 */
.stat-desc {
    font-size: 18px;
    color: #fff;
    line-height: 1.6;
    margin-left: 10px;
}

/* 移除旧的统计项样式 */
.stat-item {
    display: none;
}

.stat-number {
    display: none;
}

.stat-label {
    display: none;
}

/* 下部分：两行图片，每行4张 */
.factory-bottom {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.factory-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
}

.factory-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.factory-gallery img:hover {
    transform: scale(1.05);
}

/* 工厂实力响应式设计 */
@media (max-width: 1200px) {
    .factory-top {
        gap: 40px;
    }

    .factory-stats {
        gap: 40px;
    }

    .stat-number {
        font-size: 48px;
    }

    .stat-label {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    /* 上部分：左右布局改为上下布局 */
    .factory-top {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 40px;
    }

    .factory-content {
        max-width: 100%;
        text-align: center;
    }

    .factory-stats {
        justify-content: center;
    }

    /* 下部分：图片网格调整为两行两列 */
    .factory-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        gap: 10px;
    }

    .factory-gallery img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    /* 下部分：图片网格调整为一列 */
    .factory-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 1fr);
    }

    .factory-gallery img {
        height: 120px;
    }

    .factory-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-label {
        font-size: 14px;
    }
}