/* partners_en.css - 英文版合作伙伴页面样式 */

/* 页面特有样式 */
.product-bg {
    background-image: url('../images/partnersbj.webp');
    background-size: cover;
    background-position: center;
    height: 35vh;
    position: relative;
    min-height: 200px;
    max-height: 350px;
}

/* 增强的3D地球仪样式 */
.globe-container {
    position: relative;
    width: 400px;
    height: 400px;
    perspective: 1000px;
    margin: 0 auto;
}

/* 响应式地球仪容器 */
@media (max-width: 768px) {
    .globe-container {
        width: 300px;
        height: 300px;
    }
}

.globe {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateGlobe 20s linear infinite;
}

.globe-core {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-image: url('../images/合作伙伴/公司logo空白版.webp');
    background-size: cover;
    box-shadow: inset 0 0 60px rgba(0, 100, 255, 0.3), inset 20px 0 80px rgba(0, 0, 0, 0.7),
    inset -20px 0 80px rgba(0, 0, 0, 0.7);
    background-blend-mode: overlay;
    background-color: rgba(0, 100, 255, 0.1);
}

.globe-clouds {
    position: absolute;
    width: 105%;
    height: 105%;
    border-radius: 50%;
    background-image: url('../images/合作伙伴/地球.webp');
    background-size: cover;
    opacity: 0.4;
    animation: rotateClouds 30s linear infinite;
    z-index: 1;
    filter: blur(2px);
}

.globe-shine {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 50%);
    opacity: 0.2;
    z-index: 2;
}

.globe-halo {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 100, 255, 0.1) 0%, transparent 70%);
    animation: rotateHalo 20s linear infinite;
    transform: rotateX(70deg);
    z-index: 0;
}

.globe-reflection {
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 20%;
    background: radial-gradient(ellipse at center, rgba(0, 100, 255, 0.1) 0%, transparent 70%);
    filter: blur(5px);
    z-index: -1;
}

@keyframes rotateGlobe {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

@keyframes rotateClouds {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

@keyframes rotateHalo {
    from { transform: rotateX(70deg) rotateZ(0deg); }
    to { transform: rotateX(70deg) rotateZ(360deg); }
}

/* 合作伙伴logo悬浮效果 */
.partner-logo {
    filter: grayscale(0%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* 案例卡片样式 */
.case-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 100, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 100, 255, 0.2);
}

.case-image {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

/* 全局样式 */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    background-color: #fff;
}

.highlight {
    color: #1e3a8a;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(to right, #2563eb, #3b82f6);
}

/* 新增客户案例标题颜色样式 */
.case-title, .partner-title {
    color: #1e3a8a;
}

/* 语言切换样式 */
.language-switch {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.language-switch a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.language-switch a:hover {
    color: #60a5fa;
}

.language-switch span {
    color: rgba(255, 255, 255, 0.5);
    padding: 0 5px;
}

.language-switch .active {
    color: #60a5fa;
    font-weight: bold;
}

@media (max-width: 768px) {
    .language-switch {
        margin-top: 10px;
    }
}

/* 响应式合作伙伴logo展示 */
@media (max-width: 768px) {
    .partner-logos {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .partner-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 响应式客户案例区域 */
@media (max-width: 768px) {
    /* 优化顶部背景图高度 */
    .product-bg {
        height: 40vh !important;
    }
    
    /* 统一标题下方文字字体大小 */
    .product-bg .text-xl {
        font-size: 1rem !important;
    }
    
    .case-item {
        flex-direction: column-reverse;
        display: flex;
        margin-bottom: 2rem !important;
    }
    
    .case-item:last-of-type {
        margin-bottom: 0 !important;
    }
    
    /* 统一图片和文字容器的宽度 */
    .case-item .lg\:w-1\/2 {
        width: 100% !important;
        margin-bottom: 1.5rem !important;
    }
    
    .case-item .lg\:w-1\/2:last-child {
        margin-bottom: 0 !important;
    }
    
    /* 优化图片显示 */
    .case-item .lg\:w-1\/2 .case-image {
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: cover;
    }
    
    /* 统一普通文字字体大小 */
    p.text-gray-600 {
        font-size: 0.95rem;
    }
    
    /* 减少案例区域整体底部内边距 */
    section:nth-of-type(2) {
        padding-bottom: 0px !important;
    }
}