/* 全局样式 */
:root {
    --primary-color: #0055b8;
    --secondary-color: #004d99;
    --accent-color: #00a0e9;
    --highlight-color: #ffcc00;
    --text-color: #333333;
    --text-light: #666666;
    --light-text: #ffffff;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --gray-bg: #f0f0f0;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

h2 {
    font-size: 36px;
    position: relative;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

section {
    padding: 100px 0;
    position: relative;
}

/* 英雄区域样式 */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    overflow: hidden;
}

/* 视差背景 */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 关键属性：使背景固定 */
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
    line-height: 1.2;
}

/* 高亮标题样式和动画 */
.highlight-title {
    color: var(--highlight-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
    animation: titlePulse 2s infinite alternate, titleGlow 3s infinite;
}

@keyframes titlePulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 204, 0, 0.8), 0 0 30px rgba(255, 204, 0, 0.5);
    }
    100% {
        text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
    }
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
    opacity: 0.9;
}

/* 原则部分样式 */
.principles {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.principles-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.principles-content {
    flex: 1;
}

.principles-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.principles-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.principle-item {
    font-size: 20px;
    margin-bottom: 25px;
    padding: 20px 25px;
    background-color: var(--light-text);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: left;
    border-left: 4px solid var(--primary-color);
    transform: translateY(0);
}

.principle-item.highlighted {
    color: var(--primary-color);
    font-weight: 500;
}

.principle-item.highlighted strong {
    font-weight: 700;
}

/* 当鼠标悬停在图片上时，让文字浮动 */
.principles-image:hover ~ .principles-content .principle-item:nth-child(1) {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition-delay: 0s;
}

.principles-image:hover ~ .principles-content .principle-item:nth-child(2) {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition-delay: 0.1s;
}

.principles-image:hover ~ .principles-content .principle-item:nth-child(3) {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition-delay: 0.2s;
}

.principles-image:hover ~ .principles-content .principle-item:nth-child(4) {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition-delay: 0.3s;
}

/* 福利列表样式 */
.benefits {
    padding: 100px 0;
}

/* 透明背景样式 */
.transparent-bg {
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.transparent-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
    opacity: 0.9;
}

.transparent-bg h2 {
    color: var(--light-text);
    position: relative;
    z-index: 2;
}

/* 新的福利容器布局 */
.benefits-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.benefits-container > .benefits-list {
    width: 100%;
    display: flex;
    justify-content: center;
}

.benefits-title {
    text-align: center;
    color: var(--light-text);
    font-size: 36px;
    margin-bottom: 40px;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

/* 社区图片容器 */
.community-image-container {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.community-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 5px solid var(--light-text);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.community-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.community-image-text {
    color: var(--light-text);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* 新的福利容器布局 */
.benefits-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.benefits-list {
    flex: 1;
    position: relative;
    z-index: 2;
}

.benefit-box {
    background-color: var(--light-text);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 90%;
    max-width: 450px;
    margin: 0 auto;
    transform: scale(1);
    transform-origin: center top;
}

.benefit-image {
    text-align: center;
    margin-bottom: 12px;
}

.benefit-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

.benefit-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-points p {
    margin: 0;
    padding: 6px 0;
    font-size: 25px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

/* 福利图片样式 */
.benefits-image {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.benefits-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefits-image .community-image-text {
    margin-bottom: 15px;
    color: var(--light-text);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--light-text);
    padding: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.benefit-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 20px;
    line-height: 1;
}

.benefit-content {
    flex: 1;
}

.benefit-content h3 {
    font-size: 20px;
    margin-bottom: 0;
    color: var(--text-color);
}

/* 右侧悬浮按钮样式 */
.floating-band-btn {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.floating-band-btn a {
    display: block;
    transition: all 0.3s ease;
    background: transparent;
}

.floating-band-btn img {
    max-width: 80px;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    background: transparent;
}

.floating-band-btn a:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.4));
}

/* 底部图片链接样式 */
.bottom-image-link {
    text-align: center;
    padding: 50px 0;
    background-color: var(--light-bg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottom-image-link a {
    display: block;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.bottom-image-link img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.bottom-image-link a:hover img {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 页面导航链接样式 */
.page-navigation {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 0 50px;
    background-color: var(--light-bg);
}

.nav-link {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }
    
    .principles-wrapper {
        flex-direction: column;
    }
    
    .principles-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .floating-band-btn {
        right: 20px;
    }
    
    .floating-band-btn img {
        max-width: 70px;
    }
    
    .principle-item {
        font-size: 18px;
    }
    
    .benefits-header {
        flex-direction: column;
        text-align: center;
    }
    
    .benefits-header h2 {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .benefits-container {
        flex-direction: column;
    }
    
    .benefits-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .benefit-points p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    h2 {
        font-size: 30px;
    }
    
    .floating-band-btn {
        right: 15px;
    }
    
    .floating-band-btn img {
        max-width: 60px;
    }
    
    .principle-item {
        font-size: 16px;
        padding: 15px;
    }
    
    .benefits-list {
        flex-direction: column;
    }
    
    .bottom-image-link img {
        max-width: 90%;
    }
    
    .community-image {
        width: 200px;
        height: 200px;
    }
    
    .community-image-text {
        font-size: 16px;
    }
    
    .benefit-points p {
        font-size: 15px;
        padding: 4px 0;
    }
    
    .benefit-box {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .benefit-item {
        padding: 20px;
    }
    
    .benefit-number {
        font-size: 30px;
    }
    
    .benefit-content h3 {
        font-size: 18px;
    }
    
    .floating-band-btn img {
        max-width: 50px;
    }
    
    .bottom-image-link img {
        max-width: 95%;
    }
    
    .page-navigation {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .community-image {
        width: 180px;
        height: 180px;
    }
    
    .community-image-text {
        font-size: 14px;
    }
}