/* 轮播图区域 */
.banner {
    width: 100%;
    overflow: hidden;
    padding: 20px;
    background-color: #faf8f0;
}

.banner .box {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.banner .list {
    display: flex;
    height: 100%;
}

.banner .list li {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.banner .list li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播图按钮样式优化 */
.banner .btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.8);
    color: #333;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    opacity: 0;
}

.banner .box:hover .btn {
    opacity: 1;
}

.banner .prev {
    left: 20px;
}

.banner .next {
    right: 20px;
}

.banner .btn:hover {
    background: rgba(244,159,182,0.9);
    color: white;
}

/* 分页器样式优化 */
.banner .page {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner .page li {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner .page li.on {
    width: 20px;
    border-radius: 4px;
    background: #f49fb6;
}

/* 简介区域 */
.box1 {
    display: flex;
    align-items: stretch;
    padding: 10px 0;
    background-color: rgb(166, 224, 222);
    color: #f49fb6;
}

.box1 img {
    flex: 0 0 50%;
    max-width: 50%;
    height: 400px;
    object-fit: cover;
}

.box1_core {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    background-color: #FAF8F0;
    height: 400px;
    box-sizing: border-box;
}

.box1_core p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: auto;
}

.box1_core a {
    display: inline-block;
    padding: 12px 30px;
    background: #f49fb6;
    color: white;
    border-radius: 4px;
    align-self: center;
    margin-top: 20px;
}

/* 主要内容区域 */
main {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    color: #f49fb6;
    background-color:#FAF8F0;
}

main h1 {
    font-size: 36px;
    text-align: center;

}

main .text {
    font-size: 20px;
    font-style: italic;
    text-align: center;
    max-width: 800px;
}

.main_box {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 40px 0;
}

.main_box > div {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.main_box > div:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.main_box img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}

.main_box p {
    font-size: 18px;
    font-weight: 500;
}

main > a {
    display: inline-block;
    padding: 12px 30px;
    background: #f49fb6;
    color: white;
    border-radius: 4px;
}