/*
Theme Name: Begin Child Brand
Template: begin
Description: 知更鸟主题子主题 - 品牌详情页面
Version: 1.0
*/

/* 导入父主题样式 */
@import url("../begin/style.css");

/* 品牌详情页面样式 */
.container {
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

/* 顶部基本信息表格 */
.basic-info-table {
    background: white;
    padding: 25px 30px;
    border-bottom: 1px solid #eaeaea;
}

.info-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.info-cell {
    flex: 1;
    min-width: 150px;
    padding: 10px 0;
}

.logo-cell {
    flex: 0 0 auto;
    width: 100px;
}

.brand-logo {
    width: 100px;
    height: 100px;
    background-color: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #8c8c8c;
    font-size: 14px;
    text-align: center;
    padding: 5px;
    border: 1px solid #eaeaea;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.info-label {
    font-size: 13px;
    color: #8c8c8c;
    margin-bottom: 5px;
    font-weight: 500;
}

.info-value {
    font-size: 15px;
    color: #1f2d3d;
    font-weight: 500;
}

.official-website {
    color: #1890ff;
    text-decoration: none;
    font-size: 15px;
}

.official-website:hover {
    color: #40a9ff;
    text-decoration: underline;
}

/* 交互式内容区域 */
.brand-interactive-content {
    padding: 0;
}

.brand-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
}

.brand-tab {
    padding: 15px 25px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    background: #fff;
    margin-right: 1px;
    border-top: 1px solid #eaeaea;
}

.brand-tab:hover {
    color: #1890ff;
    background: #f0f7ff;
}

.brand-tab.active {
    color: #1890ff;
    border-bottom-color: #1890ff;
    background: #fff;
}

.brand-tab-content {
    padding: 30px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.panel-content h3 {
    font-size: 20px;
    color: #1f2d3d;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f5;
    font-weight: 600;
}

.panel-content p {
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 15px;
}

/* 企业实力统计 */
.strength-stats {
    display: flex;
    gap: 20px;
    margin: 25px 0;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 20px 15px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f7ff 100%);
    border-radius: 8px;
    border: 1px solid #d6e4ff;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #1890ff;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: #8c8c8c;
    font-weight: 500;
}

/* 荣誉资质 */
.honors-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.honors-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f5;
    position: relative;
    padding-left: 25px;
    font-size: 15px;
    color: #4a5568;
}

.honors-list li:before {
    content: "•";
    color: #1890ff;
    font-weight: bold;
    position: absolute;
    left: 10px;
    font-size: 18px;
}

.honors-list li:last-child {
    border-bottom: none;
}

/* 客户案例 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.case-item {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #1890ff;
}

.case-logo {
    width: 60px;
    height: 60px;
    background: #1890ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.case-name {
    font-size: 16px;
    font-weight: 500;
    color: #1f2d3d;
}

/* 工厂环境 */
.factory-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c8c8c;
    font-size: 14px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .info-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-cell {
        width: 100%;
    }
    
    .logo-cell {
        width: 100%;
        text-align: center;
    }
    
    .brand-tabs {
        flex-wrap: wrap;
    }
    
    .brand-tab {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
    
    .strength-stats {
        flex-direction: column;
    }
}