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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

a {
    text-decoration: none;
    color: #0056b3;
}

ul {
    list-style: none;
}

/* --- 导航栏样式 --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.navbar ul {
    display: flex;
}

.navbar ul li a {
    padding: 0.5rem 1rem;
    color: #333;
    transition: color 0.3s;
}

.navbar ul li a:hover, .navbar ul li a.active {
    color: #0056b3;
    border-bottom: 2px solid #0056b3;
}

/* --- 英雄区样式 (首页) --- */
.hero-section {
    position: relative;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.8;
}

.hero-content {
    text-align: center;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background: #0056b3;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #004494;
}

/* --- 服务区样式 (首页) --- */
.services-section {
    padding: 4rem 2rem;
    text-align: center;
    background: #fff;
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    flex: 1;
    max-width: 300px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* --- 关于页面样式 (about.html) --- */
.about-page {
    padding: 2rem;
    max-width: 800px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.team-member {
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid #0056b3;
}

/* --- 页脚样式 --- */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

/* --- 响应式设计 (基础版) --- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar ul {
        margin-top: 1rem;
        flex-direction: column;
        width: 100%;
    }

    .navbar ul li a {
        display: block;
        padding: 0.5rem 0;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }
}
 