/*
Theme Name: Twenty Twenty-Five Child - 泓大咨询
Theme URI: https://hongdaconsulting.com
Description: 泓大咨询企业网站子主题
Author: 泓大咨询
Author URI: https://hongdaconsulting.com
Template: twentytwentyfive
Version: 1.0
*/

/* 导入父主题样式 */
@import url("../twentytwentyfive/style.css");

/* 自定义样式 */
:root {
    --primary-color: #2563eb; /* 主蓝色 */
    --primary-dark: #1d4ed8; /* 深蓝色 */
    --primary-light: #3b82f6; /* 浅蓝色 */
    --secondary-color: #f8fafc;
    --accent-color: #f59e0b; /* 强调色-琥珀色 */
    --text-dark: #1e293b;
    --text-light: #64748b;
}

body {
    font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
    color: var(--text-dark);
}

.hero-section {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(29, 78, 216, 0.9) 100%), 
                url('images/hero-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 150px 0;
    text-align: center;
    position: relative;
}

.section-padding {
    padding: 80px 0;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 60px 0 30px;
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
}

.navbar {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--text-dark);
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    bottom: -15px;
    left: 20%;
    border-radius: 2px;
}

.news-card img, .service-icon {
    height: 200px;
    object-fit: cover;
}

.service-item {
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-info {
    padding: 25px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.bg-primary-light {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    margin-right: 15px;
}

.logo-footer {
    height: 40px;
    margin-right: 10px;
}

.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/pattern.png') center/cover;
    opacity: 0.1;
}

.stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff, #e0f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.badge.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
}

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

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 8px;
    border-radius: 8px;
    transition: all 0.3s;
    padding: 8px 16px !important;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(245, 158, 11, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.consulting-process {
    position: relative;
}

.process-step {
    position: relative;
    text-align: center;
    padding: 30px;
}

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 20%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 1;
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .process-step:not(:last-child):after {
        display: none;
    }
}