/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* 滚动后的头部样式 */
header.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* 非首页的头部样式 */
header.not-home {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 15px;
    filter: brightness(0) invert(1);
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav a:hover,
nav a.active {
    color: #4fc3f7;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4fc3f7;
    transition: width 0.3s;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* 主内容区域 */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* 轮播图样式 */
.hero-banner {
    position: relative;
    height: 661px;
    overflow: hidden;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(13 13 13 / 76%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #1981ff;
    color: white;
    text-decoration: none;
    border-radius: 54px;
    transition: all 0.3s;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #ee5a52;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #2c5aa0;
    color: #2c5aa0;
}

.btn-outline:hover {
    background-color: #2c5aa0;
    color: white;
}

/* 版块样式 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    /* margin-bottom: 60px; */
    margin: 40px;
}

.section-title h2 {
    font-size: 36px;
    color: #2c5aa0;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 服务卡片 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c5aa0;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* 服务卡片中的列表样式 */
.service-card ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    text-align: left;
}

.service-card ul li {
    position: relative;
    padding: 8px 0 8px 25px;
    color: #666;
    line-height: 1.5;
}

.service-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: #2c5aa0;
    font-weight: bold;
    font-size: 14px;
}

/* 新闻列表 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.news-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c5aa0;
    flex-shrink: 0;
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.read-more {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    margin-top: auto;
    align-self: flex-start;
}

.read-more:hover {
    color: #1e3d6f;
}

/* 公司信息 */
.company-info {
    background: #f8f9fa;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-card h3 {
    color: #2c5aa0;
    margin-bottom: 20px;
    font-size: 20px;
}

.info-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.info-card i {
    color: #2c5aa0;
    margin-right: 10px;
    width: 20px;
}

/* 关于我们页面 */
.about-hero {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.9), rgba(118, 75, 162, 0.9)), url('../img/office-730681_1280.jpg') center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.about-hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 18px;
    max-width: 600px;
}

.about-content {
    padding: 80px 0;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    color: #2c5aa0;
    margin-bottom: 30px;
    font-size: 32px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

/* 新闻详情页 */
.news-detail {
    padding: 40px 0;
}

.news-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.news-header h1 {
    font-size: 32px;
    color: #2c5aa0;
    margin-bottom: 15px;
}

.news-header .meta {
    color: #999;
    font-size: 14px;
}

.news-body {
    max-width: 800px;
    margin: 0 auto;
}

.news-body img {
    width: 100%;
    margin: 20px 0;
    border-radius: 5px;
}

.news-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
}

.news-body h3 {
    color: #2c5aa0;
    margin: 30px 0 15px;
    font-size: 20px;
}

/* 页脚 */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-section p,
.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #95a5a6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .banner-content {
        padding: 0 30px;
    }
    
    .banner-content h1 {
        font-size: 32px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .services-grid,
    .news-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* 图标样式 */
.icon {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 15px 0;
    margin-top: 80px;
}

.breadcrumb-nav {
    color: #666;
    font-size: 14px;
}

.breadcrumb-nav a {
    color: #2c5aa0;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

/* 页面标题区域背景 */
.page-hero {
    background: linear-gradient(rgba(13, 13, 13, 0.76), rgba(13, 13, 13, 0.76)), url('../img/banner4.jpg') center/cover;
    padding: 120px 0 80px;
    color: white;
}

.page-hero .section-title {
    margin: 0;
}

.page-hero .section-title h1,
.page-hero .section-title h2 {
    color: white;
    font-size: 42px;
    margin-bottom: 20px;
}

.page-hero .section-title p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
} 