@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&display=swap');

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #495057;
}

.container {
    max-width: 960px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

header {
    background: #ffffff;
    color: #333;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 960px;
    margin: auto;
}

nav a.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #007bff;
    text-decoration: none;
}

nav ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

nav ul li {
    display: inline;
    margin-left: 25px;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #007bff;
}

main section {
    padding: 60px 20px;
    border-bottom: 1px solid #e9ecef;
}

main section:last-child {
    border-bottom: none;
}

#hero {
    padding: 0;
    max-height: 500px; /* 限制 hero 区域的最大高度 */
    overflow: hidden; /* 隐藏超出部分 */
}

#hero img {
    width: 100%;
    height: auto;
    object-fit: cover; /* 保持图片比例并填充容器 */
    max-height: 500px;
}

#services .service-item {
    background: #ffffff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#services .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

#services h3 {
    color: #007bff;
}

footer {
    text-align: center;
    padding: 40px 20px;
    background: #343a40;
    color: #f8f9fa;
}

footer a {
    color: #00aaff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}