/* 服务理念组件样式 */
/* 使用组件前缀 content-philosophy- 避免与其他组件冲突 */

/* Section */
.content-philosophy-section {
    position: relative;
    background: linear-gradient(135deg, #8B5CF6 0%, #FFB6C1 100%);
    padding: 100px 0;
    overflow: hidden;
}

.content-philosophy-z-2 {
    z-index: 2;
}

/* Content */
.content-philosophy-content {
    padding-right: 2rem;
}

.content-philosophy-tracking-wider {
    letter-spacing: 2px;
}

/* Image Styling */
.content-philosophy-image {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.content-philosophy-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}

.content-philosophy-image:hover img {
    transform: scale(1.02);
}

.content-philosophy-img-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    z-index: -1;
}

/* Separator Line */
.content-philosophy-separator-line {
    height: 4px;
    width: 60px;
    border-radius: 2px;
}

/* Philosophy Decorations */
.content-philosophy-decoration-top-left {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 40%, transparent 70%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 40%, transparent 70%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 8px,
            rgba(255, 255, 255, 0.15) 8px,
            rgba(255, 255, 255, 0.15) 16px
        );
    border-radius: 50%;
    filter: blur(1px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
    animation: content-philosophy-decoration-float 20s ease-in-out infinite;
}

.content-philosophy-decoration-bottom-right {
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: 
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.15) 50%, transparent 80%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.12) 40%, transparent 70%),
        repeating-conic-gradient(
            from 0deg at 50% 50%,
            transparent 0deg,
            rgba(255, 255, 255, 0.18) 4deg,
            transparent 8deg
        );
    border-radius: 50%;
    filter: blur(1.5px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
    animation: content-philosophy-decoration-float 25s ease-in-out infinite reverse;
}

/* 装饰图案浮动动画 */
@keyframes content-philosophy-decoration-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -20px) scale(1.05);
    }
}

/* 中间菱形图标 */
.content-philosophy-diamond-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.content-philosophy-diamond-icon svg {
    display: block;
    width: 250px;
    height: 250px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 鼠标悬停时菱形图标旋转 */
.content-philosophy-section:hover .content-philosophy-diamond-icon {
    opacity: 0.8;
}

.content-philosophy-section:hover .content-philosophy-diamond-icon svg {
    transform: rotate(180deg);
}

/* Fade In Up Animation */
.content-philosophy-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 1, 0.3, 1), transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.content-philosophy-fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-philosophy-delay-100 { transition-delay: 0.1s; }
.content-philosophy-delay-200 { transition-delay: 0.2s; }
.content-philosophy-delay-300 { transition-delay: 0.3s; }
.content-philosophy-delay-400 { transition-delay: 0.4s; }
.content-philosophy-delay-500 { transition-delay: 0.5s; }
.content-philosophy-delay-600 { transition-delay: 0.6s; }

/* Random Character Breathing/Flicker Effect */
@keyframes content-philosophy-char-breathe {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

.content-philosophy-random-reveal .content-philosophy-char {
    display: inline-block;
    will-change: opacity;
}

.content-philosophy-random-reveal.content-philosophy-animating .content-philosophy-char {
    animation: content-philosophy-char-breathe 3s ease-in-out infinite;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .content-philosophy-section {
        padding: 60px 0;
    }

    .content-philosophy-content {
        padding-right: 0;
        text-align: center;
    }

    .content-philosophy-separator-line {
        margin: 0 auto;
    }

    /* 调整装饰图案大小 */
    .content-philosophy-decoration-top-left {
        width: 200px;
        height: 200px;
        top: -30px;
        left: -30px;
    }

    .content-philosophy-decoration-bottom-right {
        width: 250px;
        height: 250px;
        bottom: -50px;
        right: -50px;
    }

    /* 调整菱形图标大小 */
    .content-philosophy-diamond-icon svg {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {
    .content-philosophy-section {
        padding: 50px 0;
    }

    .content-philosophy-image {
        margin-top: 30px;
    }

    /* 移动端进一步缩小装饰图案 */
    .content-philosophy-decoration-top-left {
        width: 150px;
        height: 150px;
        opacity: 0.7;
    }

    .content-philosophy-decoration-bottom-right {
        width: 200px;
        height: 200px;
        opacity: 0.65;
    }

    /* 移动端缩小菱形图标 */
    .content-philosophy-diamond-icon svg {
        width: 150px;
        height: 150px;
    }
}
