/* 客户案例页面样式 */
:root {
    --primary-color: #2563EB;
    --gradient-bg: linear-gradient(135deg, #3B82F6, #1D4ED8);
    --dark-bg: #0F172A;
    --card-bg: #1E293B;
    --text-primary: #E2E8F0;
    --text-secondary: #94A3B8;
}

/* 导航按钮样式 */
.nav-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    padding: 0 1rem;
}

.nav-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    background: #ffffff;
    color: #1a202c;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.nav-button:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-button.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: transparent;
}

/* 内容区域样式 */
.content-section {
    display: none;
    padding: 2rem 0;
}

.content-section.active {
    display: block;
}

/* 客户logo展示区域样式 */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.logo-grid img {
    width: 180px;
    height: auto;
    /* border-radius: 12px; */
    transition: all 0.3s ease;
}

.logo-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
    filter: brightness(1.1);
}

/* Hero 区域样式 */
.hero-section {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;  /* 确保内容在图片上层 */
    text-align: center;
    color: #ffffff;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);  /* 添加文字阴影提高可读性 */
}

.hero-description {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;  /* 图片在文字下层 */
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .nav-buttons {
        flex-direction: column;
    }

    .nav-button {
        width: 100%;
    }

    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }
}