/* 全局样式 */
:root {
    --primary-color: #0056b3;
    --secondary-color: #17a2b8;
    --accent-color: #ffc107;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* 预加载器样式 */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#preloader .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.navbar-brand img {
    height: 40px;
}

.navbar-scrolled {
    background-color: #fff !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Hero 区域 */
.hero {
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.9) 0%, rgba(23, 162, 184, 0.9) 100%), url('https://source.unsplash.com/random/1920x1080/?technology') center/cover no-repeat;
    color: white;
    padding: 100px 0;
    position: relative;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* 服务区域 */
.services {
    padding: 80px 0;
    background-color: var(--light-color);
}

.service-box {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
}

.service-box.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* 关于我们 */
.about {
    padding: 80px 0;
}

.about img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 优势区域 */
.advantages {
    padding: 80px 0;
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
}

.advantage-item {
    display: flex;
    margin-bottom: 30px;
}

.advantage-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 20px;
}

/* 团队区域 */
.team {
    padding: 80px 0;
}

.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

/* 联系我们 */
.contact {
    padding: 80px 0;
    background-color: var(--light-color);
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 10px;
}

/* 底部区域 */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
}

footer h5 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

footer ul li a:hover {
    color: white;
    text-decoration: none;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}
