/* 案例页面专用样式 */

/* Logo样式 */
img.logo {
    max-width: 150px;  /* 缩小logo宽度 */
    height: auto;
    object-fit: contain;
}

/* 导航菜单激活状态样式 */
.nav-menu li a.active {
    color: #1a73e8;
    background: #e8f0fe;
    font-weight: 700;
}

/* 页面标题区域 */
.page-hero {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 案例筛选区域 */
.case-filter {
    background: #f8f9fa;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-header h2 {
    font-size: 32px;
    color: #333;
    margin: 0;
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-controls span {
    font-weight: 600;
    color: #666;
}

.industry-filter {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.industry-filter:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

/* 案例展示区域 */
.cases-section {
    padding: 60px 0;
    background: #fff;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* 案例卡片样式 */
.case-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* 视频播放器样式 */
.case-video {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.case-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(26, 115, 232, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn:hover {
    background: rgba(26, 115, 232, 1);
    transform: scale(1.1);
}

/* 视频播放时的样式 */
.case-video.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.case-video.playing .play-btn {
    display: none;
}

/* 静音提示样式 */
.mute-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10;
    pointer-events: none;
}

/* 静音控制按钮 */
.mute-toggle {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 12px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.mute-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.case-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-tag {
    display: inline-block;
    background: #f8f9fa;
    color: #666;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.case-card:hover .feature-tag {
    background: #e8f0fe;
    color: #1a73e8;
    border-color: #1a73e8;
}

/* 联系我们区域 */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%);
    padding: 80px 0;
    text-align: center;
}

.contact-content h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

.contact-content p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: #1a73e8;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #1a73e8;
}

.cta-button:hover {
    background: white;
    color: #1a73e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

/* 页脚样式 */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

/* 导航栏激活状态 */
.nav-menu li a.active {
    color: #1a73e8;
    background: #e8f0fe;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 40px;
        margin-top: 120px;
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
    
    .page-hero p {
        font-size: 16px;
    }
    
    .filter-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .industry-filter {
        flex: 1;
        max-width: 200px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-card {
        margin-bottom: 0;
    }
    
    .contact-content h2 {
        font-size: 28px;
    }
    
    .contact-content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .case-content {
        padding: 20px;
    }
    
    .case-content h3 {
        font-size: 18px;
    }
    
    .feature-tag {
        font-size: 13px;
        padding: 5px 10px;
    }
}