/* 首页板块样式 */
.section-home {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 1;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: calc(2vh + 20px) 20px;
}

.logo-container {
    width: 100%;
    max-width: 500px;
    margin-top: calc(15vh + 50px);
}

.logo-image {
    width: 100%;
    height: auto;
    -webkit-user-drag: none;
}

.text-container {
    text-align: center;
    margin-bottom: calc(15vh + 50px);
}

.main-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #ffffff;
    white-space: nowrap;
    margin-bottom: 1em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.02em;
}

.sub-title {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: #ffffff;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.02em;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .logo-container {
        max-width: 80%;
        margin-top: calc(12vh + 30px);
    }
    
    .text-container {
        margin-bottom: calc(12vh + 30px);
    }
}

/* 横屏模式优化 */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .content-wrapper {
        padding: 10px;
    }
    
    .logo-container {
        margin-top: 30px;
        max-width: 40vh;
    }
    
    .text-container {
        margin-bottom: 30px;
    }
}

/* 超大屏幕优化 */
@media screen and (min-width: 1920px) {
    html {
        font-size: 18px;
    }
}

/* 确保在打印时背景图片可见 */
@media print {
    .section-home {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
