/* Hero Section */
.hero-section {
    position: relative;
    /* background-size: cover;  <-- 删除或注释 */
    /* background-position: center; <-- 删除或注释 */
    min-height: var(--hero-min-height, 600px);
    display: flex;
    align-items: center;
    color: #fff;
    padding: var(--spacing-xxl) 0;
    overflow: hidden;
    /* 新增：防止图片溢出 */
}

/* 新增：背景图片样式 */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* 确保遮罩层在图片之上 */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(19, 30, 74, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    color: #fff;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-section {
        min-height: 500px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-section {
        min-height: var(--hero-mobile-min-height, 400px);
        padding: var(--spacing-lg) 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}