/* 华亿简介页面专用样式 */

/* 分子结构背景 */
.page-content {
    position: relative;
    background-color: #fff;
    z-index: 1;
}

.page-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 15%, #e1e8f0 2px, transparent 2px),
        radial-gradient(circle at 85% 15%, #e1e8f0 2px, transparent 2px),
        radial-gradient(circle at 50% 50%, #e1e8f0 2px, transparent 2px),
        radial-gradient(circle at 15% 85%, #e1e8f0 2px, transparent 2px),
        radial-gradient(circle at 85% 85%, #e1e8f0 2px, transparent 2px);
    background-size: 80px 80px;
    opacity: 0.3;
    z-index: -1;
}

.page-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 48%, #e1e8f0 48%, #e1e8f0 52%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, #e1e8f0 48%, #e1e8f0 52%, transparent 52%),
        linear-gradient(135deg, transparent 48%, #e1e8f0 48%, #e1e8f0 52%, transparent 52%),
        linear-gradient(-135deg, transparent 48%, #e1e8f0 48%, #e1e8f0 52%, transparent 52%);
    background-size: 80px 80px;
    opacity: 0.2;
    z-index: -1;
}

/* 六边形分子结构背景 */
.molecular-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    opacity: 0.15;
}

.hexagon {
    position: absolute;
    width: 100px;
    height: 57.74px; /* 100 * sin(60°) */
    background-color: transparent;
    border: 1px solid rgba(0, 60, 143, 0.3);
    transform: rotate(30deg);
}

.hexagon::before,
.hexagon::after {
    content: '';
    position: absolute;
    width: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
}

.hexagon::before {
    bottom: 100%;
    border-bottom: 28.87px solid rgba(0, 60, 143, 0.3); /* 50 * sin(30°) */
}

.hexagon::after {
    top: 100%;
    width: 0;
    border-top: 28.87px solid rgba(0, 60, 143, 0.3); /* 50 * sin(30°) */
}

.connection-line {
    position: absolute;
    height: 1px;
    background-color: rgba(0, 60, 143, 0.3);
    transform-origin: 0 0;
}

/* 页面标题区域 */
.page-title {
    background-color: #f2f6fc;
    padding: 30px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e1e8f0;
}

.page-title h1 {
    color: #003c8f;
    font-size: 28px;
    margin-bottom: 10px;
}

.breadcrumb {
    color: #666;
    font-size: 14px;
}

.breadcrumb a {
    color: #003c8f;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 内容导航 */
.content-nav {
    margin-bottom: 30px;
}

.tab-nav {
    display: flex;
    list-style: none;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tab-nav li {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    border-bottom: 3px solid transparent;
}

.tab-nav li:hover {
    color: #003c8f;
    background-color: #f9f9f9;
}

.tab-nav li.active {
    color: #003c8f;
    border-bottom-color: #003c8f;
    background-color: #f2f6fc;
}

/* 内容区域通用样式 */
.main-about-content {
    margin-bottom: 50px;
}

.content-section {
    display: none;
    animation: fadeIn 0.5s;
}

.content-section.active {
    display: block;
}

.section-header {
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-header h2 {
    color: #003c8f;
    font-size: 24px;
    display: inline-block;
    padding: 0 20px;
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.section-line {
    height: 1px;
    background-color: #e1e8f0;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
}

.intro-text {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* 新的公司概况布局样式 */
.profile-content-new {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

/* 大图展示区样式 */
.profile-hero {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.profile-hero:hover .hero-image {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.hero-overlay h3 {
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-overlay p {
    font-size: 16px;
    opacity: 0.9;
}

/* 文本样式优化 */
.profile-text-new {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    line-height: 1.8;
}

.profile-text-new p {
    margin-bottom: 20px;
    text-align: justify;
    color: #333;
}

.profile-text-new p:last-child {
    margin-bottom: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .profile-hero {
        height: 300px;
    }
    
    .hero-overlay h3 {
        font-size: 22px;
    }
    
    .profile-text-new {
        padding: 20px;
    }
}

/* 公司概况样式 */
.profile-content {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.profile-image-enhanced {
    flex: 0 0 45%;
}

.profile-text {
    flex: 1;
}

/* 增强的图片容器 */
.image-container {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

/* 图片渐变叠加层 */
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,60,143,0.9), rgba(0,60,143,0) 120%);
    color: white;
}

.image-overlay h3 {
    font-size: 22px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* 文本部分样式优化 */
.profile-text p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #333;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .profile-content {
        flex-direction: column;
    }
    
    .profile-image-enhanced {
        flex: 0 0 100%;
    }
    
    .image-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .image-container {
        height: 280px;
    }
}

.company-data {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.data-item {
    flex: 1;
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin: 0 10px;
}

.data-number {
    font-size: 36px;
    font-weight: bold;
    color: #003c8f;
    margin-bottom: 10px;
}

.data-text {
    color: #666;
}

/* 业务资质样式 */
.qualification-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.qualification-item {
    flex: 1 0 calc(25% - 20px);
    min-width: 200px;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.qualification-item:hover {
    transform: translateY(-5px);
}

.qualification-icon {
    font-size: 40px;
    color: #003c8f;
    margin-bottom: 15px;
}

.qualification-item h3 {
    color: #333;
    margin-bottom: 10px;
}

.qualification-item p {
    color: #666;
}

.cert-showcase {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.cert {
    flex: 0 0 calc(33.33% - 20px);
    max-width: 250px;
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.cert:hover {
    transform: translateY(-5px);
}

.cert img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border: 1px solid #e1e8f0;
}

.cert p {
    color: #666;
    font-size: 14px;
}

/* 管理体系样式 */
.systems-container {
    margin-bottom: 40px;
}

.system-item {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.system-icon {
    flex: 0 0 60px;
    font-size: 30px;
    color: #003c8f;
    text-align: center;
    padding-top: 5px;
}

.system-info {
    flex: 1;
}

.system-info h3 {
    color: #333;
    margin-bottom: 10px;
}

.system-info p {
    color: #666;
    line-height: 1.6;
}

/* 专利技术样式 */
.patent-showcase {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.patent-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
    text-align: center;
}

.counter-item {
    padding: 20px;
}

.counter {
    font-size: 42px;
    font-weight: bold;
    color: #003c8f;
    margin-bottom: 10px;
}

.counter-title {
    color: #666;
    font-size: 16px;
}

.tech-title {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.tech-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #003c8f;
}

.tech-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.tech-field {
    flex: 1 0 calc(50% - 20px);
    min-width: 250px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-icon {
    width: 60px;
    height: 60px;
    background-color: #003c8f;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.tech-field h4 {
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.tech-field p {
    color: #666;
    text-align: center;
    line-height: 1.6;
}

/* 组织架构样式 */
.organization-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.org-chart {
    text-align: center;
    margin-bottom: 40px;
}

.org-chart img {
    max-width: 100%;
    height: auto;
    border: 1px solid #e1e8f0;
    border-radius: 4px;
}

.org-departments {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.dept-group {
    flex: 1;
    min-width: 300px;
}

.dept-group h3 {
    color: #003c8f;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e8f0;
}

.dept-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dept-item {
    background-color: #f2f6fc;
    color: #333;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
}

/* 合作伙伴样式 */
.partners-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.partner-types {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.partner-type h3 {
    color: #003c8f;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e8f0;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-logo {
    flex: 0 0 calc(20% - 20px);
    min-width: 150px;
    height: 80px;
    background-color: #f9f9f9;
    border: 1px solid #e1e8f0;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 导航当前页面样式 */
nav a.active {
    background-color: #002a66;
}

/* 响应式样式 */
@media (max-width: 992px) {
    .profile-content,
    .team-content {
        flex-direction: column;
    }
    
    .profile-image,
    .profile-text {
        flex: 0 0 100%;
    }
    
    .company-data {
        flex-wrap: wrap;
    }
    
    .data-item {
        flex: 1 0 calc(50% - 20px);
        margin-bottom: 20px;
    }
    
    .qualification-item {
        flex: 0 0 calc(50% - 20px);
    }
    
    .cert {
        flex: 0 0 calc(50% - 20px);
    }
    
    .patent-stats {
        flex-direction: column;
    }
    
    .tab-nav {
        flex-wrap: wrap;
    }
    
    .tab-nav li {
        flex: 0 0 33.33%;
    }
    
    .hexagon {
        width: 80px;
        height: 46.19px; /* 80 * sin(60°) */
    }
    
    .hexagon::before,
    .hexagon::after {
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
    }
    
    .hexagon::before {
        border-bottom: 23.09px solid rgba(0, 60, 143, 0.3); /* 40 * sin(30°) */
    }
    
    .hexagon::after {
        border-top: 23.09px solid rgba(0, 60, 143, 0.3); /* 40 * sin(30°) */
    }
}

@media (max-width: 768px) {
    .qualification-item,
    .cert,
    .data-item {
        flex: 0 0 100%;
    }
    
    .system-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .system-icon {
        margin-bottom: 15px;
    }
    
    .partner-logo {
        flex: 0 0 calc(33.33% - 20px);
    }
    
    .tab-nav li {
        flex: 0 0 50%;
    }
    
    .page-content::before,
    .page-content::after {
        background-size: 60px 60px;
    }
    
    .hexagon {
        width: 60px;
        height: 34.64px; /* 60 * sin(60°) */
    }
    
    .hexagon::before,
    .hexagon::after {
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
    }
    
    .hexagon::before {
        border-bottom: 17.32px solid rgba(0, 60, 143, 0.3); /* 30 * sin(30°) */
    }
    
    .hexagon::after {
        border-top: 17.32px solid rgba(0, 60, 143, 0.3); /* 30 * sin(30°) */
    }
}

@media (max-width: 576px) {
    .partner-logo {
        flex: 0 0 calc(50% - 20px);
    }
    
    .tab-nav li {
        flex: 0 0 100%;
    }
} 