/* 关于我们页面样式 */

/* 白色导航栏 - 缩小版，保持美观 */
.white-header {
    background: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* 滚动后导航栏变为淡淡浅蓝色 */
.white-header.scrolled {
    background: linear-gradient(135deg, #b9dcf5 0%, #cce4f8 50%, #dcecfb 100%) !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08) !important;
}

.white-header.scrolled .logo-text-cn,
.white-header.scrolled .logo-text-en1,
.white-header.scrolled .logo-text-en2 {
    color: var(--text) !important;
}

.white-header.scrolled .main-nav a {
    color: var(--text) !important;
}

.white-header.scrolled .main-nav li.active a,
.white-header.scrolled .main-nav a:hover {
    color: var(--primary) !important;
    background: rgba(0,91,172,0.08) !important;
}

.white-header.scrolled .lang-switch {
    color: var(--text) !important;
}

.white-header.scrolled .lang-switch a {
    color: var(--text) !important;
}

.white-header.scrolled .lang-switch .divider {
    color: rgba(0,0,0,0.3) !important;
}

.white-header.scrolled .mobile-menu-btn span {
    background: var(--text) !important;
}

.white-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px !important;
    gap: 40px !important;
    padding: 0 40px !important;
}

.white-header .logo {
    display: flex;
    align-items: center;
    gap: 12px !important;
    flex-shrink: 0;
    margin-left: 20px !important;
}

.white-header .logo img {
    height: 45px !important;
    width: auto;
    display: block;
}

.white-header .logo-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px !important;
}

.white-header .logo-text-cn {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    text-shadow: none !important;
    line-height: 1.2 !important;
}

.white-header .logo-text-en1 {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: var(--text) !important;
    text-shadow: none !important;
    line-height: 1.2 !important;
}

.white-header .logo-text-en2 {
    font-size: 9px !important;
    font-weight: 400 !important;
    color: var(--text) !important;
    text-shadow: none !important;
    line-height: 1.2 !important;
}

.white-header .main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.white-header .main-nav ul {
    display: flex;
    list-style: none;
    gap: 15px !important;
}

.white-header .main-nav a {
    display: block;
    padding: 10px 25px !important;
    color: var(--text) !important;
    text-decoration: none;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 4px;
    transition: all 0.3s;
    white-space: nowrap;
    text-shadow: none !important;
}

.white-header .main-nav li.active a,
.white-header .main-nav a:hover {
    color: var(--white) !important;
    background: var(--primary) !important;
}

.white-header .lang-switch {
    display: flex;
    align-items: center;
    gap: 10px !important;
    font-size: 14px !important;
    color: var(--text) !important;
    white-space: nowrap;
    margin-right: 20px !important;
}

.white-header .lang-switch a {
    color: var(--text) !important;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600 !important;
    text-shadow: none !important;
}

.white-header .lang-switch .divider {
    color: var(--text-light) !important;
}

.white-header .mobile-menu-btn span {
    background: var(--text) !important;
}

