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

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

a {
    text-decoration: none;
    color: inherit;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.navbar-item {
    margin-left: 2rem;
}

.navbar-link {
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-link:hover {
    color: #e53e3e;
}

.navbar-toggle {
    display: none;
    cursor: pointer;
}

/* 页脚样式 */
.footer {
    background-color: #1a365d;
    color: #fff;
    padding: 3rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-about,
.footer-links,
.footer-contact {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e53e3e;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
}

/* 首屏区域样式 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f7fafc;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('/home/user/vibecoding/workspace/huizhoubaishun/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-container {
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: #1a365d;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

.hero-cta {
    display: inline-block;
    background-color: #e53e3e;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.hero-cta:hover {
    background-color: #c53030;
}

/* 内容区域通用样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a365d;
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 卡片样式 */
.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.card-text {
    color: #4a5568;
    margin-bottom: 1rem;
}

.card-cta {
    display: inline-block;
    color: #e53e3e;
    font-weight: bold;
    transition: color 0.3s;
}

.card-cta:hover {
    color: #c53030;
}

/* 网格布局 */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.3s, opacity 0.3s;
    }

    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .navbar-item {
        margin: 1rem 0;
    }

    .navbar-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* 图片懒加载 */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}

/* 表单样式 */
.form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #1a365d;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #e53e3e;
}

.form-textarea {
    height: 150px;
    resize: vertical;
}

.form-button {
    display: inline-block;
    background-color: #e53e3e;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-button:hover {
    background-color: #c53030;
}

/* 列表样式 */
.list {
    list-style: none;
}

.list-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.list-item:last-child {
    border-bottom: none;
}

.list-title {
    font-weight: bold;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.list-text {
    color: #4a5568;
}

/* 徽章样式 */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: #e2e8f0;
    color: #4a5568;
    border-radius: 5px;
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

/* 分隔线样式 */
.divider {
    height: 1px;
    background-color: #e2e8f0;
    margin: 2rem 0;
}