/* ===== 英雄区（全屏宽度） ===== */
.hero {
    position: relative;
    width: 100%;           /* 撑满视口宽度 */
    height: 75vh;
    min-height: 400px;
    background: url('/images/background1.jpg') center 55% / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* margin-left: calc(-50vw + 50%); */
}

/* 遮罩层（已去除虚化） */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-title-box {
    display: inline-block;
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    color: #bbddbb;
    text-shadow: 
        0 0 20px rgba(0,0,0,0.6),
        0 4px 40px rgba(0,0,0,0.3);
    letter-spacing: 4px;
}

.hero-sub {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
    margin-top: 16px;
    min-height: 3rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: #ffffff;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0.9;
    animation: bounceDown 2s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(to right, #f5e6aa 0%, #f5e6aa 16.66%, #bed7aa 16.66%, #bed7aa 33.33%, #a5cdaf 33.33%, #a5cdaf 50%, #91c8c3 50%, #91c8c3 66.66%, #afcdd1 66.66%, #afcdd1 83.33%, #f5e6aa 83.33%, #f5e6aa 100%);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.06);
}
.scroll-arrow {
    font-size: 22px;
    line-height: 1;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== 下方内容区（在 blog-main 内，受宽度限制） ===== */
.home-content {
    max-width: 1000px;
    margin: 48px auto 0;
    padding: 60px 48px 40px;
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 -8px 32px rgba(26, 42, 74, 0.06);
    position: relative;
    z-index: 3;
}

/* ===== 响应式 ===== */
@media (max-width: 640px) {
    .hero {
        height: 60vh;
        min-height: 300px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-sub {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    .home-content {
        padding: 40px 24px 30px;
        margin-top: -20px;
        border-radius: 24px 24px 0 0;
    }
    .hero-scroll-indicator {
        display: none;
    }
}