/* 主要样式文件 - 郑州千里马人力资源服务有限公司 */

/* 全局变量 */
:root {
    --primary-color: #ffaa17;
    --secondary-color: #222429;
    --accent-color: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* 导航栏样式 */
.navbar {
    padding: 1rem 0;
    background-color: #1a222d !important;
    box-shadow: var(--box-shadow);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
}

.brand-text {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    color: #ffffff !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* 首页横幅样式 */
.hero-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 36, 41, 0.8), rgba(255, 170, 23, 0.3));
}

.hero-title {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    position: relative;
    z-index: 2;
}

/* 页面标题样式 */
.page-header {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 0 100px;
    margin-top: 76px;
}

.page-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 36, 41, 0.9), rgba(255, 170, 23, 0.4));
}

.page-header h1,
.page-header .breadcrumb {
    position: relative;
    z-index: 2;
}

/* 通用按钮样式 */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #e6960d;
    border-color: #e6960d;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 170, 23, 0.3);
}

.btn-outline-light:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 标题样式 */
.section-title {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.title-icon {
    font-size: 1.2em;
    margin-right: 0.5rem;
}

/* 服务卡片样式 */
.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #ffc107);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-subtitle {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

/* 特色列表样式 */
.feature-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-check {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

/* 联系卡片样式 */
.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

/* 使命卡片样式 */
.mission-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.mission-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #ffc107);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.mission-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

/* 统计数字样式 */
.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* 优势卡片样式 */
.advantage-card {
    display: flex;
    align-items: flex-start;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 1rem;
}

.advantage-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.advantage-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.advantage-content h5 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* 团队卡片样式 */
.team-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.team-image {
    margin-bottom: 1.5rem;
}

.team-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.team-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 详细服务卡片样式 */
.service-detail-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.service-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-detail-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-icon-large {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon-large i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    margin-bottom: 0.5rem;
}

/* 流程步骤样式 */
.process-step {
    position: relative;
    padding: 1rem;
}

.process-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
}

.process-icon {
    width: 60px;
    height: 60px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1rem;
    transition: var(--transition);
}

.process-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.process-step:hover .process-icon {
    background: var(--primary-color);
}

.process-step:hover .process-icon i {
    color: var(--white);
}

/* 行业卡片样式 */
.industry-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
}

.industry-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.industry-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.industry-icon i {
    font-size: 1.2rem;
    color: var(--white);
}

/* 联系表单样式 */
.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 12px 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 170, 23, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* 地图样式 */
.map-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-placeholder {
    position: relative;
    min-height: 400px;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* 手风琴样式 */
.accordion-button {
    font-weight: 600;
    background-color: var(--gray-100);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 170, 23, 0.25);
}

/* 页脚样式 */
footer {
    background-color: #1a222d !important;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
}

/* 面包屑样式 */
.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--gray-300);
}

.breadcrumb-item a {
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary-color) !important;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .hero-banner {
        background-attachment: scroll;
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
    }
    
    .page-header {
        padding: 120px 0 80px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .advantage-card {
        flex-direction: column;
        text-align: center;
    }
    
    .advantage-icon {
        margin: 0 auto 1rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .team-image img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .service-card,
    .contact-card,
    .mission-card {
        margin-bottom: 1.5rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6960d;
}

/* 选中文本样式 */
::selection {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 加载状态 */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* 打印样式 */
@media print {
    .navbar,
    footer,
    .hero-buttons,
    .btn {
        display: none !important;
    }
    
    .page-header {
        margin-top: 0;
        padding: 2rem 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
} 