/* Page banner styles */
.page-banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/about-banner.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    margin-top: 80px;
    color: #fff;
}

.page-banner h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 14px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Sub navigation styles */
.sub-nav {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 80px;
    z-index: 100;
    border-bottom: 1px solid #eee;
}

.sub-nav .container {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
}

.sub-nav a {
    padding: 20px 30px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    position: relative;
    white-space: nowrap;
    transition: all 0.3s;
}

.sub-nav a:hover {
    color: var(--primary-color);
}

.sub-nav a.active {
    color: var(--primary-color);
}

.sub-nav a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

/* Main content styles */
.main-content {
    padding: 80px 0px 60px 0;
}

.about-content h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-color);
}

.company-info {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.company-image {
    flex: 0 0 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.text-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

/* Company data styles */
.company-data {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    text-align: center;
}

.data-item {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}

.data-item .number {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.data-item .label {
    color: #666;
}

/* Development history styles */
.development-history h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -54px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid #fff;
}

.timeline-item .year {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.timeline-item p {
    color: #666;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .company-info {
        flex-direction: column;
    }

    .company-image {
        flex: none;
        width: 100%;
    }

    .company-data {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 200px;
    }

    .sub-nav .container {
        height: 40px;
        overflow-x: auto;
        padding: 0 15px;
    }

    .company-data {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-item:before {
        left: -34px;
    }
}

/* 使用统一的banner样式 */
.business-banner {
    height: 240px;
    background: linear-gradient(135deg, var(--primary-color), #2980b9);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    margin-top: 64px;
}

.business-banner h1 {
    font-size: 48px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 下属单位页面样式 */
.subsidiaries {
    padding: 40px 0;
}

.subsidiary-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.subsidiary-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.subsidiary-item:hover {
    transform: translateY(-10px);
}

.subsidiary-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.subsidiary-item:hover img {
    transform: scale(1.05);
}

.subsidiary-content {
    padding: 30px;
}

.subsidiary-content h3 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.subsidiary-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.subsidiary-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 14px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* 组织架构页面样式 */
.organization {
    padding: 40px 0;
}

.org-chart {
    margin: 50px 0;
    text-align: center;
}

.org-chart img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

.org-description {
    margin-top: 60px;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

.org-description h2 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

.org-description > p {
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.8;
    color: #666;
    font-size: 16px;
}

/* .org-description ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
} */
.org-description ul {
    /* display: grid; */
    grid-template-columns: repeat(2, 1fr);
    /* gap: 30px; */
}

.org-description li {
    padding: 30px;
    background: var(--light-gray);
    border-radius: 16px;
    transition: var(--transition);
}

.org-description li:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.org-description h3 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.org-description li p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

/* 社会责任页面样式 */
.responsibility {
    padding: 40px 0;
}

.responsibility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.responsibility-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.responsibility-item:hover {
    transform: translateY(-10px);
}

.responsibility-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.responsibility-item:hover img {
    transform: scale(1.05);
}

.responsibility-content {
    padding: 30px;
}

.responsibility-content h3 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.responsibility-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .subsidiary-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .responsibility-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        width: 100%;
        padding-left: 100px;
        text-align: left;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline:before {
        left: 40px;
    }

    .timeline-item:before {
        left: 32px !important;
    }
}

@media (max-width: 768px) {
    .business-banner {
        height: 200px;
        margin-top: 80px;
    }
    
    .business-banner h1 {
        font-size: 32px;
    }
    
    .subsidiary-list {
        grid-template-columns: 1fr;
    }
    
    .company-data,
    .subsidiary-list,
    .responsibility-grid,
    .org-description ul {
        grid-template-columns: 1fr;
    }

    .text-content h2 {
        font-size: 28px;
    }

    .development-history h3 {
        font-size: 28px;
    }

    .sub-nav .container {
        height: 40px;
        overflow-x: auto;
        padding: 0 15px;
    }
    
    .sub-nav a {
        padding: 15px 20px;
    }
} 