/* Design Philosophy Section Styles */
.philosophy-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-color: #0a1825;
    background: linear-gradient(135deg, #0a1825 0%, #162a3c 50%, #0e2234 100%);
    color: #fff;
}

/* 装饰元素 */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.philosophy-circle-1,
.philosophy-circle-2 {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(66, 103, 145, 0.4), rgba(38, 65, 97, 0.2));
    z-index: 0;
}

.philosophy-circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -150px;
}

.philosophy-circle-2 {
    width: 280px;
    height: 280px;
    bottom: 100px;
    right: 50px;
    animation: floatAnimation 6s ease-in-out infinite;
    background: radial-gradient(circle at center, rgba(113, 167, 217, 0.3) 0%, rgba(38, 65, 97, 0.1) 70%);
    box-shadow: 0 0 60px rgba(113, 167, 217, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

.philosophy-dots {
    position: absolute;
    width: 180px;
    height: 180px;
    right: 50px;
    top: 20%;
    background-image: radial-gradient(circle, rgba(100, 145, 190, 0.3) 2px, transparent 3px);
    background-size: 20px 20px;
    z-index: 0;
}

/* 内容样式 */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-12,
.col-lg-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

/* 自定义左右列 */
.col-lg-l {
    flex: 0 0 55%;
    max-width: 55%;
    padding-right: 140px;
    padding-left: 0;
    position: relative;
    z-index: 10;
}

.col-lg-r {
    flex: 0 0 45%;
    max-width: 45%;
    padding-left: 140px;
    padding-right: 0;
    position: relative;
    z-index: 10;
}

/* 调整行间距和定位 */
.row.align-items-center {
    margin-left: -30px;
    margin-right: -30px;
    justify-content: space-between;
    position: relative;
}

/* 添加菱形装饰 */
.diamond-decoration {
    position: absolute;
    width: 280px;
    height: 280px;
    left: 50%;
    top: 50%;
    background: linear-gradient(135deg, rgba(113, 167, 217, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 60px rgba(113, 167, 217, 0.3);
    z-index: 5;
    cursor: pointer;
    will-change: transform;
}

.diamond-decoration::before {
    content: '';
    position: absolute;
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
    border: 1px dotted rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
}

.diamond-decoration::after {
    content: '';
    position: absolute;
    width: 35%;
    height: 35%;
    top: 32.5%;
    left: 32.5%;
    background: rgba(113, 167, 217, 0.3);
    border-radius: 50%;
}

.text-center {
    text-align: center;
}

.align-items-center {
    align-items: center;
}

/* 标题和文本样式 */
.philosophy-section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #fff;
    position: relative;
}

/* 标题隐现效果 */
.title-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), 
                transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1),
                color 0.3s ease, 
                text-shadow 0.3s ease;
    position: relative;
    letter-spacing: 0.01em;
}

.title-char.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.title-char:nth-child(odd).visible {
    color: #71a7d9;
    text-shadow: 0 0 10px rgba(113, 167, 217, 0.6);
}

.title-char:nth-child(even).visible {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.title-container {
    position: relative;
    display: inline-block;
}

.title-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(113, 167, 217, 0.6) 50%, transparent 100%);
    pointer-events: none;
    opacity: 0;
}

.title-mask.active {
    animation: maskSweep 1.2s ease-in-out;
}

@keyframes maskSweep {
    0% {
        left: -100%;
        opacity: 0.8;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.english-title {
    display: block;
    font-size: 1.8rem;
    color: #71a7d9;
    font-weight: 400;
    margin-top: 0.5rem;
}

.english-subtitle {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    margin-top: 0.25rem;
}

.philosophy-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #71a7d9;
}

.philosophy-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

/* 价值观项目样式 */
.philosophy-values {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    gap: 1rem;
    justify-content: flex-start;
}

.value-item {
    display: flex;
    align-items: center;
    padding: 0.7rem 1.2rem;
    background-color: rgba(30, 62, 97, 0.6);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border-left: 3px solid rgba(113, 167, 217, 0.7);
    min-width: 100px;
    justify-content: center;
}

.value-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border-left: 3px solid rgba(113, 167, 217, 1);
    background-color: rgba(42, 82, 125, 0.7);
}

.value-icon {
    font-size: 1.2rem;
    color: #71a7d9;
    margin-right: 0.6rem;
}

.value-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
}

/* 图片样式 */
.philosophy-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
    border: 1px solid rgba(113, 167, 217, 0.3);
    opacity: 1;
    visibility: visible;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    aspect-ratio: 4/3;
}

.philosophy-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
    opacity: 1;
    transform: scale(1);
}

.philosophy-image:hover .img-fluid {
    transform: scale(1.05);
}

/* 新增图片基础样式 */
.philosophy-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 24, 37, 0.9) 0%, rgba(10, 24, 37, 0) 100%);
    color: #fff;
    padding: 2rem 1.5rem 1.5rem;
    font-size: 1.1rem;
    text-align: center;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.philosophy-image:hover .image-caption {
    padding-bottom: 2rem;
}

/* 动画效果样式 */
.animated-text {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1), 
                transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: opacity, transform;
    position: relative;
    z-index: 1;
}

.animated-text.show {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 991px) {
    .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-lg-l,
    .col-lg-r {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }
    
    .diamond-decoration {
        display: none;
    }
    
    .philosophy-section {
        padding: 80px 0;
    }
    
    .philosophy-image {
        margin-top: 2rem;
    }
    
    .philosophy-content {
        padding: 0 20px;
    }
}

@media (max-width: 767px) {
    .philosophy-section-title {
        font-size: 2rem;
    }
    
    .philosophy-content h3 {
        font-size: 1.5rem;
    }
    
    .philosophy-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .philosophy-circle-2 {
        width: 200px;
        height: 200px;
        bottom: 80px;
        right: 30px;
    }
    
    .value-item {
        padding: 0.6rem 1.2rem;
    }
    
    .value-text {
        font-size: 1rem;
    }
    
    .philosophy-content {
        padding: 0 15px;
    }
}

@media (max-width: 575px) {
    .philosophy-section {
        padding: 60px 0;
    }
    
    .philosophy-section-title {
        font-size: 1.8rem;
    }
    
    .english-title {
        font-size: 1.4rem;
    }
    
    .philosophy-values {
        justify-content: center;
    }
    
    .image-caption {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .philosophy-circle-2 {
        width: 150px;
        height: 150px;
        bottom: 60px;
        right: 20px;
    }
    
    .philosophy-content {
        padding: 0 20px;
    }
    
    .philosophy-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .philosophy-content p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 768px) {
    .philosophy-values {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        justify-content: center;
        margin-top: 2rem;
    }

    .value-item {
        width: 100%;
        padding: 0.8rem;
        min-width: unset;
        justify-content: center;
        text-align: center;
    }

    .value-text {
        font-size: 1rem;
    }
}

/* 为不带animated-text类的philosophy-image专门设置样式 */
.col-lg-r .philosophy-image {
    opacity: 1 !important;
    transform: none !important;
} 