/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", sans-serif;
}
body {
    background-color: #fff;
    color: #333;
}

/* 导航栏（合理简洁） */
header {
    width: 100%;
    height: 55px;
    background-color: #fff;
    border-bottom: 1px solid #e8f4ff;
    position: fixed;
    top: 0;
    z-index: 99;
}
.nav {
    width: 1000px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    color: #66b1ff; /* 淡蓝色logo，贴合儿童清新风格 */
    font-size: 22px;
    font-weight: bold;
}
.nav-list {
    display: flex;
    list-style: none;
}
.nav-list li {
    margin-left: 30px;
}
.nav-list a {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}
.nav-list a.active, .nav-list a:hover {
    color: #66b1ff;
}

/* 主体内容（居中布局，浏览方便） */
main {
    width: 1000px;
    margin: 75px auto 50px;
    min-height: 500px;
}

/* 首页样式（页面美观，突出儿童照片） */
.banner {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}
.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.intro {
    text-align: center;
    margin-bottom: 30px;
}
.intro h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}
.intro p {
    color: #777;
    font-size: 15px;
}
.works-preview {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.preview-card {
    width: 230px;
}
.preview-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.preview-card p {
    text-align: center;
    margin-top: 8px;
    color: #555;
    font-size: 14px;
}

/* 作品展示页样式（图片统一，布局整齐） */
.works-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 5px;
    border-bottom: 1px solid #66b1ff;
}
.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.work-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.work-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.work-card p {
    padding: 12px;
    color: #555;
    font-size: 16px;
    background-color: #f9f9f9;
}

/* 关于网站页样式（无本人信息，简洁说明） */
.about-box {
    padding: 30px;
    border: 1px solid #e8f4ff;
    border-radius: 8px;
    background-color: #f9f9f9;
}
.about-box h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #66b1ff;
}
.about-box p {
    color: #777;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* 联系页样式（表单简洁，功能完整） */
.contact-form {
    width: 600px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid #e8f4ff;
    border-radius: 8px;
    background-color: #f9f9f9;
}
.contact-form h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 5px;
    border-bottom: 1px solid #66b1ff;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    color: #555;
    margin-bottom: 8px;
    font-size: 16px;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    background-color: #fff;
}
.form-group textarea {
    height: 120px;
    resize: none;
}
.submit-btn {
    padding: 10px 30px;
    background-color: #66b1ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.submit-btn:hover {
    background-color: #4aa0ff;
}