You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

672 lines
12 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/* 恒辉核心页面样式 + GSAP 动画支持 */
/* 基础Grid系统 */
.page-full-width {
overflow-x: hidden;
}
.about-content .container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
box-sizing: border-box;
}
.about-content .row {
display: flex;
flex-wrap: wrap;
margin: 0 -15px;
align-items: center;
min-height: 500px;
}
.about-content .col-lg-6 {
flex: 0 0 50%;
max-width: 50%;
padding: 0 15px;
box-sizing: border-box;
}
.about-content .col-md-12 {
flex: 0 0 100%;
max-width: 100%;
padding: 0 15px;
box-sizing: border-box;
}
/* 响应式Grid */
@media (max-width: 991.98px) {
.about-content .col-lg-6 {
flex: 0 0 100%;
max-width: 100%;
}
.about-content .row {
align-items: flex-start;
min-height: auto;
}
}
.about-content {
padding: 60px 0;
background-color: #f8f9fa;
}
/* 确保左右布局正确显示 */
.about-content .row {
display: flex !important;
flex-wrap: wrap;
margin: 0 -15px;
align-items: center;
min-height: 500px;
}
/* 专业领域轮播样式 */
.professional-fields {
padding: 60px 0;
background: #f8f9fa;
position: relative;
}
.professional-fields .container {
max-width: 1000px;
margin: 0 auto;
padding: 0 20px;
}
.professional-fields .section-title {
text-align: center;
font-size: 2rem;
font-weight: 600;
color: #333;
margin-bottom: 40px;
position: relative;
}
.professional-carousel {
position: relative;
max-width: 100%;
margin: 0 auto;
}
.carousel-wrapper {
position: relative;
width: 100%;
height: 120px;
overflow: hidden;
display: flex;
align-items: center;
}
.professional-carousel {
display: flex;
width: 100%;
height: 100%;
transition: transform 0.5s ease;
}
.professional-card {
position: relative;
width: 20%;
height: 100px;
display: flex;
align-items: center;
justify-content: space-between;
background: #ffffff;
border-radius: 8px;
margin: 0 5px;
padding: 0 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
cursor: pointer;
border: 1px solid #e9ecef;
flex-shrink: 0;
}
.professional-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
border-color: #7dd3fc;
}
.card-left {
flex: 0 0 40%;
display: flex;
align-items: center;
justify-content: center;
}
.card-number {
font-size: 5rem;
font-weight: 300;
color: #83cfce;
line-height: 1;
margin: 0;
}
.card-right {
flex: 0 0 55%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}
.card-icon {
font-size: 2rem;
color: #6d6e6e;
margin-bottom: 8px;
transition: color 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
}
.card-icon svg {
width: 40px;
height: 40px;
}
.card-title {
font-size: 1rem;
font-weight: 500;
color: #6d6e6e;
margin: 0;
white-space: nowrap;
transition: color 0.3s ease;
}
.professional-card:hover .card-title {
color: #83cfce;
}
.professional-card:hover .card-number {
color: #83cfce;
}
.carousel-navigation {
position: absolute;
bottom: -60px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 15px;
z-index: 10;
}
.carousel-button {
width: 40px;
height: 40px;
background: #ffffff;
border: 1px solid #ddd;
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.carousel-button:hover {
background: #f8f9fa;
border-color: #7dd3fc;
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.carousel-button svg {
color: #666;
transition: color 0.3s ease;
width: 20px;
height: 20px;
}
.carousel-button:hover svg {
color: #0ea5e9;
}
/* 响应式设计 */
@media (max-width: 1200px) {
.professional-card {
flex: 0 0 calc(33.333% - 20px);
}
}
@media (max-width: 768px) {
.professional-card {
flex: 0 0 calc(50% - 15px);
margin: 0 7.5px 20px;
}
.carousel-wrapper {
height: auto;
min-height: 180px;
}
.carousel-navigation {
bottom: -50px;
}
}
@media (max-width: 480px) {
.professional-card {
flex: 0 0 calc(100% - 20px);
margin: 0 10px 20px;
}
}
/* 左侧内容区域 - 40% */
.about-content .col-lg-6:first-child {
flex: 0 0 40% !important;
max-width: 40% !important;
padding: 0 15px;
box-sizing: border-box;
}
/* 右侧图片区域 - 60% */
.about-content .col-lg-6:last-child {
flex: 0 0 60% !important;
max-width: 60% !important;
padding: 0 15px;
box-sizing: border-box;
}
.content-header {
margin-bottom: 40px;
}
.section-title {
font-size: 1.5rem;
font-weight: 700;
color: #2c3e50;
margin-bottom: 20px;
line-height: 1.2;
}
.section-description {
font-size: 14px;
line-height: 1.8;
color: #555;
margin-bottom: 0;
}
/* 可折叠面板样式 */
.accordion {
margin-top: 30px;
}
.accordion-item {
border: 1px solid #e0e0e0;
border-radius: 8px;
margin-bottom: 15px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
overflow: hidden;
}
.accordion-header {
margin: 0;
}
.accordion-button {
background-color: #fff;
border: none;
padding: 20px 25px;
font-size: 1.1rem;
font-weight: 600;
color: #2c3e50;
text-align: left;
width: 100%;
position: relative;
transition: all 0.3s ease;
cursor: pointer;
}
.accordion-button:hover {
background-color: #f8f9fa;
}
.accordion-button.active {
background-color: #f2f2f2 !important;
color: #000 !important;
}
.accordion-button[aria-expanded="true"] {
background-color: #f2f2f2 !important;
color: #000 !important;
}
.accordion-button:focus {
outline: none;
box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}
.accordion-button::after {
content: '+';
font-size: 1.5rem;
font-weight: bold;
position: absolute;
right: 25px;
top: 50%;
transform: translateY(-50%);
transition: transform 0.3s ease;
}
.section-title::after{
display: none;
}
.accordion-button.active::after {
content: '';
transform: translateY(-50%) rotate(0deg);
}
.accordion-collapse {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
border-top: 1px solid #e0e0e0;
}
.accordion-collapse.show {
max-height: 500px;
}
.accordion-body {
padding: 25px;
background-color: #fff;
}
.accordion-body ul {
list-style: none;
padding: 0;
margin: 0;
}
.accordion-body li {
padding: 8px 0;
border-bottom: 1px solid #f0f0f0;
position: relative;
padding-left: 20px;
}
.accordion-body li:last-child {
border-bottom: none;
}
.accordion-body li::before {
content: '•';
color: #007bff;
font-weight: bold;
position: absolute;
left: 0;
}
.accordion-body p {
margin: 0;
line-height: 1.6;
color: #555;
}
/* 响应式图片 */
.img-fluid {
max-width: 100%;
height: auto;
}
/* 右侧图片样式 */
.system-image {
padding: 20px;
text-align: center;
}
.system-image img {
border-radius: 12px;
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
transition: transform 0.3s ease;
}
.system-image img:hover {
transform: scale(1.02);
}
/* 响应式设计 */
@media (max-width: 991.98px) {
.about-content {
padding: 40px 0;
}
.about-content .col-lg-6,
.about-content .col-lg-6:first-child,
.about-content .col-lg-6:last-child {
flex: 0 0 100% !important;
max-width: 100% !important;
padding: 0 15px;
}
.about-content .row {
min-height: auto !important;
align-items: flex-start !important;
}
.section-title {
font-size: 2rem;
text-align: center;
}
.section-description {
text-align: center;
margin-bottom: 30px;
}
.system-image {
margin-top: 40px;
padding: 10px;
}
.content-header {
text-align: center;
}
}
@media (max-width: 767.98px) {
.container {
padding: 0 10px;
}
.section-title {
font-size: 1.8rem;
}
.section-description {
font-size: 1rem;
padding: 0 10px;
}
.accordion-button {
padding: 15px 20px;
font-size: 1rem;
}
.accordion-body {
padding: 20px;
}
.system-image {
padding: 5px;
margin-top: 30px;
}
.accordion {
margin-top: 20px;
}
}
/* GSAP 动画相关样式 */
/* 动画元素初始状态 - 防止闪烁 */
.gsap-animate {
opacity: 0;
transform: translateY(30px);
}
/* 系统图片动画样式 */
.system-image {
overflow: hidden;
transition: box-shadow 0.3s ease;
}
.system-image img {
width: 100%;
height: auto;
display: block;
border-radius: 8px;
transition: transform 0.3s ease;
}
/* Accordion 动画增强 */
.accordion-button {
transition: all 0.3s ease;
transform-origin: center;
position: relative;
overflow: hidden;
}
.accordion-button::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
transition: left 0.5s ease;
}
.accordion-button:hover::before {
left: 100%;
}
.accordion-button:hover {
background-color: rgba(0, 123, 255, 0.05);
border-color: rgba(0, 123, 255, 0.2);
}
.accordion-button.active {
background-color: rgba(0, 123, 255, 0.1);
border-color: rgba(0, 123, 255, 0.3);
transform: scale(1.01);
}
/* 折叠内容动画 - 纯CSS版本 */
.accordion-collapse {
overflow: hidden;
max-height: 0;
transition: max-height 0.6s ease-in-out, opacity 0.6s ease-in-out;
opacity: 0;
}
.accordion-collapse.show {
max-height: 2000px; /* 足够大的值确保内容完全显示 */
opacity: 1;
}
.accordion-body {
padding: 25px;
background-color: #fff;
line-height: 1.6;
}
/* 标题和描述动画样式 */
.section-title {
position: relative;
overflow: hidden;
}
.section-description {
line-height: 1.8;
position: relative;
}
/* 响应式动画调整 */
@media (max-width: 767.98px) {
.system-image {
margin-top: 40px;
}
.accordion-button {
font-size: 14px;
padding: 12px 15px;
}
.section-title {
font-size: 24px;
}
.section-description {
font-size: 14px;
}
}
/* 加载状态样式 */
.loading-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.9);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
opacity: 1;
transition: opacity 0.5s ease;
}
.loading-overlay.fade-out {
opacity: 0;
pointer-events: none;
}
/* 系统图片垂直居中样式 */
.system-image {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
min-height: 400px;
padding: 20px;
}
.system-image img {
max-width: 100%;
height: auto;
border-radius: 12px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
.system-image img:hover {
transform: scale(1.02);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
/* 响应式调整 */
@media (max-width: 991.98px) {
.system-image {
min-height: 300px;
margin-top: 30px;
}
}
@media (max-width: 767.98px) {
.system-image {
min-height: 250px;
padding: 15px;
}
}