/* static/css/style.css */

/* 全局样式 - 遵循工业B端设计原则 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Microsoft YaHei', sans-serif;
    color: #333647;
    background-color: #F5F7FA;
    line-height: 1.6;
}

/* 按钮样式 */
.btn-accent {
    background-color: #C82C31;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #B0252A;
    color: white;
    transform: translateY(-1px);
}

.btn-outline-accent {
    color: #C82C31;
    border: 1px solid #C82C31;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-accent:hover {
    background-color: #C82C31;
    color: white;
}

/* 导航栏 */
.navbar-custom {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E8EBF0;
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: #333647 !important;
    font-size: 1.25rem;
}

.nav-link {
    color: #6E7281 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #C82C31 !important;
}

/* 卡片悬停效果 */
.capability-card, .case-card {
    transition: all 0.3s ease;
    border: 1px solid #E8EBF0;
}

.capability-card:hover, .case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #C82C31;
}

/* 语言切换器 */
.lang-switcher {
    display: inline-flex;
    border: 1px solid #E8EBF0;
    border-radius: 4px;
    overflow: hidden;
}

.lang-btn {
    padding: 0.375rem 0.75rem;
    background: none;
    border: none;
    color: #6E7281;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: #F5F7FA;
    color: #333647;
}

.lang-btn.active {
    background-color: #C82C31;
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-banner .display-5 {
        font-size: 2rem;
    }
    
    .capability-card, .case-card {
        margin-bottom: 1rem;
    }
    
    .cta-box {
        padding: 2rem 1.5rem !important;
    }
}

/* 页脚 */
.footer {
    background-color: #333647;
    color: #FFFFFF;
    padding: 3rem 0 1.5rem;
}

.footer a {
    color: #E8EBF0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #C82C31;
}

.footer-bottom {
    border-top: 1px solid #6E7281;
    padding-top: 1.5rem;
    margin-top: 2rem;
}
/* static/css/style.css - 新增样式 */

/* 新增页面样式 */
.page-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-text);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
}

/* 表格样式增强 */
.table-hover tbody tr:hover {
    background-color: rgba(200, 44, 49, 0.02);
}

.table th {
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

/* 卡片样式增强 */
.card {
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background-color: #FFFFFF;
}

/* 进度步骤样式 */
.progress-steps .step.active .step-circle {
    background-color: var(--accent-color) !important;
    color: white !important;
}

.progress-steps .step.active .step-label {
    color: var(--primary-text) !important;
    font-weight: 500;
}

/* 文件上传区域 */
.file-upload-area:hover {
    border-color: var(--accent-color) !important;
    background-color: rgba(200, 44, 49, 0.02) !important;
}

/* 个人中心菜单 */
.profile-menu .active-menu-item {
    background-color: rgba(200, 44, 49, 0.05) !important;
    border-left: 3px solid var(--accent-color) !important;
}

/* 地址卡片 */
.address-card:hover {
    border-color: var(--accent-color) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
    
    .file-upload-area {
        padding: 2rem 1rem !important;
    }
}
/* 按钮优化 */
.btn {
    transition: all 0.3s ease !important;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 179, 71, 0.25) !important;
}

/* 确保按钮不会太靠边 */
@media (max-width: 768px) {
    .hero-banner .container {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .hero-banner .btn {
        width: 100%;
        margin-bottom: 0.75rem;
    }
}

/* 优化min-vh-60类（如果不存在） */
.min-vh-60 {
    min-height: 60vh !important;
}

@media (max-height: 700px) {
    .min-vh-60 {
        min-height: 70vh !important;
    }
}
/* 响应式调整 */
@media (max-width: 768px) {
    /* Hero区域调整 */
    .industrial-hero {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .industrial-hero .container > .row {
        min-height: auto !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    /* 按钮组调整为垂直布局 */
    .industrial-hero .d-flex {
        flex-direction: column !important;
    }
    
    .industrial-hero .btn-industrial,
    .industrial-hero .btn-industrial-outline {
        width: 100% !important;
        margin-bottom: 0.75rem !important;
        text-align: center !important;
    }
    
    /* 右侧图片区域调整 */
    .industrial-hero .industrial-placeholder {
        height: 300px !important;
        margin-top: 2rem !important;
    }
    
    /* 页脚调整 */
    .industrial-footer .row > div {
        margin-bottom: 2rem !important;
    }
    
    /* 版权信息居中 */
    .industrial-footer .d-flex {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .industrial-footer .d-flex > * {
        margin-bottom: 0.5rem !important;
    }
}

/* 添加动画效果 */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 工业风卡片悬停效果 */
.industrial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industrial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}

/* 按钮悬停效果 */
.btn {
    transition: all 0.3s ease !important;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 44, 49, 0.25) !important;
}

/* 工业风浅色主题背景 */
.industrial-light-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    position: relative;
    overflow: hidden;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .industrial-light-hero {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .industrial-card {
        height: 350px !important;
        margin-top: 2rem !important;
    }
    
    /* 页脚响应式调整 */
    .footer-industrial {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .footer-industrial .row > div {
        margin-bottom: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    /* 首页Hero区域响应式 */
    .industrial-light-hero .d-flex {
        flex-direction: column !important;
    }
    
    .industrial-light-hero .btn {
        width: 100% !important;
        margin-bottom: 0.75rem !important;
    }
    
    .industrial-card {
        height: 300px !important;
    }
    
    /* 页脚响应式调整 */
    .footer-industrial {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    /* 版权信息在移动端居中 */
    .footer-industrial .d-flex {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .footer-industrial .d-flex > * {
        margin-bottom: 0.5rem !important;
    }
}

/* 大屏幕调整 */
@media (min-width: 1400px) {
    .industrial-light-hero {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
    
    .footer-industrial {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}
