/* 基本样式 */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
}

header.homepage-header {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

header.homepage-header h1 {
    font-size: 3rem;
    margin: 0;
}

header.homepage-header p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* 主内容区 */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
}

/* 每个板块样式 */
.section {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.section .image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
}

.section .text-overlay {
    z-index: 10;
    text-align: center;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.6;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section p {
    font-size: 1.2rem;
}

/* 动画效果 */
@keyframes float {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(0, -30px);
    }
    100% {
        transform: translate(0, 0);
    }
}

.image {
    animation: float 4s ease-in-out infinite;
}

/* 适配移动端 */
@media (max-width: 768px) {
    header.homepage-header h1 {
        font-size: 2rem;
    }

    .section .text-overlay h2 {
        font-size: 2rem;
    }

    .section .text-overlay p {
        font-size: 1rem;
    }
}
