/* 确保导航栏链接样式 */
.nav-link {
    @apply text-gray-700 hover:text-blue-600 font-medium transition;
}

/* 修复后的 Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh; /* 稍微增加高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* 默认底色，防止图片加载失败时全白 */
    background-color: #1a365d; 
}

/* 背景图层 */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* 黑色遮罩层：这是解决“乱七八糟”和看不清文字的关键 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 50% 黑色半透明 */
    z-index: 2;
}

/* 文字内容层 */
.hero-content {
    position: relative;
    z-index: 10; /* 确保在遮罩层之上 */
    padding: 0 20px;
}

/* 导航栏修正 */
.nav-glass {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 100; /* 最高层级 */
}

.nav-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}