/* 页面横幅 - 高度缩小50%，宽度自适应铺满 */
.page-banner {
    position: relative;
    width: 100vw;
    height: 200px;
    overflow: hidden;
    margin-top: 70px;
    margin-left: calc(-50vw + 50%);
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.breadcrumb {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    padding: 20px 0;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.breadcrumb-icon {
    font-size: 16px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 16px;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb-separator {
    color: rgba(255,255,255,0.6);
}

.breadcrumb .current {
    color: var(--white);
    font-size: 16px;
}

/* 公司概况 */
.company-overview {
    padding: 60px 0;
    background: var(--white);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* 左侧：公司图片 */
.overview-left {
    position: relative;
}

.company-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.company-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

.company-stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,102,179,0.85) 0%, rgba(0,102,179,0.5) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 40px;
}

.overlay-stat {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.overlay-num {
    font-size: 64px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.overlay-text {
    font-size: 24px;
    color: var(--white);
    font-weight: 500;
}

/* 右侧：公司简介 */
.overview-right {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 40px;
}

.company-intro-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
}

.company-intro-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.company-intro-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    text-align: justify;
}

/* 企业文化和组织机构 */
.culture-org {
    padding: 60px 0;
    background: #f0f2f5;
}

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

.culture-card,
.org-card {
    background: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
}

/* 企业文化内容 */
.culture-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.culture-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
}

.culture-item:hover {
    background: var(--primary);
}

.culture-item:hover .culture-icon,
.culture-item:hover .culture-name,
.culture-item:hover .culture-desc {
    color: var(--white);
}

.culture-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.culture-icon {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.culture-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.culture-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    padding-left: 32px;
}

.culture-slogan {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.slogan-cn {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.slogan-en {
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 2px;
}

/* 组织机构 */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.org-level.multi {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
}

.org-level.support {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed #ddd;
    width: 100%;
}

.org-line {
    width: 2px;
    height: 25px;
    background: var(--primary);
    margin: 5px 0;
}

.org-box {
    background: var(--primary);
    color: var(--white);
    padding: 12px 35px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    min-width: 100px;
}

.org-box.main {
    padding: 15px 50px;
    font-size: 17px;
}

.org-dept-group {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e0e0e0;
}

.org-dept-title {
    background: var(--primary);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

.org-sub-depts {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.org-sub-depts span {
    font-size: 12px;
    color: var(--text-light);
    padding: 4px 8px;
    background: var(--white);
    border-radius: 3px;
    text-align: center;
}

.org-support-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.org-support-depts {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.org-support-depts span {
    background: #e8f4fc;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--primary);
}

/* 底部 - 浅色系背景 - 缩小版 */
.main-footer {
    background: #f8f9fa;
    color: var(--text);
    padding: 25px 0 15px;
    border-top: 1px solid #e0e0e0;
}

.main-footer .container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 15px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-logo img {
    height: 30px;
    width: auto;
    display: block;
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.footer-brand p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.social-icon svg {
    width: 14px;
    height: 14px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 13px;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .overview-grid,
    .culture-org-grid {
        grid-template-columns: 1fr;
    }
    
    .company-stats-overlay {
        padding: 30px;
        gap: 30px;
    }
    
    .overlay-num {
        font-size: 48px;
    }
    
    .overlay-text {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 250px;
        margin-top: 80px;
    }
    
    .company-image img {
        min-height: 350px;
    }
    
    .company-stats-overlay {
        padding: 20px;
        gap: 20px;
    }
    
    .overlay-num {
        font-size: 36px;
    }
    
    .overlay-text {
        font-size: 16px;
    }
    
    .overview-right {
        padding: 25px;
    }
    
    .company-intro-title {
        font-size: 22px;
    }
    
    .company-intro-content p {
        font-size: 14px;
    }
    
    .culture-name {
        font-size: 16px;
    }
    
    .culture-desc {
        font-size: 14px;
    }
    
    .slogan-cn {
        font-size: 22px;
    }
    
    .org-departments {
        gap: 10px;
    }
    
    .org-dept {
        padding: 10px 18px;
        font-size: 14px;
    }
}

/* ===== 中小桌面屏适配：白色导航收紧，防止 1025-1366px 屏幕溢出换行 ===== */
@media (max-width: 1366px) {
    .white-header .header-inner {
        padding: 0 20px !important;
        gap: 20px !important;
    }

    .white-header .logo {
        margin-left: 0 !important;
    }

    .white-header .lang-switch {
        margin-right: 0 !important;
    }

    .white-header .main-nav a {
        padding: 10px 14px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 1100px) {
    .white-header .main-nav a {
        padding: 10px 8px !important;
        font-size: 13px !important;
    }

    .white-header .logo-text-en2 {
        display: none;
    }
}

/* ===== 移动端（≤992px，国网风格）白色导航适配 ===== */
@media (max-width: 992px) {
    .white-header .header-inner {
        height: 60px !important;
        padding: 0 15px !important;
        gap: 12px !important;
    }

    .white-header .logo {
        margin-left: 0 !important;
        gap: 8px !important;
    }

    .white-header .logo img {
        height: 34px !important;
    }

    .white-header .logo-text-cn {
        font-size: 15px !important;
    }

    .white-header .logo-text-en1 {
        font-size: 10px !important;
    }

    /* 移动端隐藏桌面导航（此前被 white-header 规则覆盖导致一直显示） */
    .white-header .main-nav {
        display: none;
    }

    /* 下拉面板中的链接样式 */
    .white-header.nav-open .main-nav a {
        padding: 15px 20px !important;
        font-size: 15px !important;
        color: var(--text) !important;
        background: none !important;
        border-radius: 0;
    }

    .white-header.nav-open .main-nav li.active a,
    .white-header.nav-open .main-nav a:active {
        color: var(--primary) !important;
        background: rgba(0,91,172,0.06) !important;
    }
}
