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

/* 根变量定义 - 蓝色主色调 */
:root {
    --primary-color: #0066cc;
    --primary-light: #3399ff;
    --primary-dark: #004080;
    --secondary-color: #0099cc;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f5f8fa;
    --white: #ffffff;
    --border-color: #e0e6ed;
    --success-color: #00b42a;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* 基础样式 */
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 102, 204, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* 标题样式 */
.section-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
}

/* 导航栏样式 */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.navbar-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
}

/* 移动端菜单按钮 */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 10px;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar-item {
    position: relative;
}

.navbar-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    padding: 10px 0;
    position: relative;
}

.navbar-link:hover {
    color: var(--primary-color);
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-phone {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    gap: 10px;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    min-width: 200px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 10px 20px;
}

.dropdown-link {
    display: block;
    font-size: 14px;
    color: var(--text-color);
    transition: var(--transition);
}

.dropdown-link:hover {
    color: var(--primary-color);
    background-color: var(--bg-light);
}

/* Hero区域样式 */
.hero {
    position: relative;
    padding: 180px 0;
    background-image: linear-gradient(rgba(0, 102, 204, 0.85), rgba(0, 64, 128, 0.9)), url('https://picsum.photos/id/3/1920/1080');
    background-size: cover;
    background-position: center;
    color: var(--white);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.hero-feature-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.hero-feature-text p {
    font-size: 14px;
    opacity: 0.9;
}

.hero-consult {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 350px;
}

.hero-consult h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-align: center;
}

.consult-form input, 
.consult-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    transition: var(--transition);
}

.consult-form input:focus, 
.consult-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* 智慧档案馆解决方案区块 */
.solutions {
    background-color: var(--bg-light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: var(--primary-color);
}

.solution-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.solution-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* 多行业服务方案展示区块 */
.industries {
    position: relative;
}

.industries-container {
    display: flex;
    gap: 30px;
    align-items: center;
}

.industry-main {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 450px;
}

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

.industry-main:hover img {
    transform: scale(1.05);
}

.industry-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
    padding: 40px;
    color: var(--white);
}

.industry-main-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.industry-main-description {
    margin-bottom: 20px;
    opacity: 0.9;
}

.industry-nav {
    flex: 0 0 280px;
}

.industry-nav-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.industry-nav-list {
    list-style: none;
}

.industry-nav-item {
    margin-bottom: 10px;
}

.industry-nav-link {
    display: block;
    padding: 15px 20px;
    background-color: var(--white);
    border-radius: 4px;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.industry-nav-link:hover, 
.industry-nav-link.active {
    background-color: rgba(0, 102, 204, 0.05);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

/* 数字化档案管理服务优势区块 */
.advantages {
    background-color: var(--bg-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.advantage-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

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

.advantage-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: var(--primary-color);
}

.advantage-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

/* 我们的客户区块 */
.clients {
    background-color: var(--primary-dark);
    color: var(--white);
}

.clients .section-title {
    color: var(--white);
}

.clients .section-title::after {
    background-color: var(--white);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.client-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.client-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.client-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.client-name {
    font-size: 16px;
    font-weight: 500;
}

/* 关于志航档案与主营业务区块 */
.about {
    padding: 100px 0;
}

.about-container {
    display: flex;
    gap: 50px;
    margin-bottom: 80px;
    align-items: center;
}

.about-video {
    flex: 0 0 500px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.about-video img {
    width: 100%;
    display: block;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.video-play:hover {
    background-color: var(--primary-light);
    transform: translate(-50%, -50%) scale(1.1);
}

.about-content {
    flex: 1;
}

.about-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.businesses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.business-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    border-top: 4px solid var(--primary-color);
}

.business-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.business-list {
    list-style: none;
}

.business-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.business-item i {
    color: var(--success-color);
    margin-top: 5px;
}

/* 企业实力统计区块 */
.stats {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -25px;
    width: 1px;
    height: 80%;
    background-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-text {
    font-size: 16px;
    opacity: 0.9;
}

/* 新闻动态区块 */
.news {
    background-color: var(--bg-light);
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.news-tab {
    padding: 12px 30px;
    background-color: var(--white);
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-tab:hover, 
.news-tab.active {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
    transform: translateY(-2px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.news-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 400;
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.4;
    transition: color 0.3s ease;
    flex: 1;
}

.news-title:hover {
    color: var(--primary-color);
}

.news-content p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 10px;
    margin-top: 8px;
}

.news-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-top: 8px;
    display: inline-block;
}

.news-link:hover {
    color: var(--primary-dark);
}

/* 页脚区块 */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.footer-qrcode {
    margin: 20px 0;
    width: 120px;
    height: 120px;
    background-color: var(--white);
    border-radius: 8px;
    padding: 10px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .navbar-menu {
        gap: 20px;
    }
    
    .hero-consult {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 40px;
    }
    
    .hero-container {
        flex-direction: column;
    }
    
    .industries-container {
        flex-direction: column;
    }
    
    .industry-nav {
        flex: 1;
        width: 100%;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .about-video {
        flex: 1;
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 991px) {
    .section-title {
        font-size: 30px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .news-image {
        height: 160px;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }
    
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        border-top: 1px solid var(--border-color);
    }
    
    .navbar-menu.active {
        display: flex;
    }
    
    .navbar-item {
        width: 100%;
        text-align: center;
    }
    
    .navbar-link {
        display: block;
        padding: 15px 20px;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        padding: 0;
    }
    
    .dropdown-item {
        text-align: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .businesses {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .news-image {
        height: 140px;
    }
    
    .news-content {
        padding: 12px;
    }
    
    .news-title {
        font-size: 15px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-image {
        flex: 1;
        height: 200px;
    }
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* 悬停效果 */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* 渐变背景 */
.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* 阴影效果 */
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.shadow-md {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}